Uses of Class
org.apache.arrow.vector.VectorSchemaRoot
Packages that use VectorSchemaRoot
Package
Description
-
Uses of VectorSchemaRoot in org.apache.arrow.adapter.avro
Methods in org.apache.arrow.adapter.avro that return VectorSchemaRoot -
Uses of VectorSchemaRoot in org.apache.arrow.adapter.avro.consumers
Methods in org.apache.arrow.adapter.avro.consumers with parameters of type VectorSchemaRootModifier and TypeMethodDescriptionvoid
CompositeAvroConsumer.resetConsumerVectors
(VectorSchemaRoot root) Reset vector of consumers with the givenVectorSchemaRoot
. -
Uses of VectorSchemaRoot in org.apache.arrow.adapter.jdbc
Methods in org.apache.arrow.adapter.jdbc that return VectorSchemaRootMethods in org.apache.arrow.adapter.jdbc with parameters of type VectorSchemaRootModifier and TypeMethodDescriptionstatic JdbcParameterBinder.Builder
JdbcParameterBinder.builder
(PreparedStatement statement, VectorSchemaRoot root) Initialize a binder with a builder.static void
JdbcToArrowUtils.jdbcToArrowVectors
(ResultSet rs, VectorSchemaRoot root, Calendar calendar) Iterate the given JDBCResultSet
object to fetch the data and transpose it to populate the given Arrow Vector objects.static void
JdbcToArrowUtils.jdbcToArrowVectors
(ResultSet rs, VectorSchemaRoot root, JdbcToArrowConfig config) Iterate the given JDBCResultSet
object to fetch the data and transpose it to populate the given Arrow Vector objects. -
Uses of VectorSchemaRoot in org.apache.arrow.adapter.jdbc.consumer
Methods in org.apache.arrow.adapter.jdbc.consumer with parameters of type VectorSchemaRootModifier and TypeMethodDescriptionvoid
CompositeJdbcConsumer.resetVectorSchemaRoot
(VectorSchemaRoot root) Reset inner consumers through vectors in the vector schema root. -
Uses of VectorSchemaRoot in org.apache.arrow.driver.jdbc
Methods in org.apache.arrow.driver.jdbc with parameters of type VectorSchemaRootModifier and TypeMethodDescriptionArrowFlightJdbcVectorSchemaRootResultSet.fromVectorSchemaRoot
(VectorSchemaRoot vectorSchemaRoot) Instantiate a ResultSet backed up by given VectorSchemaRoot.Constructors in org.apache.arrow.driver.jdbc with parameters of type VectorSchemaRoot -
Uses of VectorSchemaRoot in org.apache.arrow.driver.jdbc.client
Methods in org.apache.arrow.driver.jdbc.client with parameters of type VectorSchemaRootModifier and TypeMethodDescriptionvoid
ArrowFlightSqlClientHandler.PreparedStatement.setParameters
(VectorSchemaRoot parameters) -
Uses of VectorSchemaRoot in org.apache.arrow.driver.jdbc.utils
Methods in org.apache.arrow.driver.jdbc.utils that return VectorSchemaRootModifier and TypeMethodDescriptionVectorSchemaRootTransformer.transform
(VectorSchemaRoot originalRoot, VectorSchemaRoot transformedRoot) Methods in org.apache.arrow.driver.jdbc.utils with parameters of type VectorSchemaRootModifier and TypeMethodDescriptionVectorSchemaRootTransformer.transform
(VectorSchemaRoot originalRoot, VectorSchemaRoot transformedRoot) -
Uses of VectorSchemaRoot in org.apache.arrow.flight
Methods in org.apache.arrow.flight that return VectorSchemaRootModifier and TypeMethodDescriptionFlightStream.getRoot()
Get the current vector data from the stream.Methods in org.apache.arrow.flight with parameters of type VectorSchemaRootModifier and TypeMethodDescriptiondefault void
OutboundStreamListener.start
(VectorSchemaRoot root) Start sending data, using the schema of the givenVectorSchemaRoot
.default void
OutboundStreamListener.start
(VectorSchemaRoot root, DictionaryProvider dictionaries) Start sending data, using the schema of the givenVectorSchemaRoot
.void
OutboundStreamListener.start
(VectorSchemaRoot root, DictionaryProvider dictionaries, IpcOption option) Start sending data, using the schema of the givenVectorSchemaRoot
.FlightClient.startPut
(FlightDescriptor descriptor, VectorSchemaRoot root, FlightClient.PutListener metadataListener, CallOption... options) Create or append a descriptor with another stream.FlightClient.startPut
(FlightDescriptor descriptor, VectorSchemaRoot root, DictionaryProvider provider, FlightClient.PutListener metadataListener, CallOption... options) Create or append a descriptor with another stream. -
Uses of VectorSchemaRoot in org.apache.arrow.flight.sql
Methods in org.apache.arrow.flight.sql with parameters of type VectorSchemaRootModifier and TypeMethodDescriptionvoid
FlightSqlClient.PreparedStatement.setParameters
(VectorSchemaRoot parameterBindingRoot) Set theFlightSqlClient.PreparedStatement.parameterBindingRoot
containing the parameter binding from aFlightSqlClient.PreparedStatement
operation. -
Uses of VectorSchemaRoot in org.apache.arrow.vector
Methods in org.apache.arrow.vector that return VectorSchemaRootModifier and TypeMethodDescriptionVectorSchemaRoot.addVector
(int index, FieldVector vector) Add vector to the record batch, producing a new VectorSchemaRoot.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.VectorSchemaRoot.removeVector
(int index) Remove vector from the record batch, producing a new VectorSchemaRoot.VectorSchemaRoot.slice
(int index) Slice this root from desired index.VectorSchemaRoot.slice
(int index, int length) Slice this root at desired index and length.Methods in org.apache.arrow.vector with parameters of type VectorSchemaRootModifier and TypeMethodDescriptionboolean
VectorSchemaRoot.approxEquals
(VectorSchemaRoot other) Determine if two VectorSchemaRoots are approximately equal using default functions to calculate difference between float/double values.boolean
VectorSchemaRoot.approxEquals
(VectorSchemaRoot other, VectorValueEqualizer<Float4Vector> floatDiffFunction, VectorValueEqualizer<Float8Vector> doubleDiffFunction) Determine if two VectorSchemaRoots are approximately equal using the given functions to calculate difference between float/double values.boolean
VectorSchemaRoot.equals
(VectorSchemaRoot other) Determine if two VectorSchemaRoots are exactly equal.Constructors in org.apache.arrow.vector with parameters of type VectorSchemaRootModifierConstructorDescriptionVectorLoader
(VectorSchemaRoot root) Construct with a root to load and will create children in root based on schema.VectorLoader
(VectorSchemaRoot root, CompressionCodec.Factory factory) Construct with a root to load and will create children in root based on schema.Constructs a new instance of the given set of vectors.VectorUnloader
(VectorSchemaRoot root, boolean includeNullCount, boolean alignBuffers) Constructs a new instance.VectorUnloader
(VectorSchemaRoot root, boolean includeNullCount, CompressionCodec codec, boolean alignBuffers) Constructs a new instance. -
Uses of VectorSchemaRoot in org.apache.arrow.vector.ipc
Methods in org.apache.arrow.vector.ipc that return VectorSchemaRootModifier and TypeMethodDescriptionArrowReader.getVectorSchemaRoot()
Returns the vector schema root.JsonFileReader.read()
Returns the next record batch from the file.Methods in org.apache.arrow.vector.ipc with parameters of type VectorSchemaRootModifier and TypeMethodDescriptionboolean
JsonFileReader.read
(VectorSchemaRoot root) Reads the next record batch from the file intoroot
.void
JsonFileWriter.write
(VectorSchemaRoot recordBatch) Writes the record batch to the JSON file.Constructors in org.apache.arrow.vector.ipc with parameters of type VectorSchemaRootModifierConstructorDescriptionArrowFileWriter
(VectorSchemaRoot root, DictionaryProvider provider, WritableByteChannel out) ArrowFileWriter
(VectorSchemaRoot root, DictionaryProvider provider, WritableByteChannel out, Map<String, String> metaData) ArrowFileWriter
(VectorSchemaRoot root, DictionaryProvider provider, WritableByteChannel out, Map<String, String> metaData, IpcOption option) ArrowFileWriter
(VectorSchemaRoot root, DictionaryProvider provider, WritableByteChannel out, Map<String, String> metaData, IpcOption option, CompressionCodec.Factory compressionFactory, CompressionUtil.CodecType codecType) ArrowFileWriter
(VectorSchemaRoot root, DictionaryProvider provider, WritableByteChannel out, Map<String, String> metaData, IpcOption option, CompressionCodec.Factory compressionFactory, CompressionUtil.CodecType codecType, Optional<Integer> compressionLevel) 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.ArrowStreamWriter
(VectorSchemaRoot root, DictionaryProvider provider, WritableByteChannel out, IpcOption option, CompressionCodec.Factory compressionFactory, CompressionUtil.CodecType codecType) Construct an ArrowStreamWriter with compression enabled.ArrowStreamWriter
(VectorSchemaRoot root, DictionaryProvider provider, WritableByteChannel out, IpcOption option, CompressionCodec.Factory compressionFactory, CompressionUtil.CodecType codecType, Optional<Integer> compressionLevel) Construct an ArrowStreamWriter with compression enabled.protected
ArrowWriter
(VectorSchemaRoot root, DictionaryProvider provider, WritableByteChannel out) protected
ArrowWriter
(VectorSchemaRoot root, DictionaryProvider provider, WritableByteChannel out, IpcOption option) protected
ArrowWriter
(VectorSchemaRoot root, DictionaryProvider provider, WritableByteChannel out, IpcOption option, CompressionCodec.Factory compressionFactory, CompressionUtil.CodecType codecType, Optional<Integer> compressionLevel) Note: fields are not closed when the writer is closed. -
Uses of VectorSchemaRoot in org.apache.arrow.vector.table
Methods in org.apache.arrow.vector.table that return VectorSchemaRootModifier and TypeMethodDescriptionBaseTable.toVectorSchemaRoot()
Returns a new VectorSchemaRoot with the data and schema from this table.Constructors in org.apache.arrow.vector.table with parameters of type VectorSchemaRootModifierConstructorDescriptionTable
(VectorSchemaRoot vsr) Constructs a new instance containing the data from the argument. -
Uses of VectorSchemaRoot in org.apache.arrow.vector.util
Methods in org.apache.arrow.vector.util with parameters of type VectorSchemaRootModifier and TypeMethodDescriptionstatic void
VectorSchemaRootAppender.append
(boolean checkSchema, VectorSchemaRoot targetRoot, VectorSchemaRoot... rootsToAppend) Appends a number ofVectorSchemaRoot
s.static void
VectorSchemaRootAppender.append
(VectorSchemaRoot targetRoot, VectorSchemaRoot... rootsToAppend) Appends a number ofVectorSchemaRoot
s.static void
Validator.compareVectorSchemaRoot
(VectorSchemaRoot root1, VectorSchemaRoot root2) Validate two arrow vectorSchemaRoot are equal.static void
ValueVectorUtility.ensureCapacity
(VectorSchemaRoot root, int targetCapacity) Ensure capacity for BaseFixedWidthVector.static void
ValueVectorUtility.preAllocate
(VectorSchemaRoot root, int targetSize) Pre allocate memory for BaseFixedWidthVector.static void
ValueVectorUtility.validate
(VectorSchemaRoot root) Utility to validate vector schema root in O(1) time.static void
ValueVectorUtility.validateFull
(VectorSchemaRoot root) Utility to validate vector in O(n) time, where n is the value count.