c
org.locationtech.geomesa.arrow.io
DictionaryBuildingWriter
Companion object DictionaryBuildingWriter
class DictionaryBuildingWriter extends Closeable
Writes an arrow file of simple features. Dictionaries will be built up as features are observed.
Dictionaries are encoded based on maxSize. Values will not be correctly encoded if
more than maxSize distinct values are encountered
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- DictionaryBuildingWriter
- Closeable
- AutoCloseable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
DictionaryBuildingWriter(sft: SimpleFeatureType, dictionaries: Seq[String], encoding: SimpleFeatureEncoding, ipcOpts: IpcOption, maxSize: Int = Short.MaxValue)
- sft
simple feature type
- dictionaries
dictionary fields
- encoding
vector encoding
- maxSize
max size for dictionaries, will be used to pick the encoding for dictionary values
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def add(feature: SimpleFeature): Unit
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clear(): Unit
Clear any simple features currently stored in the vector
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
close(): Unit
- Definition Classes
- DictionaryBuildingWriter → Closeable → AutoCloseable
-
def
encode(os: OutputStream): Unit
Writes out as a stand-alone streaming arrow file, including current dictionary values
Writes out as a stand-alone streaming arrow file, including current dictionary values
- os
output stream to write to
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def size: Int
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated