Object

org.locationtech.geomesa.arrow.io

SimpleFeatureArrowIO

Related Doc: package io

Permalink

object SimpleFeatureArrowIO extends LazyLogging

Linear Supertypes
LazyLogging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SimpleFeatureArrowIO
  2. LazyLogging
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

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. object Metadata

    Permalink
  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 createFile(vector: SimpleFeatureVector, sort: Option[(String, Boolean)], body: CloseableIterator[Array[Byte]]): CloseableIterator[Array[Byte]]

    Permalink

    Creates an arrow streaming format file

    Creates an arrow streaming format file

    vector

    simple feature vector, used for arrow metadata and dictionaries

    sort

    sort

    body

    record batches

  8. def createFile(sft: SimpleFeatureType, dictionaries: Map[String, ArrowDictionary], encoding: SimpleFeatureEncoding, sort: Option[(String, Boolean)], body: CloseableIterator[Array[Byte]]): CloseableIterator[Array[Byte]]

    Permalink

    Creates an arrow streaming format file

    Creates an arrow streaming format file

    sft

    simple feature type

    dictionaries

    dictionaries (note: do not get closed)

    encoding

    simple feature encoding

    sort

    sort

    body

    record batches

  9. def createRoot(vector: FieldVector, metadata: Map[String, String] = null): VectorSchemaRoot

    Permalink

    Creates a vector schema root for the given vector

    Creates a vector schema root for the given vector

    vector

    vector

    metadata

    field metadata

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. def getSortAsMetadata(field: String, reverse: Boolean): Map[String, String]

    Permalink

    Creates metadata for sort fields

    Creates metadata for sort fields

    field

    sort field

    reverse

    reverse sorted or not

    returns

    metadata map

  15. def getSortFromMetadata(metadata: Map[String, String]): Option[(String, Boolean)]

    Permalink

    Checks schema metadata for sort fields

    Checks schema metadata for sort fields

    metadata

    schema metadata

    returns

    (sort field, reverse sorted or not)

  16. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  18. lazy val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    LazyLogging
  19. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  22. def reduceBatches(sft: SimpleFeatureType, dictionaries: Map[String, ArrowDictionary], encoding: SimpleFeatureEncoding, sort: Option[(String, Boolean)], batchSize: Int, batches: CloseableIterator[Array[Byte]]): CloseableIterator[Array[Byte]]

    Permalink

    Reduce function for batches with a common dictionary

    Reduce function for batches with a common dictionary

    sft

    simple feature type

    dictionaries

    dictionaries

    encoding

    simple feature encoding

    sort

    sort

    batchSize

    batch size

    batches

    record batches

  23. def reduceFiles(sft: SimpleFeatureType, dictionaryFields: Seq[String], encoding: SimpleFeatureEncoding, sort: Option[(String, Boolean)], files: CloseableIterator[Array[Byte]]): CloseableIterator[Array[Byte]]

    Permalink

    Reduce function for concatenating separate arrow files

    Reduce function for concatenating separate arrow files

    sft

    simple feature type

    dictionaryFields

    dictionary fields

    encoding

    simple feature encoding

    sort

    sort

    files

    full logical arrow files encoded in arrow streaming format

  24. def sortBatches(sft: SimpleFeatureType, dictionaries: Map[String, ArrowDictionary], encoding: SimpleFeatureEncoding, sort: (String, Boolean), batchSize: Int, iter: CloseableIterator[Array[Byte]]): CloseableIterator[Array[Byte]]

    Permalink

    Sorts record batches.

    Sorts record batches. Batches are assumed to be already sorted.

    sft

    simple feature type

    dictionaries

    dictionaries

    encoding

    encoding options

    sort

    attribute to sort by, assumed to be comparable, and whether sort is reversed or not

    batchSize

    batch size

    iter

    iterator of batches

    returns

    iterator of sorted batches

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

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

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

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

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

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

Deprecated Value Members

  1. def createFile(sft: SimpleFeatureType, dictionaries: Map[String, ArrowDictionary], encoding: SimpleFeatureEncoding, sort: Option[(String, Boolean)])(body: CloseableIterator[Array[Byte]])(implicit allocator: BufferAllocator): CloseableIterator[Array[Byte]]

    Permalink
    Annotations
    @deprecated
    Deprecated

    Use method without allocator

  2. def createFile(vector: SimpleFeatureVector, sort: Option[(String, Boolean)])(body: CloseableIterator[Array[Byte]])(implicit allocator: BufferAllocator): CloseableIterator[Array[Byte]]

    Permalink
    Annotations
    @deprecated
    Deprecated

    Use without allocator

  3. def reduceBatches(sft: SimpleFeatureType, dictionaries: Map[String, ArrowDictionary], encoding: SimpleFeatureEncoding, sort: Option[(String, Boolean)], batchSize: Int)(batches: CloseableIterator[Array[Byte]])(implicit allocator: BufferAllocator): CloseableIterator[Array[Byte]]

    Permalink
    Annotations
    @deprecated
    Deprecated

    Use method without allocator

  4. def reduceFiles(sft: SimpleFeatureType, dictionaryFields: Seq[String], encoding: SimpleFeatureEncoding, sort: Option[(String, Boolean)])(files: CloseableIterator[Array[Byte]])(implicit allocator: BufferAllocator): CloseableIterator[Array[Byte]]

    Permalink
    Annotations
    @deprecated
    Deprecated

    Use method without allocator

  5. def sortBatches(sft: SimpleFeatureType, dictionaries: Map[String, ArrowDictionary], encoding: SimpleFeatureEncoding, sortBy: String, reverse: Boolean, batchSize: Int, iter: CloseableIterator[Array[Byte]])(implicit allocator: BufferAllocator): CloseableIterator[Array[Byte]]

    Permalink
    Annotations
    @deprecated
    Deprecated

    Use method without allocator

Inherited from LazyLogging

Inherited from AnyRef

Inherited from Any

Ungrouped