Builds up dictionaries and write record batches.
Builds up dictionaries and write record batches. Dictionaries are encoded as deltas to minimize redundant messages.
Writes an arrow file of simple features.
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
For reading simple features from an arrow file written by SimpleFeatureArrowFileWriter.
For reading simple features from an arrow file written by SimpleFeatureArrowFileWriter.
Expects arrow streaming format (no footer). Can handle multiple 'files' in a single input stream
For writing simple features to an arrow file.
For writing simple features to an arrow file.
Uses arrow streaming format (no footer). Closing the SimpleFeatureArrowFileWriter closes the given os.
Create an arrow file from record batches
Create an arrow file from record batches
simple feature type
dictionaries
feature encoding
sorting of the batches, if any
batches
does the first batch have the arrow file header or not
Creates a vector schema root for the given vector
Creates a vector schema root for the given vector
vector
field metadata
Create a transfer pair between two vectors.
Create a transfer pair between two vectors. This handles geometry vectors correctly, which the underlying arrow transfer pairs do not.
from vector
to vector
transfer(fromIndex, toIndex)
Creates metadata for sort fields
Creates metadata for sort fields
sort field
reverse sorted or not
metadata map
Checks schema metadata for sort fields
Checks schema metadata for sort fields
schema metadata
(sort field, reverse sorted or not)
Write out the header, dictionaries, and first batch of an arrow streaming file
Write out the header, dictionaries, and first batch of an arrow streaming file
vector loaded with first batch
dictionaries
sort
number of records in first batch