Packages

class DeltaAggregate extends ArrowAggregate

Returns batches of [threading key][dictionary deltas][record batch]. Will sort each batch, but not between batches.

Linear Supertypes
ArrowAggregate, Result, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DeltaAggregate
  2. ArrowAggregate
  3. Result
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. 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

  1. 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
    DeltaAggregateResult
  2. 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
    DeltaAggregateResult
  3. 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
    DeltaAggregateResult
  4. def init(): Unit

    Initialize the result for a scan

    Initialize the result for a scan

    Definition Classes
    DeltaAggregateResult