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 TypeMethodDescriptionvoidCompositeAvroConsumer.resetConsumerVectors(VectorSchemaRoot root) Reset vector of consumers with the givenVectorSchemaRoot. -
Uses of VectorSchemaRoot in org.apache.arrow.adapter.avro.producers
Methods in org.apache.arrow.adapter.avro.producers with parameters of type VectorSchemaRootModifier and TypeMethodDescriptionvoidCompositeAvroProducer.resetProducerVectors(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.BuilderJdbcParameterBinder.builder(PreparedStatement statement, VectorSchemaRoot root) Initialize a binder with a builder.static voidJdbcToArrowUtils.jdbcToArrowVectors(ResultSet rs, VectorSchemaRoot root, Calendar calendar) Iterate the given JDBCResultSetobject to fetch the data and transpose it to populate the given Arrow Vector objects.static voidJdbcToArrowUtils.jdbcToArrowVectors(ResultSet rs, VectorSchemaRoot root, JdbcToArrowConfig config) Iterate the given JDBCResultSetobject 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 TypeMethodDescriptionvoidCompositeJdbcConsumer.resetVectorSchemaRoot(VectorSchemaRoot root) Reset inner consumers through vectors in the vector schema root. -
Uses of VectorSchemaRoot in org.apache.arrow.c
Methods in org.apache.arrow.c that return VectorSchemaRootModifier and TypeMethodDescriptionstatic VectorSchemaRootData.importVectorSchemaRoot(BufferAllocator allocator, ArrowArray array, ArrowSchema schema, CDataDictionaryProvider provider) Equivalent to callingimportVectorSchemaRoot(allocator, array, schema, provider, true).static VectorSchemaRootData.importVectorSchemaRoot(BufferAllocator allocator, ArrowArray array, ArrowSchema schema, CDataDictionaryProvider provider, boolean closeImportedStructs) Import Java vector schema root from the C data interface.static VectorSchemaRootData.importVectorSchemaRoot(BufferAllocator allocator, ArrowSchema schema, CDataDictionaryProvider provider) Equivalent to callingimportVectorSchemaRoot(allocator, schema, provider, true).static VectorSchemaRootData.importVectorSchemaRoot(BufferAllocator allocator, ArrowSchema schema, CDataDictionaryProvider provider, boolean closeImportedStructs) Import Java vector schema root from a C data interface Schema.Methods in org.apache.arrow.c with parameters of type VectorSchemaRootModifier and TypeMethodDescriptionstatic voidData.exportVectorSchemaRoot(BufferAllocator allocator, VectorSchemaRoot vsr, DictionaryProvider provider, ArrowArray out) Export the current contents of a Java VectorSchemaRoot using the C data interface format.static voidData.exportVectorSchemaRoot(BufferAllocator allocator, VectorSchemaRoot vsr, DictionaryProvider provider, ArrowArray out, ArrowSchema outSchema) Export the current contents of a Java VectorSchemaRoot using the C data interface format.static voidData.importIntoVectorSchemaRoot(BufferAllocator allocator, ArrowArray array, VectorSchemaRoot root, DictionaryProvider provider) Equivalent to callingimportIntoVectorSchemaRoot(allocator, array, root, provider, true).static voidData.importIntoVectorSchemaRoot(BufferAllocator allocator, ArrowArray array, VectorSchemaRoot root, DictionaryProvider provider, boolean closeImportedStructs) Import record batch from the C data interface into vector schema root. -
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 voidOutboundStreamListener.start(VectorSchemaRoot root) Start sending data, using the schema of the givenVectorSchemaRoot.default voidOutboundStreamListener.start(VectorSchemaRoot root, DictionaryProvider dictionaries) Start sending data, using the schema of the givenVectorSchemaRoot.voidOutboundStreamListener.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 TypeMethodDescriptionlongFlightSqlClient.executeIngest(VectorSchemaRoot data, FlightSqlClient.ExecuteIngestOptions ingestOptions, CallOption... options) Execute a bulk ingest on the server.longFlightSqlClient.executeIngest(VectorSchemaRoot data, FlightSqlClient.ExecuteIngestOptions ingestOptions, FlightSqlClient.Transaction transaction, CallOption... options) Execute a bulk ingest on the server.voidFlightSqlClient.PreparedStatement.setParameters(VectorSchemaRoot parameterBindingRoot) Set theFlightSqlClient.PreparedStatement.parameterBindingRootcontaining the parameter binding from aFlightSqlClient.PreparedStatementoperation. -
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 VectorSchemaRootVectorSchemaRoot.create(Schema schema, BufferAllocator allocator) Creates a new set of empty vectors corresponding to the given schema.static VectorSchemaRootVectorSchemaRoot.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 TypeMethodDescriptionbooleanVectorSchemaRoot.approxEquals(VectorSchemaRoot other) Determine if two VectorSchemaRoots are approximately equal using default functions to calculate difference between float/double values.booleanVectorSchemaRoot.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.booleanVectorSchemaRoot.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 TypeMethodDescriptionbooleanJsonFileReader.read(VectorSchemaRoot root) Reads the next record batch from the file intoroot.voidJsonFileWriter.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.protectedArrowWriter(VectorSchemaRoot root, DictionaryProvider provider, WritableByteChannel out) protectedArrowWriter(VectorSchemaRoot root, DictionaryProvider provider, WritableByteChannel out, IpcOption option) protectedArrowWriter(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 voidVectorSchemaRootAppender.append(boolean checkSchema, VectorSchemaRoot targetRoot, VectorSchemaRoot... rootsToAppend) Appends a number ofVectorSchemaRoots.static voidVectorSchemaRootAppender.append(VectorSchemaRoot targetRoot, VectorSchemaRoot... rootsToAppend) Appends a number ofVectorSchemaRoots.static voidValidator.compareVectorSchemaRoot(VectorSchemaRoot root1, VectorSchemaRoot root2) Validate two arrow vectorSchemaRoot are equal.static voidValueVectorUtility.ensureCapacity(VectorSchemaRoot root, int targetCapacity) Ensure capacity for BaseFixedWidthVector.static voidValueVectorUtility.preAllocate(VectorSchemaRoot root, int targetSize) Pre allocate memory for BaseFixedWidthVector.static voidValueVectorUtility.validate(VectorSchemaRoot root) Utility to validate vector schema root in O(1) time.static voidValueVectorUtility.validateFull(VectorSchemaRoot root) Utility to validate vector in O(n) time, where n is the value count.