Class

org.locationtech.geomesa.arrow.io

SimpleFeatureArrowFileWriter

Related Doc: package io

Permalink

class SimpleFeatureArrowFileWriter extends Closeable with Flushable

For writing simple features to an arrow file.

Uses arrow streaming format (no footer).

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

Instance Constructors

  1. new SimpleFeatureArrowFileWriter(sft: SimpleFeatureType, os: OutputStream, dictionaries: Map[String, ArrowDictionary] = Map.empty, encoding: SimpleFeatureEncoding = SimpleFeatureEncoding.min(false), sort: Option[(String, Boolean)] = None)(implicit allocator: BufferAllocator)

    Permalink

    sft

    simple feature type

    os

    output stream

    dictionaries

    map of field names to dictionary values, used for dictionary encoding fields. All values must be provided up front.

    encoding

    encoding options

    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. def add(sf: SimpleFeature): Unit

    Permalink

    Buffer a feature to write

    Buffer a feature to write

    sf

    simple feature

  5. final def asInstanceOf[T0]: T0

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

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

    Permalink

    Close the writer and flush any buffered features

    Close the writer and flush any buffered features

    Definition Classes
    SimpleFeatureArrowFileWriter → Closeable → AutoCloseable
  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. def flush(): Unit

    Permalink

    Writs any currently buffered features to disk.

    Writs any currently buffered features to disk. This will create an ArrowBatch containing the currently buffered features.

    Definition Classes
    SimpleFeatureArrowFileWriter → Flushable
  12. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    Any
  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. val sft: SimpleFeatureType

    Permalink

    simple feature type

  19. def start(): Unit

    Permalink

    Start writing - this will write the schema and any dictionaries.

    Start writing - this will write the schema and any dictionaries. Optional operation, adding a feature or closing the writer will automatically start if needed.

  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 Flushable

Inherited from Closeable

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped