class DeltaAggregate extends ArrowAggregate
Returns batches of [threading key][dictionary deltas][record batch]. Will sort each batch, but not between batches.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- DeltaAggregate
- ArrowAggregate
- Result
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
DeltaAggregate(sft: SimpleFeatureType, dictionaryFields: Seq[String], encoding: SimpleFeatureEncoding, ipcOpts: IpcOption, sort: Option[(String, Boolean)], batchSize: Int)
- sft
simple feature type
- dictionaryFields
dictionary fields
- encoding
arrow encoding
- sort
sort field, sort reverse
- batchSize
batch size
Value Members
-
def
aggregate(sf: SimpleFeature): Int
Aggregate a feature.
Aggregate a feature. May be called anytime after
init
- sf
simple feature
- returns
number of entries aggregated
- Definition Classes
- DeltaAggregate → Result
-
def
cleanup(): Unit
Dispose of any resources used by the scan.
Dispose of any resources used by the scan. If the result is re-used,
init
will be called again before anything else- Definition Classes
- DeltaAggregate → Result
-
def
encode(): Array[Byte]
Encode current aggregation and reset the result.
Encode current aggregation and reset the result. May be called anytime after
init
- Definition Classes
- DeltaAggregate → Result
-
def
init(): Unit
Initialize the result for a scan
Initialize the result for a scan
- Definition Classes
- DeltaAggregate → Result