Class/Object

org.locationtech.geomesa.arrow.io

DeltaWriter

Related Docs: object DeltaWriter | package io

Permalink

class DeltaWriter extends Closeable with StrictLogging

Builds up dictionaries and write record batches. Dictionaries are encoded as deltas to minimize redundant messages.

Linear Supertypes
StrictLogging, Closeable, AutoCloseable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DeltaWriter
  2. StrictLogging
  3. Closeable
  4. AutoCloseable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DeltaWriter(sft: SimpleFeatureType, dictionaryFields: Seq[String], encoding: SimpleFeatureEncoding, sort: Option[(String, Boolean)], initialCapacity: Int)(implicit allocator: BufferAllocator)

    Permalink

    sft

    simple feature type

    dictionaryFields

    dictionary fields

    encoding

    simple feature encoding

    sort

    sort

    initialCapacity

    initial allocation size, will expand if needed

    allocator

    buffer allocator

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def close(): Unit

    Permalink

    Close the writer

    Close the writer

    Definition Classes
    DeltaWriter → Closeable → AutoCloseable
  7. def encode(features: Array[SimpleFeature], count: Int): Array[Byte]

    Permalink

    Writes out a record batch.

    Writes out a record batch. Format is:

    8 bytes long - threading key (foreach dictionaryField) -> { 4 byte int - length of dictionary batch anyref vector batch with dictionary delta values } 4 byte int - length of record batch record batch (may be dictionary encodings)

    Note: will sort the feature array in place if sorting is defined

    features

    features to write

    count

    number of features to write, starting from array index 0

    returns

    serialized record batch

  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    StrictLogging
  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. def reset(): Unit

    Permalink

    Clear any existing dictionary values

  19. val sft: SimpleFeatureType

    Permalink

    simple feature type

  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  21. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  22. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from StrictLogging

Inherited from Closeable

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped