Package | Description |
---|---|
org.apache.arrow.vector | |
org.apache.arrow.vector.ipc | |
org.apache.arrow.vector.util |
Modifier and Type | Method and Description |
---|---|
static VectorSchemaRoot |
VectorSchemaRoot.create(Schema schema,
BufferAllocator allocator)
Creates a new set of empty vectors corresponding to the given schema.
|
static VectorSchemaRoot |
VectorSchemaRoot.of(FieldVector... vectors)
Constructs a new instance from vectors.
|
Constructor and Description |
---|
VectorLoader(VectorSchemaRoot root)
Construct with a root to load and will create children in root based on schema.
|
VectorUnloader(VectorSchemaRoot root)
Constructs a new instance of the given set of vectors.
|
VectorUnloader(VectorSchemaRoot root,
boolean includeNullCount,
boolean alignBuffers)
Constructs a new instance.
|
Modifier and Type | Method and Description |
---|---|
VectorSchemaRoot |
ArrowReader.getVectorSchemaRoot()
Returns the vector schema root.
|
VectorSchemaRoot |
JsonFileReader.read()
Returns the next record batch from the file.
|
Modifier and Type | Method and Description |
---|---|
boolean |
JsonFileReader.read(VectorSchemaRoot root)
Reads the next record batch from the file into
root . |
void |
JsonFileWriter.write(VectorSchemaRoot recordBatch)
Writes the record batch to the JSON file.
|
Constructor and Description |
---|
ArrowFileWriter(VectorSchemaRoot root,
DictionaryProvider provider,
WritableByteChannel out) |
ArrowFileWriter(VectorSchemaRoot root,
DictionaryProvider provider,
WritableByteChannel out,
IpcOption option) |
ArrowStreamWriter(VectorSchemaRoot root,
DictionaryProvider provider,
OutputStream out)
Construct an ArrowStreamWriter with an optional DictionaryProvider for the OutputStream.
|
ArrowStreamWriter(VectorSchemaRoot root,
DictionaryProvider provider,
WritableByteChannel out)
Construct an ArrowStreamWriter with an optional DictionaryProvider for the WritableByteChannel.
|
ArrowStreamWriter(VectorSchemaRoot root,
DictionaryProvider provider,
WritableByteChannel out,
IpcOption option)
Construct an ArrowStreamWriter with an optional DictionaryProvider for the WritableByteChannel.
|
ArrowWriter(VectorSchemaRoot root,
DictionaryProvider provider,
WritableByteChannel out) |
ArrowWriter(VectorSchemaRoot root,
DictionaryProvider provider,
WritableByteChannel out,
IpcOption option)
Note: fields are not closed when the writer is closed.
|
Modifier and Type | Method and Description |
---|---|
static void |
Validator.compareVectorSchemaRoot(VectorSchemaRoot root1,
VectorSchemaRoot root2)
Validate two arrow vectorSchemaRoot are equal.
|
Copyright © 2019 The Apache Software Foundation. All rights reserved.