Uses of Interface
org.apache.arrow.memory.BufferAllocator
Package
Description
Memory Allocation, Accounting and Management.
-
Uses of BufferAllocator in io.netty.buffer
ModifierConstructorDescriptionExpandableByteBuf
(io.netty.buffer.ByteBuf buffer, BufferAllocator allocator) NettyArrowBuf
(ArrowBuf arrowBuf, BufferAllocator bufferAllocator, int length) Constructs a new instance. -
Uses of BufferAllocator in org.apache.arrow.adapter.avro
ModifierConstructorDescriptionAvroToArrowConfigBuilder
(BufferAllocator allocator) Default constructor for theAvroToArrowConfigBuilder
. -
Uses of BufferAllocator in org.apache.arrow.adapter.jdbc
Modifier and TypeMethodDescriptionJdbcToArrowConfigBuilder.setAllocator
(BufferAllocator allocator) Sets the memory allocator to use when constructing the Arrow vectors from the ResultSet.static ArrowVectorIterator
JdbcToArrow.sqlToArrowVectorIterator
(ResultSet resultSet, BufferAllocator allocator) For the given JDBCResultSet
, fetch the data from Relational DB and convert it to Arrow objects.ModifierConstructorDescriptionJdbcToArrowConfigBuilder
(BufferAllocator allocator, Calendar calendar) Constructor for theJdbcToArrowConfigBuilder
.JdbcToArrowConfigBuilder
(BufferAllocator allocator, Calendar calendar, boolean includeMetadata) Constructor for theJdbcToArrowConfigBuilder
. -
Uses of BufferAllocator in org.apache.arrow.algorithm.deduplicate
ModifierConstructorDescriptionVectorRunDeduplicator
(V vector, BufferAllocator allocator) Constructs a vector run deduplicator for a given vector. -
Uses of BufferAllocator in org.apache.arrow.algorithm.rank
ModifierConstructorDescriptionVectorRank
(BufferAllocator allocator) Constructs a vector rank utility. -
Uses of BufferAllocator in org.apache.arrow.compression
Modifier and TypeMethodDescriptionprotected ArrowBuf
Lz4CompressionCodec.doCompress
(BufferAllocator allocator, ArrowBuf uncompressedBuffer) protected ArrowBuf
ZstdCompressionCodec.doCompress
(BufferAllocator allocator, ArrowBuf uncompressedBuffer) protected ArrowBuf
Lz4CompressionCodec.doDecompress
(BufferAllocator allocator, ArrowBuf compressedBuffer) protected ArrowBuf
ZstdCompressionCodec.doDecompress
(BufferAllocator allocator, ArrowBuf compressedBuffer) -
Uses of BufferAllocator in org.apache.arrow.driver.jdbc.client
Modifier and TypeMethodDescriptionArrowFlightSqlClientHandler.Builder.withBufferAllocator
(BufferAllocator allocator) Sets theBufferAllocator
to use in this handler. -
Uses of BufferAllocator in org.apache.arrow.driver.jdbc.utils
ModifierConstructorDescriptionAvaticaParameterBinder
(ArrowFlightSqlClientHandler.PreparedStatement preparedStatement, BufferAllocator bufferAllocator) Instantiate a new AvaticaParameterBinder.Builder
(Schema schema, BufferAllocator bufferAllocator) -
Uses of BufferAllocator in org.apache.arrow.flight
Modifier and TypeMethodDescriptionFlightClient.Builder.allocator
(BufferAllocator allocator) FlightServer.Builder.allocator
(BufferAllocator allocator) static FlightClient.Builder
FlightClient.builder
(BufferAllocator allocator, Location location) Create a builder for a Flight client.static FlightServer.Builder
FlightServer.builder
(BufferAllocator allocator, Location location, FlightProducer producer) Create a builder for a Flight server.static FlightClient
FlightGrpcUtils.createFlightClient
(BufferAllocator incomingAllocator, io.grpc.ManagedChannel channel) Creates a Flight client.static FlightClient
FlightGrpcUtils.createFlightClientWithSharedChannel
(BufferAllocator incomingAllocator, io.grpc.ManagedChannel channel) Creates a Flight client.static io.grpc.BindableService
FlightGrpcUtils.createFlightService
(BufferAllocator allocator, FlightProducer producer, ServerAuthHandler authHandler, ExecutorService executor) Creates a Flight service.ModifierConstructorDescriptionFlightStream
(BufferAllocator allocator, int pendingTarget, FlightStream.Cancellable cancellable, FlightStream.Requestor requestor) Constructs a new instance. -
Uses of BufferAllocator in org.apache.arrow.flight.integration.tests
Modifier and TypeMethodDescriptionvoid
FlightSqlExtensionScenario.client
(BufferAllocator allocator, Location location, FlightClient client) void
FlightSqlScenario.client
(BufferAllocator allocator, Location location, FlightClient client) void
LocationReuseConnectionScenario.client
(BufferAllocator allocator, Location location, FlightClient client) void
OrderedScenario.client
(BufferAllocator allocator, Location location, FlightClient client) FlightSqlScenario.producer
(BufferAllocator allocator, Location location) LocationReuseConnectionScenario.producer
(BufferAllocator allocator, Location location) OrderedScenario.producer
(BufferAllocator allocator, Location location) ModifierConstructorDescriptionFlightSqlScenarioProducer
(BufferAllocator allocator) IntegrationProducer
(BufferAllocator allocator, Location location) Constructs a new instance. -
Uses of BufferAllocator in org.apache.arrow.flight.sql.example
-
Uses of BufferAllocator in org.apache.arrow.memory
Modifier and TypeClassDescriptionclass
A root allocator for using direct memory for Arrow Vectors/Arrays.Modifier and TypeMethodDescriptionBufferLedger.getAllocator()
Get the buffer allocator associated with this reference manager.ReferenceManager.getAllocator()
Get the buffer allocator associated with this reference manager.@Nullable BufferAllocator
AllocationOutcomeDetails.getFailedAllocator()
Get the allocator that caused the failure.BufferLedger.getKey()
@Nullable BufferAllocator
BufferAllocator.getParentAllocator()
Returns the parent allocator.BufferAllocator.getRoot()
Get the root allocator of this allocator.BufferAllocator.newChildAllocator
(String name, long initReservation, long maxAllocation) Create a new child allocator.BufferAllocator.newChildAllocator
(String name, AllocationListener listener, long initReservation, long maxAllocation) Create a new child allocator.Modifier and TypeMethodDescriptionBufferAllocator.getChildAllocators()
Returns the set of child allocators.Modifier and TypeMethodDescriptionAllocationManager.Factory.create
(BufferAllocator accountingAllocator, long size) Create anAllocationManager
.default void
AllocationListener.onChildAdded
(BufferAllocator parentAllocator, BufferAllocator childAllocator) Called immediately after a child allocator was added to the parent allocator.default void
AllocationListener.onChildRemoved
(BufferAllocator parentAllocator, BufferAllocator childAllocator) Called immediately after a child allocator was removed from the parent allocator.BufferLedger.retain
(ArrowBuf srcBuffer, BufferAllocator target) Create a new ArrowBuf that is associated with an alternative allocator for the purposes of memory ownership and accounting.ReferenceManager.retain
(ArrowBuf srcBuffer, BufferAllocator targetAllocator) Create a new ArrowBuf that is associated with an alternative allocator for the purposes of memory ownership and accounting.BufferLedger.transferOwnership
(ArrowBuf srcBuffer, BufferAllocator target) Transfer the memory accounting ownership of this ArrowBuf to another allocator.ReferenceManager.transferOwnership
(ArrowBuf sourceBuffer, BufferAllocator targetAllocator) Duplicate the memory accounting ownership of the backing allocation of the given ArrowBuf in another allocator. -
Uses of BufferAllocator in org.apache.arrow.memory.netty
Modifier and TypeMethodDescriptionDefaultAllocationManagerFactory.create
(BufferAllocator accountingAllocator, long size) -
Uses of BufferAllocator in org.apache.arrow.memory.patch
-
Uses of BufferAllocator in org.apache.arrow.memory.unsafe
Modifier and TypeMethodDescriptionDefaultAllocationManagerFactory.create
(BufferAllocator accountingAllocator, long size) -
Uses of BufferAllocator in org.apache.arrow.vector
Modifier and TypeMethodDescriptionBaseValueVector.getAllocator()
ExtensionTypeVector.getAllocator()
NullVector.getAllocator()
ValueVector.getAllocator()
Modifier and TypeMethodDescriptionstatic VectorSchemaRoot
VectorSchemaRoot.create
(Schema schema, BufferAllocator allocator) Creates a new set of empty vectors corresponding to the given schema.abstract TransferPair
BaseFixedWidthVector.getTransferPair
(String ref, BufferAllocator allocator) Construct a transfer pair of this vector and another vector of same type.BaseFixedWidthVector.getTransferPair
(String ref, BufferAllocator allocator, CallBack callBack) Construct a transfer pair of this vector and another vector of same type.BaseFixedWidthVector.getTransferPair
(BufferAllocator allocator) Construct a transfer pair of this vector and another vector of same type.abstract TransferPair
BaseFixedWidthVector.getTransferPair
(Field field, BufferAllocator allocator) Construct a transfer pair of this vector and another vector of same type.BaseFixedWidthVector.getTransferPair
(Field field, BufferAllocator allocator, CallBack callBack) Construct a transfer pair of this vector and another vector of same type.abstract TransferPair
BaseLargeVariableWidthVector.getTransferPair
(String ref, BufferAllocator allocator) Construct a transfer pair of this vector and another vector of same type.BaseLargeVariableWidthVector.getTransferPair
(String ref, BufferAllocator allocator, CallBack callBack) Construct a transfer pair of this vector and another vector of same type.BaseLargeVariableWidthVector.getTransferPair
(BufferAllocator allocator) Construct a transfer pair of this vector and another vector of same type.abstract TransferPair
BaseLargeVariableWidthVector.getTransferPair
(Field field, BufferAllocator allocator) Construct a transfer pair of this vector and another vector of same type.BaseLargeVariableWidthVector.getTransferPair
(Field field, BufferAllocator allocator, CallBack callBack) Construct a transfer pair of this vector and another vector of same type.BaseValueVector.getTransferPair
(BufferAllocator allocator) abstract TransferPair
BaseVariableWidthVector.getTransferPair
(String ref, BufferAllocator allocator) Construct a transfer pair of this vector and another vector of same type.BaseVariableWidthVector.getTransferPair
(String ref, BufferAllocator allocator, CallBack callBack) Construct a transfer pair of this vector and another vector of same type.BaseVariableWidthVector.getTransferPair
(BufferAllocator allocator) Construct a transfer pair of this vector and another vector of same type.abstract TransferPair
BaseVariableWidthVector.getTransferPair
(Field field, BufferAllocator allocator) Construct a transfer pair of this vector and another vector of same type.BaseVariableWidthVector.getTransferPair
(Field field, BufferAllocator allocator, CallBack callBack) Construct a transfer pair of this vector and another vector of same type.abstract TransferPair
BaseVariableWidthViewVector.getTransferPair
(String ref, BufferAllocator allocator) Construct a transfer pair of this vector and another vector of the same type.BaseVariableWidthViewVector.getTransferPair
(String ref, BufferAllocator allocator, CallBack callBack) Construct a transfer pair of this vector and another vector of the same type.BaseVariableWidthViewVector.getTransferPair
(BufferAllocator allocator) Construct a transfer pair of this vector and another vector of the same type.abstract TransferPair
BaseVariableWidthViewVector.getTransferPair
(Field field, BufferAllocator allocator) Construct a transfer pair of this vector and another vector of the same type.BaseVariableWidthViewVector.getTransferPair
(Field field, BufferAllocator allocator, CallBack callBack) Construct a transfer pair of this vector and another vector of the same type.BigIntVector.getTransferPair
(String ref, BufferAllocator allocator) Construct a TransferPair comprising this and a target vector of the same type.BigIntVector.getTransferPair
(Field field, BufferAllocator allocator) Construct a TransferPair comprising of this and a target vector of the same type.BitVector.getTransferPair
(String ref, BufferAllocator allocator) Construct a TransferPair comprising this and a target vector of the same type.BitVector.getTransferPair
(Field field, BufferAllocator allocator) Construct a TransferPair comprising this and a target vector of the same type.DateDayVector.getTransferPair
(String ref, BufferAllocator allocator) Construct a TransferPair comprising this and a target vector of the same type.DateDayVector.getTransferPair
(Field field, BufferAllocator allocator) Construct a TransferPair comprising this and a target vector of the same type.DateMilliVector.getTransferPair
(String ref, BufferAllocator allocator) Construct a TransferPair comprising this and a target vector of the same type.DateMilliVector.getTransferPair
(Field field, BufferAllocator allocator) Construct a TransferPair comprising this and a target vector of the same type.Decimal256Vector.getTransferPair
(String ref, BufferAllocator allocator) Construct a TransferPair comprising this and a target vector of the same type.Decimal256Vector.getTransferPair
(Field field, BufferAllocator allocator) Construct a TransferPair comprising this and a target vector of the same type.DecimalVector.getTransferPair
(String ref, BufferAllocator allocator) Construct a TransferPair comprising this and a target vector of the same type.DecimalVector.getTransferPair
(Field field, BufferAllocator allocator) Construct a TransferPair comprising this and a target vector of the same type.DurationVector.getTransferPair
(String ref, BufferAllocator allocator) Construct a TransferPair comprising of this and a target vector of the same type.DurationVector.getTransferPair
(Field field, BufferAllocator allocator) Construct a TransferPair comprising this and a target vector of the same type.ExtensionTypeVector.getTransferPair
(String ref, BufferAllocator allocator) ExtensionTypeVector.getTransferPair
(String ref, BufferAllocator allocator, CallBack callBack) ExtensionTypeVector.getTransferPair
(BufferAllocator allocator) ExtensionTypeVector.getTransferPair
(Field field, BufferAllocator allocator) ExtensionTypeVector.getTransferPair
(Field field, BufferAllocator allocator, CallBack callBack) FixedSizeBinaryVector.getTransferPair
(String ref, BufferAllocator allocator) Construct a TransferPair comprising this and a target vector of the same type.FixedSizeBinaryVector.getTransferPair
(Field field, BufferAllocator allocator) Construct a TransferPair comprising this and a target vector of the same type.Float2Vector.getTransferPair
(String ref, BufferAllocator allocator) Construct a TransferPair comprising this and a target vector of the same type.Float2Vector.getTransferPair
(Field field, BufferAllocator allocator) Construct a TransferPair comprising this and a target vector of the same type.Float4Vector.getTransferPair
(String ref, BufferAllocator allocator) Construct a TransferPair comprising this and a target vector of the same type.Float4Vector.getTransferPair
(Field field, BufferAllocator allocator) Construct a TransferPair comprising this and a target vector of the same type.Float8Vector.getTransferPair
(String ref, BufferAllocator allocator) Construct a TransferPair comprising this and a target vector of the same type.Float8Vector.getTransferPair
(Field field, BufferAllocator allocator) Construct a TransferPair comprising this and a target vector of the same type.IntervalDayVector.getTransferPair
(String ref, BufferAllocator allocator) Construct a TransferPair comprising this and a target vector of the same type.IntervalDayVector.getTransferPair
(Field field, BufferAllocator allocator) Construct a TransferPair comprising this and a target vector of the same type.IntervalMonthDayNanoVector.getTransferPair
(String ref, BufferAllocator allocator) Construct a TransferPair comprising this and a target vector of the same type.IntervalMonthDayNanoVector.getTransferPair
(Field field, BufferAllocator allocator) Construct a TransferPair comprising of this and a target vector of the same type.IntervalYearVector.getTransferPair
(String ref, BufferAllocator allocator) Construct a TransferPair comprising this and a target vector of the same type.IntervalYearVector.getTransferPair
(Field field, BufferAllocator allocator) Construct a TransferPair comprising this and a target vector of the same type.IntVector.getTransferPair
(String ref, BufferAllocator allocator) Construct a TransferPair comprising this and a target vector of the same type.IntVector.getTransferPair
(Field field, BufferAllocator allocator) Construct a TransferPair comprising this and a target vector of the same type.LargeVarBinaryVector.getTransferPair
(String ref, BufferAllocator allocator) Construct a TransferPair comprising of this and a target vector of the same type.LargeVarBinaryVector.getTransferPair
(Field field, BufferAllocator allocator) LargeVarCharVector.getTransferPair
(String ref, BufferAllocator allocator) Construct a TransferPair comprising this and a target vector of the same type.LargeVarCharVector.getTransferPair
(Field field, BufferAllocator allocator) NullVector.getTransferPair
(String ref, BufferAllocator allocator) NullVector.getTransferPair
(String ref, BufferAllocator allocator, CallBack callBack) NullVector.getTransferPair
(BufferAllocator allocator) NullVector.getTransferPair
(Field field, BufferAllocator allocator) NullVector.getTransferPair
(Field field, BufferAllocator allocator, CallBack callBack) SmallIntVector.getTransferPair
(String ref, BufferAllocator allocator) Construct a TransferPair comprising this and a target vector of the same type.SmallIntVector.getTransferPair
(Field field, BufferAllocator allocator) Construct a TransferPair comprising this and a target vector of the same type.TimeMicroVector.getTransferPair
(String ref, BufferAllocator allocator) Construct a TransferPair comprising this and a target vector of the same type.TimeMicroVector.getTransferPair
(Field field, BufferAllocator allocator) Construct a TransferPair comprising this and a target vector of the same type.TimeMilliVector.getTransferPair
(String ref, BufferAllocator allocator) Construct a TransferPair comprising this and a target vector of the same type.TimeMilliVector.getTransferPair
(Field field, BufferAllocator allocator) Construct a TransferPair comprising this and a target vector of the same type.TimeNanoVector.getTransferPair
(String ref, BufferAllocator allocator) Construct a TransferPair comprising this and a target vector of the same type.TimeNanoVector.getTransferPair
(Field field, BufferAllocator allocator) Construct a TransferPair comprising this and a target vector of the same type.TimeSecVector.getTransferPair
(String ref, BufferAllocator allocator) Construct a TransferPair comprising this and a target vector of the same type.TimeSecVector.getTransferPair
(Field field, BufferAllocator allocator) Construct a TransferPair comprising of this and a target vector of the same type.TimeStampMicroTZVector.getTransferPair
(String ref, BufferAllocator allocator) Construct a TransferPair comprising this and a target vector of the same type.TimeStampMicroTZVector.getTransferPair
(Field field, BufferAllocator allocator) Construct a TransferPair comprising this and a target vector of the same type.TimeStampMicroVector.getTransferPair
(String ref, BufferAllocator allocator) Construct a TransferPair comprising this and a target vector of the same type.TimeStampMicroVector.getTransferPair
(Field field, BufferAllocator allocator) Construct a TransferPair comprising this and a target vector of the same type.TimeStampMilliTZVector.getTransferPair
(String ref, BufferAllocator allocator) Construct a TransferPair comprising this and a target vector of the same type.TimeStampMilliTZVector.getTransferPair
(Field field, BufferAllocator allocator) Construct a TransferPair comprising this and a target vector of the same type.TimeStampMilliVector.getTransferPair
(String ref, BufferAllocator allocator) Construct a TransferPair comprising this and a target vector of the same type.TimeStampMilliVector.getTransferPair
(Field field, BufferAllocator allocator) Construct a TransferPair comprising this and a target vector of the same type.TimeStampNanoTZVector.getTransferPair
(String ref, BufferAllocator allocator) Construct a TransferPair comprising this and a target vector of the same type.TimeStampNanoTZVector.getTransferPair
(Field field, BufferAllocator allocator) Construct a TransferPair comprising this and a target vector of the same type.TimeStampNanoVector.getTransferPair
(String ref, BufferAllocator allocator) Construct a TransferPair comprising this and a target vector of the same type.TimeStampNanoVector.getTransferPair
(Field field, BufferAllocator allocator) Construct a TransferPair comprising this and a target vector of the same type.TimeStampSecTZVector.getTransferPair
(String ref, BufferAllocator allocator) Construct a TransferPair comprising of this and a target vector of the same type.TimeStampSecTZVector.getTransferPair
(Field field, BufferAllocator allocator) Construct a TransferPair comprising of this and a target vector of the same type.TimeStampSecVector.getTransferPair
(String ref, BufferAllocator allocator) Construct a TransferPair comprising this and a target vector of the same type.TimeStampSecVector.getTransferPair
(Field field, BufferAllocator allocator) Construct a TransferPair comprising this and a target vector of the same type.TinyIntVector.getTransferPair
(String ref, BufferAllocator allocator) Construct a TransferPair comprising this and a target vector of the same type.TinyIntVector.getTransferPair
(Field field, BufferAllocator allocator) Construct a TransferPair comprising this and a target vector of the same type.UInt1Vector.getTransferPair
(String ref, BufferAllocator allocator) UInt1Vector.getTransferPair
(Field field, BufferAllocator allocator) Construct a TransferPair comprising this and a target vector of the same type.UInt2Vector.getTransferPair
(String ref, BufferAllocator allocator) UInt2Vector.getTransferPair
(Field field, BufferAllocator allocator) Construct a TransferPair comprising this and a target vector of the same type.UInt4Vector.getTransferPair
(String ref, BufferAllocator allocator) UInt4Vector.getTransferPair
(Field field, BufferAllocator allocator) Construct a TransferPair comprising this and a target vector of the same type.UInt8Vector.getTransferPair
(String ref, BufferAllocator allocator) UInt8Vector.getTransferPair
(Field field, BufferAllocator allocator) Construct a TransferPair comprising this and a target vector of the same type.ValueVector.getTransferPair
(String ref, BufferAllocator allocator) To transfer quota responsibility.ValueVector.getTransferPair
(String ref, BufferAllocator allocator, CallBack callBack) To transfer quota responsibility.ValueVector.getTransferPair
(BufferAllocator allocator) To transfer quota responsibility.ValueVector.getTransferPair
(Field field, BufferAllocator allocator) To transfer quota responsibility.ValueVector.getTransferPair
(Field field, BufferAllocator allocator, CallBack callBack) To transfer quota responsibility.VarBinaryVector.getTransferPair
(String ref, BufferAllocator allocator) Construct a TransferPair comprising of this and a target vector of the same type.VarBinaryVector.getTransferPair
(Field field, BufferAllocator allocator) VarCharVector.getTransferPair
(String ref, BufferAllocator allocator) Construct a TransferPair comprising of this and a target vector of the same type.VarCharVector.getTransferPair
(Field field, BufferAllocator allocator) ViewVarBinaryVector.getTransferPair
(String ref, BufferAllocator allocator) Construct a TransferPair comprising this and a target vector of the same type.ViewVarBinaryVector.getTransferPair
(Field field, BufferAllocator allocator) ViewVarCharVector.getTransferPair
(String ref, BufferAllocator allocator) Construct a TransferPair comprising this and a target vector of the same type.ViewVarCharVector.getTransferPair
(Field field, BufferAllocator allocator) Construct a TransferPair with a desired target vector of the same type.ZeroVector.getTransferPair
(String ref, BufferAllocator allocator) ZeroVector.getTransferPair
(String ref, BufferAllocator allocator, CallBack callBack) ZeroVector.getTransferPair
(BufferAllocator allocator) static ArrowBuf
BitVectorHelper.loadValidityBuffer
(ArrowFieldNode fieldNode, ArrowBuf sourceValidityBuffer, BufferAllocator allocator) Returns a new buffer if the source validity buffer is either all null or all not-null, otherwise returns a buffer pointing to the same memory as source.static ArrowBuf
BaseLargeVariableWidthVector.set
(ArrowBuf buffer, BufferAllocator allocator, int valueCount, int index, long value) Method used by Json Reader to explicitly set the offsets of the variable width vector data.static ArrowBuf
BaseVariableWidthVector.set
(ArrowBuf buffer, BufferAllocator allocator, int valueCount, int index, int value) Method used by Json Reader to explicitly set the offsets of the variable width vector data.static ArrowBuf
BitVectorHelper.setValidityBit
(ArrowBuf validityBuffer, BufferAllocator allocator, int valueCount, int index, int value) Set the bit at a given index to provided value (1 or 0).static ArrowBuf
BaseValueVector.transferBuffer
(ArrowBuf srcBuffer, BufferAllocator targetAllocator) ModifierConstructorDescriptionBaseFixedWidthVector
(Field field, BufferAllocator allocator, int typeWidth) Constructs a new instance.BaseLargeVariableWidthVector
(Field field, BufferAllocator allocator) Constructs a new instance.protected
BaseValueVector
(BufferAllocator allocator) BaseVariableWidthVector
(Field field, BufferAllocator allocator) Constructs a new instance.BaseVariableWidthViewVector
(Field field, BufferAllocator allocator) Constructs a new instance.BigIntVector
(String name, BufferAllocator allocator) Instantiate a BigIntVector.BigIntVector
(String name, FieldType fieldType, BufferAllocator allocator) Instantiate a BigIntVector.BigIntVector
(Field field, BufferAllocator allocator) Instantiate a BigIntVector.BitVector
(String name, BufferAllocator allocator) Instantiate a BitVector.BitVector
(String name, FieldType fieldType, BufferAllocator allocator) Instantiate a BitVector.BitVector
(Field field, BufferAllocator allocator) Instantiate a BitVector.DateDayVector
(String name, BufferAllocator allocator) Instantiate a DateDayVector.DateDayVector
(String name, FieldType fieldType, BufferAllocator allocator) Instantiate a DateDayVector.DateDayVector
(Field field, BufferAllocator allocator) Instantiate a DateDayVector.DateMilliVector
(String name, BufferAllocator allocator) Instantiate a DateMilliVector.DateMilliVector
(String name, FieldType fieldType, BufferAllocator allocator) Instantiate a DateMilliVector.DateMilliVector
(Field field, BufferAllocator allocator) Instantiate a DateMilliVector.Decimal256Vector
(String name, BufferAllocator allocator, int precision, int scale) Instantiate a Decimal256Vector.Decimal256Vector
(String name, FieldType fieldType, BufferAllocator allocator) Instantiate a Decimal256Vector.Decimal256Vector
(Field field, BufferAllocator allocator) Instantiate a Decimal256Vector.DecimalVector
(String name, BufferAllocator allocator, int precision, int scale) Instantiate a DecimalVector.DecimalVector
(String name, FieldType fieldType, BufferAllocator allocator) Instantiate a DecimalVector.DecimalVector
(Field field, BufferAllocator allocator) Instantiate a DecimalVector.DurationVector
(String name, FieldType fieldType, BufferAllocator allocator) Instantiate a DurationVector.DurationVector
(Field field, BufferAllocator allocator) Instantiate a DurationVector.ExtensionTypeVector
(String name, BufferAllocator allocator, T underlyingVector) Instantiate an extension type vector.ExtensionTypeVector
(Field field, BufferAllocator allocator, T underlyingVector) Instantiate an extension type vector.FixedSizeBinaryVector
(String name, BufferAllocator allocator, int byteWidth) Instantiate a FixedSizeBinaryVector.FixedSizeBinaryVector
(String name, FieldType fieldType, BufferAllocator allocator) Instantiate a FixedSizeBinaryVector.FixedSizeBinaryVector
(Field field, BufferAllocator allocator) Instantiate a FixedSizeBinaryVector.Float2Vector
(String name, BufferAllocator allocator) Instantiate a Float2Vector.Float2Vector
(String name, FieldType fieldType, BufferAllocator allocator) Instantiate a Float2Vector.Float2Vector
(Field field, BufferAllocator allocator) Instantiate a Float2Vector.Float4Vector
(String name, BufferAllocator allocator) Instantiate a Float4Vector.Float4Vector
(String name, FieldType fieldType, BufferAllocator allocator) Instantiate a Float4Vector.Float4Vector
(Field field, BufferAllocator allocator) Instantiate a Float4Vector.Float8Vector
(String name, BufferAllocator allocator) Instantiate a Float8Vector.Float8Vector
(String name, FieldType fieldType, BufferAllocator allocator) Instantiate a Float8Vector.Float8Vector
(Field field, BufferAllocator allocator) Instantiate a Float8Vector.IntervalDayVector
(String name, BufferAllocator allocator) Instantiate a IntervalDayVector.IntervalDayVector
(String name, FieldType fieldType, BufferAllocator allocator) Instantiate a IntervalDayVector.IntervalDayVector
(Field field, BufferAllocator allocator) Instantiate a IntervalDayVector.IntervalMonthDayNanoVector
(String name, BufferAllocator allocator) Instantiate a IntervalMonthDayNanoVector.IntervalMonthDayNanoVector
(String name, FieldType fieldType, BufferAllocator allocator) Instantiate a IntervalMonthDayNanoVector.IntervalMonthDayNanoVector
(Field field, BufferAllocator allocator) Instantiate a IntervalMonthDayNanoVector.IntervalYearVector
(String name, BufferAllocator allocator) Instantiate a IntervalYearVector.IntervalYearVector
(String name, FieldType fieldType, BufferAllocator allocator) Instantiate a IntervalYearVector.IntervalYearVector
(Field field, BufferAllocator allocator) Instantiate a IntervalYearVector.IntVector
(String name, BufferAllocator allocator) Instantiate a IntVector.IntVector
(String name, FieldType fieldType, BufferAllocator allocator) Instantiate a IntVector.IntVector
(Field field, BufferAllocator allocator) Instantiate a IntVector.LargeVarBinaryVector
(String name, BufferAllocator allocator) Instantiate a LargeVarBinaryVector.LargeVarBinaryVector
(String name, FieldType fieldType, BufferAllocator allocator) Instantiate a LargeVarBinaryVector.LargeVarBinaryVector
(Field field, BufferAllocator allocator) Instantiate a LargeVarBinaryVector.LargeVarCharVector
(String name, BufferAllocator allocator) Instantiate a LargeVarCharVector.LargeVarCharVector
(String name, FieldType fieldType, BufferAllocator allocator) Instantiate a LargeVarCharVector.LargeVarCharVector
(Field field, BufferAllocator allocator) Instantiate a LargeVarCharVector.SmallIntVector
(String name, BufferAllocator allocator) Instantiate a SmallIntVector.SmallIntVector
(String name, FieldType fieldType, BufferAllocator allocator) Instantiate a SmallIntVector.SmallIntVector
(Field field, BufferAllocator allocator) Instantiate a SmallIntVector.TimeMicroVector
(String name, BufferAllocator allocator) Instantiate a TimeMicroVector.TimeMicroVector
(String name, FieldType fieldType, BufferAllocator allocator) Instantiate a TimeMicroVector.TimeMicroVector
(Field field, BufferAllocator allocator) Instantiate a TimeMicroVector.TimeMilliVector
(String name, BufferAllocator allocator) Instantiate a TimeMilliVector.TimeMilliVector
(String name, FieldType fieldType, BufferAllocator allocator) Instantiate a TimeMilliVector.TimeMilliVector
(Field field, BufferAllocator allocator) Instantiate a TimeMilliVector.TimeNanoVector
(String name, BufferAllocator allocator) Instantiate a TimeNanoVector.TimeNanoVector
(String name, FieldType fieldType, BufferAllocator allocator) Instantiate a TimeNanoVector.TimeNanoVector
(Field field, BufferAllocator allocator) Instantiate a TimeNanoVector.TimeSecVector
(String name, BufferAllocator allocator) Instantiate a TimeSecVector.TimeSecVector
(String name, FieldType fieldType, BufferAllocator allocator) Instantiate a TimeSecVector.TimeSecVector
(Field field, BufferAllocator allocator) Instantiate a TimeSecVector.TimeStampMicroTZVector
(String name, BufferAllocator allocator, String timeZone) Instantiate a TimeStampMicroTZVector.TimeStampMicroTZVector
(String name, FieldType fieldType, BufferAllocator allocator) Instantiate a TimeStampMicroTZVector.TimeStampMicroTZVector
(Field field, BufferAllocator allocator) Instantiate a TimeStampMicroTZVector.TimeStampMicroVector
(String name, BufferAllocator allocator) Instantiate a TimeStampMicroVector.TimeStampMicroVector
(String name, FieldType fieldType, BufferAllocator allocator) Instantiate a TimeStampMicroVector.TimeStampMicroVector
(Field field, BufferAllocator allocator) Instantiate a TimeStampMicroVector.TimeStampMilliTZVector
(String name, BufferAllocator allocator, String timeZone) Instantiate a TimeStampMilliTZVector.TimeStampMilliTZVector
(String name, FieldType fieldType, BufferAllocator allocator) Instantiate a TimeStampMilliTZVector.TimeStampMilliTZVector
(Field field, BufferAllocator allocator) Instantiate a TimeStampMilliTZVector.TimeStampMilliVector
(String name, BufferAllocator allocator) Instantiate a TimeStampMilliVector.TimeStampMilliVector
(String name, FieldType fieldType, BufferAllocator allocator) Instantiate a TimeStampMilliVector.TimeStampMilliVector
(Field field, BufferAllocator allocator) Instantiate a TimeStampMilliVector.TimeStampNanoTZVector
(String name, BufferAllocator allocator, String timeZone) Instantiate a TimeStampNanoTZVector.TimeStampNanoTZVector
(String name, FieldType fieldType, BufferAllocator allocator) Instantiate a TimeStampNanoTZVector.TimeStampNanoTZVector
(Field field, BufferAllocator allocator) Instantiate a TimeStampNanoTZVector.TimeStampNanoVector
(String name, BufferAllocator allocator) Instantiate a TimeStampNanoVector.TimeStampNanoVector
(String name, FieldType fieldType, BufferAllocator allocator) Instantiate a TimeStampNanoVector.TimeStampNanoVector
(Field field, BufferAllocator allocator) Instantiate a TimeStampNanoVector.TimeStampSecTZVector
(String name, BufferAllocator allocator, String timeZone) Instantiate a TimeStampSecTZVector.TimeStampSecTZVector
(String name, FieldType fieldType, BufferAllocator allocator) Instantiate a TimeStampSecTZVector.TimeStampSecTZVector
(Field field, BufferAllocator allocator) Instantiate a TimeStampSecTZVector.TimeStampSecVector
(String name, BufferAllocator allocator) Instantiate a TimeStampSecVector.TimeStampSecVector
(String name, FieldType fieldType, BufferAllocator allocator) Instantiate a TimeStampSecVector.TimeStampSecVector
(Field field, BufferAllocator allocator) Instantiate a TimeStampSecVector.TimeStampVector
(String name, FieldType fieldType, BufferAllocator allocator) Instantiate a TimeStampVector.TimeStampVector
(Field field, BufferAllocator allocator) Instantiate a TimeStampVector.TinyIntVector
(String name, BufferAllocator allocator) Instantiate a TinyIntVector.TinyIntVector
(String name, FieldType fieldType, BufferAllocator allocator) Instantiate a TinyIntVector.TinyIntVector
(Field field, BufferAllocator allocator) Instantiate a TinyIntVector.UInt1Vector
(String name, BufferAllocator allocator) UInt1Vector
(String name, FieldType fieldType, BufferAllocator allocator) UInt1Vector
(Field field, BufferAllocator allocator) Constructor for UInt1Vector.UInt2Vector
(String name, BufferAllocator allocator) UInt2Vector
(String name, FieldType fieldType, BufferAllocator allocator) UInt2Vector
(Field field, BufferAllocator allocator) Constructor for UInt2Vector type.UInt4Vector
(String name, BufferAllocator allocator) UInt4Vector
(String name, FieldType fieldType, BufferAllocator allocator) UInt4Vector
(Field field, BufferAllocator allocator) Constructor for UInt4Vector.UInt8Vector
(String name, BufferAllocator allocator) UInt8Vector
(String name, FieldType fieldType, BufferAllocator allocator) UInt8Vector
(Field field, BufferAllocator allocator) Constructor for UInt8Vector.VarBinaryVector
(String name, BufferAllocator allocator) Instantiate a VarBinaryVector.VarBinaryVector
(String name, FieldType fieldType, BufferAllocator allocator) Instantiate a VarBinaryVector.VarBinaryVector
(Field field, BufferAllocator allocator) Instantiate a VarBinaryVector.VarCharVector
(String name, BufferAllocator allocator) Instantiate a VarCharVector.VarCharVector
(String name, FieldType fieldType, BufferAllocator allocator) Instantiate a VarCharVector.VarCharVector
(Field field, BufferAllocator allocator) Instantiate a VarCharVector.ViewVarBinaryVector
(String name, BufferAllocator allocator) Instantiate a ViewVarBinaryVector.ViewVarBinaryVector
(String name, FieldType fieldType, BufferAllocator allocator) Instantiate a ViewVarBinaryVector.ViewVarBinaryVector
(Field field, BufferAllocator allocator) Instantiate a ViewVarBinaryVector.ViewVarCharVector
(String name, BufferAllocator allocator) Instantiate a ViewVarCharVector.ViewVarCharVector
(String name, FieldType fieldType, BufferAllocator allocator) Instantiate a ViewVarCharVector.ViewVarCharVector
(Field field, BufferAllocator allocator) Instantiate a ViewVarCharVector. -
Uses of BufferAllocator in org.apache.arrow.vector.complex
Modifier and TypeFieldDescriptionprotected final BufferAllocator
AbstractContainerVector.allocator
Modifier and TypeMethodDescriptionAbstractContainerVector.getAllocator()
DenseUnionVector.getAllocator()
UnionVector.getAllocator()
Modifier and TypeMethodDescriptionstatic DenseUnionVector
DenseUnionVector.empty
(String name, BufferAllocator allocator) static FixedSizeListVector
FixedSizeListVector.empty
(String name, int size, BufferAllocator allocator) static LargeListVector
LargeListVector.empty
(String name, BufferAllocator allocator) static ListVector
ListVector.empty
(String name, BufferAllocator allocator) static ListViewVector
ListViewVector.empty
(String name, BufferAllocator allocator) static MapVector
MapVector.empty
(String name, BufferAllocator allocator, boolean keysSorted) Construct an empty MapVector with no data.static NonNullableStructVector
NonNullableStructVector.empty
(String name, BufferAllocator allocator) Construct a new empty instance which replaces an existing field with the new one in case of name conflict.static StructVector
StructVector.empty
(String name, BufferAllocator allocator) Construct a new empty instance which replaces an existing field with the new one in case of name conflict.static UnionVector
UnionVector.empty
(String name, BufferAllocator allocator) static NonNullableStructVector
NonNullableStructVector.emptyWithDuplicates
(String name, BufferAllocator allocator) Construct a new empty instance which preserve fields with identical names.static StructVector
StructVector.emptyWithDuplicates
(String name, BufferAllocator allocator) Construct a new empty instance which preserve fields with identical names.DenseUnionVector.getTransferPair
(String ref, BufferAllocator allocator) DenseUnionVector.getTransferPair
(String ref, BufferAllocator allocator, CallBack callBack) DenseUnionVector.getTransferPair
(BufferAllocator allocator) DenseUnionVector.getTransferPair
(Field field, BufferAllocator allocator) DenseUnionVector.getTransferPair
(Field field, BufferAllocator allocator, CallBack callBack) FixedSizeListVector.getTransferPair
(String ref, BufferAllocator allocator) FixedSizeListVector.getTransferPair
(String ref, BufferAllocator allocator, CallBack callBack) FixedSizeListVector.getTransferPair
(Field field, BufferAllocator allocator) FixedSizeListVector.getTransferPair
(Field field, BufferAllocator allocator, CallBack callBack) LargeListVector.getTransferPair
(String ref, BufferAllocator allocator) LargeListVector.getTransferPair
(String ref, BufferAllocator allocator, CallBack callBack) LargeListVector.getTransferPair
(Field field, BufferAllocator allocator) LargeListVector.getTransferPair
(Field field, BufferAllocator allocator, CallBack callBack) ListVector.getTransferPair
(String ref, BufferAllocator allocator) ListVector.getTransferPair
(String ref, BufferAllocator allocator, CallBack callBack) ListVector.getTransferPair
(Field field, BufferAllocator allocator) ListVector.getTransferPair
(Field field, BufferAllocator allocator, CallBack callBack) ListViewVector.getTransferPair
(String ref, BufferAllocator allocator) ListViewVector.getTransferPair
(String ref, BufferAllocator allocator, CallBack callBack) ListViewVector.getTransferPair
(Field field, BufferAllocator allocator) ListViewVector.getTransferPair
(Field field, BufferAllocator allocator, CallBack callBack) MapVector.getTransferPair
(String ref, BufferAllocator allocator) MapVector.getTransferPair
(String ref, BufferAllocator allocator, CallBack callBack) MapVector.getTransferPair
(Field field, BufferAllocator allocator) MapVector.getTransferPair
(Field field, BufferAllocator allocator, CallBack callBack) NonNullableStructVector.getTransferPair
(String ref, BufferAllocator allocator) NonNullableStructVector.getTransferPair
(String ref, BufferAllocator allocator, CallBack callBack) NonNullableStructVector.getTransferPair
(BufferAllocator allocator) NonNullableStructVector.getTransferPair
(Field field, BufferAllocator allocator) NonNullableStructVector.getTransferPair
(Field field, BufferAllocator allocator, CallBack callBack) StructVector.getTransferPair
(String ref, BufferAllocator allocator) StructVector.getTransferPair
(String ref, BufferAllocator allocator, CallBack callBack) StructVector.getTransferPair
(BufferAllocator allocator) StructVector.getTransferPair
(Field field, BufferAllocator allocator) StructVector.getTransferPair
(Field field, BufferAllocator allocator, CallBack callBack) UnionVector.getTransferPair
(String ref, BufferAllocator allocator) UnionVector.getTransferPair
(String ref, BufferAllocator allocator, CallBack callBack) UnionVector.getTransferPair
(BufferAllocator allocator) UnionVector.getTransferPair
(Field field, BufferAllocator allocator) UnionVector.getTransferPair
(Field field, BufferAllocator allocator, CallBack callBack) ModifierConstructorDescriptionprotected
AbstractContainerVector
(String name, BufferAllocator allocator, CallBack callBack) protected
AbstractStructVector
(String name, BufferAllocator allocator, CallBack callBack, AbstractStructVector.ConflictPolicy conflictPolicy, boolean allowConflictPolicyChanges) Base constructor that sets default conflict policy to APPEND.protected
BaseRepeatedValueVector
(String name, BufferAllocator allocator, FieldVector vector, CallBack callBack) protected
BaseRepeatedValueVector
(String name, BufferAllocator allocator, CallBack callBack) protected
BaseRepeatedValueViewVector
(String name, BufferAllocator allocator, FieldVector vector, CallBack callBack) protected
BaseRepeatedValueViewVector
(String name, BufferAllocator allocator, CallBack callBack) DenseUnionVector
(String name, BufferAllocator allocator, FieldType fieldType, CallBack callBack) FixedSizeListVector
(String name, BufferAllocator allocator, FieldType fieldType, CallBack unusedSchemaChangeCallback) Creates a new instance.FixedSizeListVector
(Field field, BufferAllocator allocator, CallBack unusedSchemaChangeCallback) Creates a new instance.LargeListVector
(String name, BufferAllocator allocator, FieldType fieldType, CallBack callBack) Constructs a new instance.LargeListVector
(Field field, BufferAllocator allocator, CallBack callBack) Creates a new instance.ListVector
(String name, BufferAllocator allocator, FieldType fieldType, CallBack callBack) Constructs a new instance.ListVector
(Field field, BufferAllocator allocator, CallBack callBack) Constructs a new instance.ListViewVector
(String name, BufferAllocator allocator, FieldType fieldType, CallBack callBack) Constructs a new instance.ListViewVector
(Field field, BufferAllocator allocator, CallBack callBack) Constructs a new instance.MapVector
(String name, BufferAllocator allocator, FieldType fieldType, CallBack callBack) Construct a MapVector instance.MapVector
(Field field, BufferAllocator allocator, CallBack callBack) NonNullableStructVector
(String name, BufferAllocator allocator, FieldType fieldType, CallBack callBack) Constructs a new instance.NonNullableStructVector
(String name, BufferAllocator allocator, FieldType fieldType, CallBack callBack, AbstractStructVector.ConflictPolicy conflictPolicy, boolean allowConflictPolicyChanges) Constructs a new instance.NonNullableStructVector
(Field field, BufferAllocator allocator, CallBack callBack) Constructs a new instance.NonNullableStructVector
(Field field, BufferAllocator allocator, CallBack callBack, AbstractStructVector.ConflictPolicy conflictPolicy, boolean allowConflictPolicyChanges) Constructs a new instance.StructVector
(String name, BufferAllocator allocator, FieldType fieldType, CallBack callBack) Constructs a new instance.StructVector
(String name, BufferAllocator allocator, FieldType fieldType, CallBack callBack, AbstractStructVector.ConflictPolicy conflictPolicy, boolean allowConflictPolicyChanges) Constructs a new instance.StructVector
(Field field, BufferAllocator allocator, CallBack callBack) Constructs a new instance.StructVector
(Field field, BufferAllocator allocator, CallBack callBack, AbstractStructVector.ConflictPolicy conflictPolicy, boolean allowConflictPolicyChanges) Constructs a new instance.UnionVector
(String name, BufferAllocator allocator, FieldType fieldType, CallBack callBack) -
Uses of BufferAllocator in org.apache.arrow.vector.compression
Modifier and TypeMethodDescriptionAbstractCompressionCodec.compress
(BufferAllocator allocator, ArrowBuf uncompressedBuffer) CompressionCodec.compress
(BufferAllocator allocator, ArrowBuf uncompressedBuffer) Compress a buffer.NoCompressionCodec.compress
(BufferAllocator allocator, ArrowBuf uncompressedBuffer) AbstractCompressionCodec.decompress
(BufferAllocator allocator, ArrowBuf compressedBuffer) CompressionCodec.decompress
(BufferAllocator allocator, ArrowBuf compressedBuffer) Decompress a buffer.NoCompressionCodec.decompress
(BufferAllocator allocator, ArrowBuf compressedBuffer) protected abstract ArrowBuf
AbstractCompressionCodec.doCompress
(BufferAllocator allocator, ArrowBuf uncompressedBuffer) The method that actually performs the data compression.protected abstract ArrowBuf
AbstractCompressionCodec.doDecompress
(BufferAllocator allocator, ArrowBuf compressedBuffer) The method that actually performs the data decompression.static ArrowBuf
CompressionUtil.packageRawBuffer
(BufferAllocator allocator, ArrowBuf inputBuffer) Process compression by compressing the buffer as is. -
Uses of BufferAllocator in org.apache.arrow.vector.dictionary
Modifier and TypeMethodDescriptionvoid
DictionaryProvider.MapDictionaryProvider.copyStructureFrom
(DictionaryProvider other, BufferAllocator allocator) Initialize the map structure from another provider, but with empty vectors.static ValueVector
DictionaryEncoder.decode
(ValueVector indices, Dictionary dictionary, BufferAllocator allocator) Decodes a dictionary encoded array using the provided dictionary.static StructVector
StructSubfieldEncoder.decode
(StructVector vector, DictionaryProvider.MapDictionaryProvider provider, BufferAllocator allocator) Decodes a dictionary subfields encoded vector using the provided dictionary.static BaseListVector
ListSubfieldEncoder.decodeListSubField
(BaseListVector vector, Dictionary dictionary, BufferAllocator allocator) Decodes a dictionary subfields encoded vector using the provided dictionary.ModifierConstructorDescriptionDictionaryEncoder
(Dictionary dictionary, BufferAllocator allocator) Construct an instance.DictionaryEncoder
(Dictionary dictionary, BufferAllocator allocator, ArrowBufHasher hasher) Construct an instance.ListSubfieldEncoder
(Dictionary dictionary, BufferAllocator allocator) ListSubfieldEncoder
(Dictionary dictionary, BufferAllocator allocator, ArrowBufHasher hasher) Construct an instance.StructSubfieldEncoder
(BufferAllocator allocator, DictionaryProvider.MapDictionaryProvider provider) Construct an instance.StructSubfieldEncoder
(BufferAllocator allocator, DictionaryProvider.MapDictionaryProvider provider, ArrowBufHasher hasher) Construct an instance. -
Uses of BufferAllocator in org.apache.arrow.vector.ipc
ModifierConstructorDescriptionArrowFileReader
(SeekableByteChannel in, BufferAllocator allocator) ArrowFileReader
(SeekableByteChannel in, BufferAllocator allocator, CompressionCodec.Factory compressionFactory) ArrowFileReader
(SeekableReadChannel in, BufferAllocator allocator) ArrowFileReader
(SeekableReadChannel in, BufferAllocator allocator, CompressionCodec.Factory compressionFactory) protected
ArrowReader
(BufferAllocator allocator) protected
ArrowReader
(BufferAllocator allocator, CompressionCodec.Factory compressionFactory) ArrowStreamReader
(InputStream in, BufferAllocator allocator) Constructs a streaming reader from an InputStream.ArrowStreamReader
(InputStream in, BufferAllocator allocator, CompressionCodec.Factory compressionFactory) Constructs a streaming reader from a ReadableByteChannel input.ArrowStreamReader
(ReadableByteChannel in, BufferAllocator allocator) Constructs a streaming reader from a ReadableByteChannel input.ArrowStreamReader
(ReadableByteChannel in, BufferAllocator allocator, CompressionCodec.Factory compressionFactory) Constructs a streaming reader from a ReadableByteChannel input.ArrowStreamReader
(MessageChannelReader messageReader, BufferAllocator allocator) Constructs a streaming reader using a MessageChannelReader.ArrowStreamReader
(MessageChannelReader messageReader, BufferAllocator allocator, CompressionCodec.Factory compressionFactory) Constructs a streaming reader using a MessageChannelReader.JsonFileReader
(File inputFile, BufferAllocator allocator) Constructs a new instance. -
Uses of BufferAllocator in org.apache.arrow.vector.ipc.message
Modifier and TypeMethodDescriptionArrowRecordBatch.cloneWithTransfer
(BufferAllocator allocator) Create a new ArrowRecordBatch which has the same information as this batch but whose buffers are owned by that Allocator.static ArrowDictionaryBatch
MessageSerializer.deserializeDictionaryBatch
(ReadChannel in, BufferAllocator allocator) Deserializes an ArrowDictionaryBatch read from the input channel.static ArrowDictionaryBatch
MessageSerializer.deserializeDictionaryBatch
(ReadChannel in, ArrowBlock block, BufferAllocator alloc) Deserializes a DictionaryBatch knowing the size of the entire message up front.static ArrowMessage
MessageSerializer.deserializeMessageBatch
(ReadChannel in, BufferAllocator alloc) Deserialize a message that is either an ArrowDictionaryBatch or ArrowRecordBatch.static ArrowRecordBatch
MessageSerializer.deserializeRecordBatch
(ReadChannel in, BufferAllocator allocator) Deserializes an ArrowRecordBatch read from the input channel.static ArrowRecordBatch
MessageSerializer.deserializeRecordBatch
(ReadChannel in, ArrowBlock block, BufferAllocator alloc) Deserializes an ArrowRecordBatch knowing the size of the entire message up front.static ArrowBuf
MessageSerializer.readMessageBody
(ReadChannel in, long bodyLength, BufferAllocator allocator) Read a Message body from the in channel into an ArrowBuf.ModifierConstructorDescriptionMessageChannelReader
(ReadChannel in, BufferAllocator allocator) Construct a MessageReader to read streaming messages from an existing ReadChannel. -
Uses of BufferAllocator in org.apache.arrow.vector.types
Modifier and TypeMethodDescriptionfinal FieldVector
Types.MinorType.getNewVector
(String name, FieldType fieldType, BufferAllocator allocator, CallBack schemaChangeCallback) Constructs a new vector for the given type.abstract FieldVector
Types.MinorType.getNewVector
(Field field, BufferAllocator allocator, CallBack schemaChangeCallback) Constructs a new vector for the given type. -
Uses of BufferAllocator in org.apache.arrow.vector.types.pojo
Modifier and TypeMethodDescriptionFieldType.createNewSingleVector
(String name, BufferAllocator allocator, CallBack schemaCallBack) FieldType.createNewSingleVector
(Field field, BufferAllocator allocator, CallBack schemaCallBack) Field.createVector
(BufferAllocator allocator) Construct a new vector of this type using the given allocator.abstract FieldVector
ArrowType.ExtensionType.getNewVector
(String name, FieldType fieldType, BufferAllocator allocator) Construct a vector for the user type. -
Uses of BufferAllocator in org.apache.arrow.vector.util
Modifier and TypeMethodDescriptionstatic Schema
SchemaUtility.deserialize
(byte[] bytes, BufferAllocator allocator) Deserialize Arrow schema from byte array.static Field
DictionaryUtility.toMemoryFormat
(Field field, BufferAllocator allocator, Map<Long, Dictionary> dictionaries) Convert field and child fields that have a dictionary encoding to memory format, so fields have the index type.