Uses of Interface
org.apache.arrow.vector.ValueVector
Package
Description
-
Uses of ValueVector in org.apache.arrow.adapter.jdbc.consumer
Modifier and TypeClassDescriptionclass
BaseConsumer<V extends ValueVector>
Base class for all consumers.interface
JdbcConsumer<T extends ValueVector>
An abstraction that is used to consume values fromResultSet
.Modifier and TypeMethodDescriptionvoid
CompositeJdbcConsumer.resetValueVector
(ValueVector vector) -
Uses of ValueVector in org.apache.arrow.algorithm.deduplicate
Modifier and TypeClassDescriptionclass
VectorRunDeduplicator<V extends ValueVector>
Remove adjacent equal elements from a vector. -
Uses of ValueVector in org.apache.arrow.algorithm.dictionary
Modifier and TypeInterfaceDescriptioninterface
DictionaryBuilder<V extends ValueVector>
A dictionary builder is intended for the scenario frequently encountered in practice: the dictionary is not known a priori, so it is generated dynamically.interface
DictionaryEncoder<E extends BaseIntVector,
D extends ValueVector> A dictionary encoder translates one vector into another one based on a dictionary vector.class
LinearDictionaryEncoder<E extends BaseIntVector,
D extends ValueVector> Dictionary encoder based on linear search.class
SearchDictionaryEncoder<E extends BaseIntVector,
D extends ValueVector> Dictionary encoder based on searching.class
SearchTreeBasedDictionaryBuilder<V extends ValueVector>
This class builds the dictionary based on a binary search tree. -
Uses of ValueVector in org.apache.arrow.algorithm.rank
Modifier and TypeClassDescriptionclass
VectorRank<V extends ValueVector>
Utility for calculating ranks of vector elements. -
Uses of ValueVector in org.apache.arrow.algorithm.search
Modifier and TypeClassDescriptionclass
ParallelSearcher<V extends ValueVector>
Search for a value in the vector by multiple threads.Modifier and TypeMethodDescriptionstatic <V extends ValueVector>
intVectorSearcher.binarySearch
(V targetVector, VectorValueComparator<V> comparator, V keyVector, int keyIndex) Search for a particular element from the key vector in the target vector by binary search.static <V extends ValueVector>
intVectorRangeSearcher.getFirstMatch
(V targetVector, VectorValueComparator<V> comparator, V keyVector, int keyIndex) Search for the first occurrence of an element.static <V extends ValueVector>
intVectorRangeSearcher.getLastMatch
(V targetVector, VectorValueComparator<V> comparator, V keyVector, int keyIndex) Search for the last occurrence of an element.static <V extends ValueVector>
intVectorSearcher.linearSearch
(V targetVector, VectorValueComparator<V> comparator, V keyVector, int keyIndex) Search for a particular element from the key vector in the target vector by traversing the vector in sequence. -
Uses of ValueVector in org.apache.arrow.algorithm.sort
Modifier and TypeClassDescriptionstatic class
Default comparator forRepeatedValueVector
.static class
Default comparator forRepeatedValueVector
.class
GeneralOutOfPlaceVectorSorter<V extends ValueVector>
An out-of-place sorter for vectors of arbitrary type, with time complexity O(n*log(n)).class
IndexSorter<V extends ValueVector>
Sorter for the indices of a vector.interface
InPlaceVectorSorter<V extends ValueVector>
Basic interface for sorting a vector in-place.interface
OutOfPlaceVectorSorter<V extends ValueVector>
Basic interface for sorting a vector out-of-place.class
StableVectorComparator<V extends ValueVector>
Stable sorter.class
VectorValueComparator<V extends ValueVector>
Compare two values at the given indices in the vectors.Modifier and TypeFieldDescriptionprotected V
VectorValueComparator.vector1
The first vector to compare.protected V
VectorValueComparator.vector2
The second vector to compare.Modifier and TypeMethodDescriptionstatic <T extends ValueVector>
VectorValueComparator<T>DefaultVectorComparators.createDefaultComparator
(T vector) Create the default comparator for the vector.static <T extends ValueVector>
intIndexSorter.partition
(int low, int high, IntVector indices, VectorValueComparator<T> comparator) Partition a range of values in a vector into two parts, with elements in one part smaller than elements from the other part. -
Uses of ValueVector in org.apache.arrow.driver.jdbc.accessor
Modifier and TypeMethodDescriptionstatic ArrowFlightJdbcAccessor
ArrowFlightJdbcAccessorFactory.createAccessor
(ValueVector vector, IntSupplier getCurrentRow, ArrowFlightJdbcAccessorFactory.WasNullConsumer setCursorWasNull) Create an accessor according to its type. -
Uses of ValueVector in org.apache.arrow.driver.jdbc.accessor.impl.calendar
Modifier and TypeMethodDescriptionprotected static TimeUnit
ArrowFlightJdbcDateVectorAccessor.getTimeUnitForVector
(ValueVector vector) protected static TimeUnit
ArrowFlightJdbcTimeVectorAccessor.getTimeUnitForVector
(ValueVector vector) -
Uses of ValueVector in org.apache.arrow.driver.jdbc.accessor.impl.complex
Modifier and TypeMethodDescriptionprotected abstract ValueVector
AbstractArrowFlightJdbcUnionVectorAccessor.getVectorByTypeId
(byte typeId) protected ValueVector
ArrowFlightJdbcDenseUnionVectorAccessor.getVectorByTypeId
(byte typeId) protected ValueVector
ArrowFlightJdbcUnionVectorAccessor.getVectorByTypeId
(byte typeId) Modifier and TypeMethodDescriptionprotected abstract ArrowFlightJdbcAccessor
AbstractArrowFlightJdbcUnionVectorAccessor.createAccessorForVector
(ValueVector vector) protected ArrowFlightJdbcAccessor
ArrowFlightJdbcDenseUnionVectorAccessor.createAccessorForVector
(ValueVector vector) protected ArrowFlightJdbcAccessor
ArrowFlightJdbcUnionVectorAccessor.createAccessorForVector
(ValueVector vector) -
Uses of ValueVector in org.apache.arrow.vector
Modifier and TypeClassDescriptionclass
AddOrGetResult<V extends ValueVector>
Tuple class containing a vector and whether it was created.class
ExtensionTypeVector<T extends ValueVector & FieldVector>
A vector that wraps an underlying vector, used to help implement extension types.Modifier and TypeInterfaceDescriptioninterface
Interface for all int type vectors.interface
Vector for which each data element resides in a continuous memory region, so it can be pointed to by anArrowBufPointer
.interface
A vector corresponding to a Field in the schema.interface
Interface for all fixed widthElementAddressableVector
(e.g.interface
The interface for vectors with floating point values.interface
interface
A base interface for common functionalities in variable width vectors.interface
Interface vectors that contain variable width members (e.g.Modifier and TypeClassDescriptionclass
BaseFixedWidthVector provides an abstract interface for implementing vectors of fixed width values.class
BaseLargeVariableWidthVector is a base class providing functionality for large strings/large bytes types.class
Base class for other Arrow Vector Types.class
BaseVariableWidthVector is a base class providing functionality for strings/bytes types.class
BaseVariableWidthViewVector is a base class providing functionality for strings/bytes types in view format.final class
BigIntVector implements a fixed width vector (8 bytes) of integer values which could be null.final class
BitVector implements a fixed width (1 bit) vector of boolean values which could be null.final class
DateDayVector implements a fixed width (4 bytes) vector of date values which could be null.final class
DateMilliVector implements a fixed width vector (8 bytes) of date values which could be null.final class
Decimal256Vector implements a fixed width vector (32 bytes) of decimal values which could be null.final class
DecimalVector implements a fixed width vector (16 bytes) of decimal values which could be null.final class
DurationVector implements a fixed width vector (8 bytes) of a configurable TimeUnit granularity duration values which could be null.class
ExtensionTypeVector<T extends ValueVector & FieldVector>
A vector that wraps an underlying vector, used to help implement extension types.class
FixedSizeBinaryVector implements a fixed width vector of binary values which could be null.final class
Float2Vector implements a fixed width (2 bytes) vector of short values which could be null.final class
Float4Vector implements a fixed width vector (4 bytes) of float values which could be null.final class
Float8Vector implements a fixed width vector (8 bytes) of double values which could be null.final class
IntervalDayVector implements a fixed width vector (8 bytes) of interval (days and milliseconds) values which could be null.final class
IntervalMonthDayNanoVector implements a fixed width vector (16 bytes) of interval (month, days and nanoseconds) values which could be null.final class
IntervalYearVector implements a fixed width (4 bytes) vector of interval (years and months) values which could be null.final class
IntVector implements a fixed width (4 bytes) vector of integer values which could be null.final class
LargeVarBinaryVector implements a large variable width vector of binary values which could be NULL.final class
LargeVarCharVector implements a variable width vector of VARCHAR values which could be NULL.class
A null type vector.final class
SmallIntVector implements a fixed width (2 bytes) vector of short values which could be null.final class
TimeMicroVector implements a fixed width vector (8 bytes) of time (microsecond resolution) values which could be null.final class
TimeMilliVector implements a fixed width (4 bytes) vector of time (millisecond resolution) values which could be null.final class
TimeNanoVector implements a fixed width vector (8 bytes) of time (nanosecond resolution) values which could be null.final class
TimeSecVector implements a fixed width (4 bytes) vector of time (seconds resolution) values which could be null.final class
TimeStampMicroTZVector implements a fixed width vector (8 bytes) of timestamp (microsecond resolution) values which could be null.final class
TimeStampMicroVector implements a fixed width vector (8 bytes) of timestamp (microsecond resolution) values which could be null.final class
TimeStampMilliTZVector implements a fixed width vector (8 bytes) of timestamp (millisecond resolution) values which could be null.final class
TimeStampMilliVector implements a fixed width vector (8 bytes) of timestamp (millisecond resolution) values which could be null.final class
TimeStampNanoTZVector implements a fixed width vector (8 bytes) of timestamp (nanosecond resolution) values which could be null.final class
TimeStampNanoVector implements a fixed width vector (8 bytes) of timestamp (nanosecond resolution) values which could be null.final class
TimeStampSecTZVector implements a fixed width vector (8 bytes) of timestamp (seconds resolution) values which could be null.final class
TimeStampSecVector implements a fixed width vector (8 bytes) of timestamp (seconds resolution) values which could be null.class
TimeStampVector is an abstract interface for fixed width vector (8 bytes) of timestamp values which could be null.final class
TinyIntVector implements a fixed width (1 bytes) vector of byte values which could be null.final class
UInt1Vector implements a fixed width (1 bytes) vector of integer values which could be null.final class
UInt2Vector implements a fixed width (2 bytes) vector of integer values which could be null.final class
UInt4Vector implements a fixed width (4 bytes) vector of integer values which could be null.final class
UInt8Vector implements a fixed width vector (8 bytes) of integer values which could be null.final class
VarBinaryVector implements a variable width vector of binary values which could be NULL.final class
VarCharVector implements a variable width vector of VARCHAR values which could be NULL.final class
ViewVarBinaryVector implements a variable width view vector of binary values which could be NULL.final class
ViewVarCharVector implements a view of a variable width vector of VARCHAR values which could be NULL.final class
A zero length vector of any type.Modifier and TypeMethodDescriptionBaseValueVector.iterator()
ExtensionTypeVector.iterator()
NullVector.iterator()
Modifier and TypeMethodDescriptionstatic void
AllocationHelper.allocate
(ValueVector v, int valueCount, int bytesPerValue) Allocates the vector.static void
AllocationHelper.allocate
(ValueVector v, int valueCount, int bytesPerValue, int repeatedPerTop) Allocates memory for a vector assuming given number of values and their width.static void
AllocationHelper.allocateNew
(ValueVector v, int valueCount) Allocates the exact amount if v is fixed width, otherwise falls back to dynamic allocation.static void
AllocationHelper.allocatePrecomputedChildCount
(ValueVector v, int valueCount, int bytesPerValue, int childValCount) Allocates memory for a vector assuming given number of values and their width.static boolean
BaseValueVector.checkBufRefs
(ValueVector vv) Checks to ensure that every buffervv
uses has a positive reference count, throws if this precondition isn't met.void
BaseFixedWidthVector.copyFrom
(int fromIndex, int thisIndex, ValueVector from) Copy a cell value from a particular index in source vector to a particular position in this vector.void
BaseLargeVariableWidthVector.copyFrom
(int fromIndex, int thisIndex, ValueVector from) Copy a cell value from a particular index in source vector to a particular position in this vector.void
BaseValueVector.copyFrom
(int fromIndex, int thisIndex, ValueVector from) void
BaseVariableWidthVector.copyFrom
(int fromIndex, int thisIndex, ValueVector from) Copy a cell value from a particular index in source vector to a particular position in this vector.void
BaseVariableWidthViewVector.copyFrom
(int fromIndex, int thisIndex, ValueVector from) Copy a cell value from a particular index in source vector to a particular position in this vector.void
BitVector.copyFrom
(int fromIndex, int thisIndex, ValueVector from) Copy a cell value from a particular index in source vector to a particular position in this vector.void
NullVector.copyFrom
(int fromIndex, int thisIndex, ValueVector from) void
ValueVector.copyFrom
(int fromIndex, int thisIndex, ValueVector from) Copy a cell value from a particular index in source vector to a particular position in this vector.void
BaseFixedWidthVector.copyFromSafe
(int fromIndex, int thisIndex, ValueVector from) Same asBaseFixedWidthVector.copyFrom(int, int, ValueVector)
except that it handles the case when the capacity of the vector needs to be expanded before copy.void
BaseLargeVariableWidthVector.copyFromSafe
(int fromIndex, int thisIndex, ValueVector from) Same asBaseLargeVariableWidthVector.copyFrom(int, int, ValueVector)
except that it handles the case when the capacity of the vector needs to be expanded before copy.void
BaseValueVector.copyFromSafe
(int fromIndex, int thisIndex, ValueVector from) void
BaseVariableWidthVector.copyFromSafe
(int fromIndex, int thisIndex, ValueVector from) Same asBaseVariableWidthVector.copyFrom(int, int, ValueVector)
except that it handles the case when the capacity of the vector needs to be expanded before copy.void
BaseVariableWidthViewVector.copyFromSafe
(int fromIndex, int thisIndex, ValueVector from) Same asBaseVariableWidthViewVector.copyFrom(int, int, ValueVector)
except that it handles the case when the capacity of the vector needs to be expanded before copy.void
NullVector.copyFromSafe
(int fromIndex, int thisIndex, ValueVector from) void
ValueVector.copyFromSafe
(int fromIndex, int thisIndex, ValueVector from) Same ascopyFrom(int, int, ValueVector)
except that it handles the case when the capacity of the vector needs to be expanded before copy.static void
GenerateSampleData.generateTestData
(ValueVector vector, int valueCount) Populatesvector
withvalueCount
random values.BigIntVector.makeTransferPair
(ValueVector to) Construct a TransferPair with a desired target vector of the same type.BitVector.makeTransferPair
(ValueVector to) Construct a TransferPair with a desired target vector of the same type.DateDayVector.makeTransferPair
(ValueVector to) Construct a TransferPair with a desired target vector of the same type.DateMilliVector.makeTransferPair
(ValueVector to) Construct a TransferPair with a desired target vector of the same type.Decimal256Vector.makeTransferPair
(ValueVector to) Construct a TransferPair with a desired target vector of the same type.DecimalVector.makeTransferPair
(ValueVector to) Construct a TransferPair with a desired target vector of the same type.DurationVector.makeTransferPair
(ValueVector to) Construct a TransferPair with a desired target vector of the same type.ExtensionTypeVector.makeTransferPair
(ValueVector target) FixedSizeBinaryVector.makeTransferPair
(ValueVector to) Construct a TransferPair with a desired target vector of the same type.Float2Vector.makeTransferPair
(ValueVector to) Construct a TransferPair with a desired target vector of the same type.Float4Vector.makeTransferPair
(ValueVector to) Construct a TransferPair with a desired target vector of the same type.Float8Vector.makeTransferPair
(ValueVector to) Construct a TransferPair with a desired target vector of the same type.IntervalDayVector.makeTransferPair
(ValueVector to) Construct a TransferPair with a desired target vector of the same type.IntervalMonthDayNanoVector.makeTransferPair
(ValueVector to) Construct a TransferPair with a desired target vector of the same type.IntervalYearVector.makeTransferPair
(ValueVector to) Construct a TransferPair with a desired target vector of the same type.IntVector.makeTransferPair
(ValueVector to) Construct a TransferPair with a desired target vector of the same type.LargeVarBinaryVector.makeTransferPair
(ValueVector to) Construct a TransferPair with a desired target vector of the same type.LargeVarCharVector.makeTransferPair
(ValueVector to) Construct a TransferPair with a desired target vector of the same type.NullVector.makeTransferPair
(ValueVector target) SmallIntVector.makeTransferPair
(ValueVector to) Construct a TransferPair with a desired target vector of the same type.TimeMicroVector.makeTransferPair
(ValueVector to) Construct a TransferPair with a desired target vector of the same type.TimeMilliVector.makeTransferPair
(ValueVector to) Construct a TransferPair with a desired target vector of the same type.TimeNanoVector.makeTransferPair
(ValueVector to) Construct a TransferPair with a desired target vector of the same type.TimeSecVector.makeTransferPair
(ValueVector to) Construct a TransferPair with a desired target vector of the same type.TimeStampMicroTZVector.makeTransferPair
(ValueVector to) Construct a TransferPair with a desired target vector of the same type.TimeStampMicroVector.makeTransferPair
(ValueVector to) Construct a TransferPair with a desired target vector of the same type.TimeStampMilliTZVector.makeTransferPair
(ValueVector to) Construct a TransferPair with a desired target vector of the same type.TimeStampMilliVector.makeTransferPair
(ValueVector to) Construct a TransferPair with a desired target vector of the same type.TimeStampNanoTZVector.makeTransferPair
(ValueVector to) Construct a TransferPair with a desired target vector of the same type.TimeStampNanoVector.makeTransferPair
(ValueVector to) Construct a TransferPair with a desired target vector of the same type.TimeStampSecTZVector.makeTransferPair
(ValueVector to) Construct a TransferPair with a desired target vector of the same type.TimeStampSecVector.makeTransferPair
(ValueVector to) Construct a TransferPair with a desired target vector of the same type.TinyIntVector.makeTransferPair
(ValueVector to) Construct a TransferPair with a desired target vector of the same type.UInt1Vector.makeTransferPair
(ValueVector to) UInt2Vector.makeTransferPair
(ValueVector to) UInt4Vector.makeTransferPair
(ValueVector to) UInt8Vector.makeTransferPair
(ValueVector to) ValueVector.makeTransferPair
(ValueVector target) Makes a new transfer pair used to transfer underlying buffers.VarBinaryVector.makeTransferPair
(ValueVector to) Construct a TransferPair with a desired target vector of the same type.VarCharVector.makeTransferPair
(ValueVector to) Construct a TransferPair with a desired target vector of the same type.ViewVarBinaryVector.makeTransferPair
(ValueVector to) Construct a TransferPair with a desired target vector of the same type.ViewVarCharVector.makeTransferPair
(ValueVector to) Construct a TransferPair with a desired target vector of the same type.ZeroVector.makeTransferPair
(ValueVector target) -
Uses of ValueVector in org.apache.arrow.vector.compare
Modifier and TypeInterfaceDescriptioninterface
VectorValueEqualizer<V extends ValueVector>
A function to determine if two vectors are equal at specified positions.Modifier and TypeFieldDescriptionstatic final BiFunction<ValueVector,
ValueVector, Boolean> RangeEqualsVisitor.DEFAULT_TYPE_COMPARATOR
Default type comparator.static final BiFunction<ValueVector,
ValueVector, Boolean> RangeEqualsVisitor.DEFAULT_TYPE_COMPARATOR
Default type comparator.Modifier and TypeMethodDescriptionprotected ApproxEqualsVisitor
ApproxEqualsVisitor.createInnerVisitor
(ValueVector left, ValueVector right, BiFunction<ValueVector, ValueVector, Boolean> typeComparator) protected RangeEqualsVisitor
RangeEqualsVisitor.createInnerVisitor
(ValueVector leftInner, ValueVector rightInner, BiFunction<ValueVector, ValueVector, Boolean> typeComparator) boolean
TypeEqualsVisitor.equals
(ValueVector left) Check type equals without passing IN param in VectorVisitor.protected boolean
RangeEqualsVisitor.validate
(ValueVector left) Validate the passed left vector, if it is changed, reset and check type.static boolean
VectorEqualsVisitor.vectorEquals
(ValueVector left, ValueVector right) Checks if two vectors are equals with default type comparator.static boolean
VectorEqualsVisitor.vectorEquals
(ValueVector left, ValueVector right, BiFunction<ValueVector, ValueVector, Boolean> typeComparator) Checks if two vectors are equals.Modifier and TypeMethodDescriptionprotected ApproxEqualsVisitor
ApproxEqualsVisitor.createInnerVisitor
(ValueVector left, ValueVector right, BiFunction<ValueVector, ValueVector, Boolean> typeComparator) protected ApproxEqualsVisitor
ApproxEqualsVisitor.createInnerVisitor
(ValueVector left, ValueVector right, BiFunction<ValueVector, ValueVector, Boolean> typeComparator) protected RangeEqualsVisitor
RangeEqualsVisitor.createInnerVisitor
(ValueVector leftInner, ValueVector rightInner, BiFunction<ValueVector, ValueVector, Boolean> typeComparator) protected RangeEqualsVisitor
RangeEqualsVisitor.createInnerVisitor
(ValueVector leftInner, ValueVector rightInner, BiFunction<ValueVector, ValueVector, Boolean> typeComparator) static boolean
VectorEqualsVisitor.vectorEquals
(ValueVector left, ValueVector right, BiFunction<ValueVector, ValueVector, Boolean> typeComparator) Checks if two vectors are equals.static boolean
VectorEqualsVisitor.vectorEquals
(ValueVector left, ValueVector right, BiFunction<ValueVector, ValueVector, Boolean> typeComparator) Checks if two vectors are equals.ModifierConstructorDescriptionApproxEqualsVisitor
(ValueVector left, ValueVector right) Constructs a new instance with default tolerances.ApproxEqualsVisitor
(ValueVector left, ValueVector right, float floatEpsilon, double doubleEpsilon) Constructs a new instance.ApproxEqualsVisitor
(ValueVector left, ValueVector right, VectorValueEqualizer<Float4Vector> floatDiffFunction, VectorValueEqualizer<Float8Vector> doubleDiffFunction) Constructs a new instance.ApproxEqualsVisitor
(ValueVector left, ValueVector right, VectorValueEqualizer<Float4Vector> floatDiffFunction, VectorValueEqualizer<Float8Vector> doubleDiffFunction, BiFunction<ValueVector, ValueVector, Boolean> typeComparator) Constructs a new instance.RangeEqualsVisitor
(ValueVector left, ValueVector right) Constructs a new instance with default type comparator.RangeEqualsVisitor
(ValueVector left, ValueVector right, BiFunction<ValueVector, ValueVector, Boolean> typeComparator) Constructs a new instance.TypeEqualsVisitor
(ValueVector right) Construct an instance.TypeEqualsVisitor
(ValueVector right, boolean checkName, boolean checkMetadata) Construct an instance.ModifierConstructorDescriptionApproxEqualsVisitor
(ValueVector left, ValueVector right, VectorValueEqualizer<Float4Vector> floatDiffFunction, VectorValueEqualizer<Float8Vector> doubleDiffFunction, BiFunction<ValueVector, ValueVector, Boolean> typeComparator) Constructs a new instance.ApproxEqualsVisitor
(ValueVector left, ValueVector right, VectorValueEqualizer<Float4Vector> floatDiffFunction, VectorValueEqualizer<Float8Vector> doubleDiffFunction, BiFunction<ValueVector, ValueVector, Boolean> typeComparator) Constructs a new instance.RangeEqualsVisitor
(ValueVector left, ValueVector right, BiFunction<ValueVector, ValueVector, Boolean> typeComparator) Constructs a new instance.RangeEqualsVisitor
(ValueVector left, ValueVector right, BiFunction<ValueVector, ValueVector, Boolean> typeComparator) Constructs a new instance. -
Uses of ValueVector in org.apache.arrow.vector.complex
Modifier and TypeInterfaceDescriptioninterface
Abstraction for all list type vectors.interface
An abstraction representing repeated value vectors.Modifier and TypeClassDescriptionclass
Base class for composite vectors.class
Base class for StructVectors.class
Base class for Vectors that contain repeated values.class
class
class
A ListVector where every list value is of the same size.class
A list vector contains lists of a specific type of elements.class
A list vector contains lists of a specific type of elements.class
A list view vector contains lists of a specific type of elements.class
A MapVector is used to store entries of key/value pairs.class
A struct vector that has no null values (and no validity buffer).class
A Struct vector consists of nullability/validity buffer and children vectors that make up the struct's fields.class
Modifier and TypeMethodDescription<T extends ValueVector>
AddOrGetResult<T>BaseRepeatedValueVector.addOrGetVector
(FieldType fieldType) Initialize the data vector (and execute callback) if it hasn't already been done, returns the data vector.<T extends ValueVector>
AddOrGetResult<T>BaseRepeatedValueViewVector.addOrGetVector
(FieldType fieldType) Initialize the data vector (and execute callback) if it hasn't already been done, returns the data vector.<T extends ValueVector>
AddOrGetResult<T>FixedSizeListVector.addOrGetVector
(FieldType type) <T extends ValueVector>
AddOrGetResult<T>LargeListVector.addOrGetVector
(FieldType fieldType) Initialize the data vector (and execute callback) if it hasn't already been done, returns the data vector.<T extends ValueVector>
AddOrGetResult<T>ListVector.addOrGetVector
(FieldType fieldType) Initialize the child data vector to field type.<T extends ValueVector>
AddOrGetResult<T>ListViewVector.addOrGetVector
(FieldType fieldType) <T extends ValueVector>
AddOrGetResult<T>PromotableVector.addOrGetVector
(FieldType type) <V extends ValueVector>
VNonNullableStructVector.getVectorById
(int id, Class<V> clazz) Gets a child vector by ordinal position and casts to the specified class.protected <T extends ValueVector>
TAbstractContainerVector.typeify
(ValueVector v, Class<T> clazz) Modifier and TypeMethodDescriptionprotected ValueVector
AbstractStructVector.getChildByOrdinal
(int id) Returns aValueVector
corresponding to the given ordinal identifier.RepeatedValueVector.getDataVector()
Get the data vector.NonNullableStructVector.StructTransferPair.getTo()
UnionVector.getVector
(int index) NonNullableStructVector.getVectorById
(int id) DenseUnionVector.getVectorByType
(byte typeId) UnionVector.getVectorByType
(int typeId) UnionVector.getVectorByType
(int typeId, ArrowType arrowType) Modifier and TypeMethodDescriptionAbstractStructVector.getPrimitiveVectors()
Get primitive child vectors.AbstractStructVector.iterator()
BaseRepeatedValueVector.iterator()
BaseRepeatedValueViewVector.iterator()
DenseUnionVector.iterator()
FixedSizeListVector.iterator()
UnionVector.iterator()
Modifier and TypeMethodDescriptionvoid
AbstractContainerVector.copyFrom
(int fromIndex, int thisIndex, ValueVector from) void
DenseUnionVector.copyFrom
(int inIndex, int outIndex, ValueVector from) void
FixedSizeListVector.copyFrom
(int fromIndex, int thisIndex, ValueVector from) void
LargeListVector.copyFrom
(int inIndex, int outIndex, ValueVector from) Copy a cell value from a particular index in source vector to a particular position in this vector.void
ListVector.copyFrom
(int inIndex, int outIndex, ValueVector from) Copy a cell value from a particular index in source vector to a particular position in this vector.void
ListViewVector.copyFrom
(int inIndex, int outIndex, ValueVector from) void
NonNullableStructVector.copyFrom
(int fromIndex, int thisIndex, ValueVector from) Copies the element at fromIndex in the provided vector to thisIndex.void
UnionVector.copyFrom
(int inIndex, int outIndex, ValueVector from) void
AbstractContainerVector.copyFromSafe
(int fromIndex, int thisIndex, ValueVector from) void
DenseUnionVector.copyFromSafe
(int inIndex, int outIndex, ValueVector from) void
FixedSizeListVector.copyFromSafe
(int inIndex, int outIndex, ValueVector from) void
LargeListVector.copyFromSafe
(int inIndex, int outIndex, ValueVector from) Same asLargeListVector.copyFrom(int, int, ValueVector)
except that it handles the case when the capacity of the vector needs to be expanded before copy.void
ListVector.copyFromSafe
(int inIndex, int outIndex, ValueVector from) Same asListVector.copyFrom(int, int, ValueVector)
except that it handles the case when the capacity of the vector needs to be expanded before copy.void
ListViewVector.copyFromSafe
(int inIndex, int outIndex, ValueVector from) void
NonNullableStructVector.copyFromSafe
(int fromIndex, int thisIndex, ValueVector from) void
UnionVector.copyFromSafe
(int inIndex, int outIndex, ValueVector from) DenseUnionVector.makeTransferPair
(ValueVector target) FixedSizeListVector.makeTransferPair
(ValueVector target) LargeListVector.makeTransferPair
(ValueVector target) ListVector.makeTransferPair
(ValueVector target) ListViewVector.makeTransferPair
(ValueVector target) MapVector.makeTransferPair
(ValueVector target) NonNullableStructVector.makeTransferPair
(ValueVector to) StructVector.makeTransferPair
(ValueVector to) UnionVector.makeTransferPair
(ValueVector target) protected <T extends ValueVector>
TAbstractContainerVector.typeify
(ValueVector v, Class<T> clazz) -
Uses of ValueVector in org.apache.arrow.vector.complex.impl
ModifierConstructorDescriptionPromotableWriter
(ValueVector v, AbstractStructVector parentContainer) Constructs a new instance.PromotableWriter
(ValueVector v, AbstractStructVector parentContainer, NullableStructWriterFactory nullableStructWriterFactory) Constructs a new instance.PromotableWriter
(ValueVector v, FixedSizeListVector fixedListVector) Constructs a new instance.PromotableWriter
(ValueVector v, FixedSizeListVector fixedListVector, NullableStructWriterFactory nullableStructWriterFactory) Constructs a new instance.PromotableWriter
(ValueVector v, LargeListVector largeListVector) Constructs a new instance.PromotableWriter
(ValueVector v, LargeListVector largeListVector, NullableStructWriterFactory nullableStructWriterFactory) Constructs a new instance.PromotableWriter
(ValueVector v, ListVector listVector) Constructs a new instance.PromotableWriter
(ValueVector v, ListVector listVector, NullableStructWriterFactory nullableStructWriterFactory) Constructs a new instance.PromotableWriter
(ValueVector v, ListViewVector listViewVector, NullableStructWriterFactory nullableStructWriterFactory) Constructs a new instance. -
Uses of ValueVector in org.apache.arrow.vector.dictionary
Modifier and TypeMethodDescriptionDictionaryEncoder.decode
(ValueVector indices) Decodes a vector with the dictionary in this encoder.static ValueVector
DictionaryEncoder.decode
(ValueVector indices, Dictionary dictionary) Decodes a dictionary encoded array using the provided dictionary.static ValueVector
DictionaryEncoder.decode
(ValueVector indices, Dictionary dictionary, BufferAllocator allocator) Decodes a dictionary encoded array using the provided dictionary.DictionaryEncoder.encode
(ValueVector vector) Encodes a vector with the built hash table in this encoder.static ValueVector
DictionaryEncoder.encode
(ValueVector vector, Dictionary dictionary) Dictionary encodes a vector with a provided dictionary.Modifier and TypeMethodDescriptionDictionaryEncoder.decode
(ValueVector indices) Decodes a vector with the dictionary in this encoder.static ValueVector
DictionaryEncoder.decode
(ValueVector indices, Dictionary dictionary) Decodes a dictionary encoded array using the provided dictionary.static ValueVector
DictionaryEncoder.decode
(ValueVector indices, Dictionary dictionary, BufferAllocator allocator) Decodes a dictionary encoded array using the provided dictionary.DictionaryEncoder.encode
(ValueVector vector) Encodes a vector with the built hash table in this encoder.static ValueVector
DictionaryEncoder.encode
(ValueVector vector, Dictionary dictionary) Dictionary encodes a vector with a provided dictionary.int
DictionaryHashTable.getIndex
(int indexInArray, ValueVector toEncode) get the corresponding dictionary index with the given index in vector which to encode.ModifierConstructorDescriptionDictionaryHashTable
(int initialCapacity, ValueVector dictionary, ArrowBufHasher hasher) Constructs an empty map with the specified initial capacity and load factor.DictionaryHashTable
(ValueVector dictionary) DictionaryHashTable
(ValueVector dictionary, ArrowBufHasher hasher) -
Uses of ValueVector in org.apache.arrow.vector.table
Modifier and TypeMethodDescriptionReturns a ValueVector containing the decoded version of the vector with the given name.Returns a ValueVector containing the encoded version of the vector with the given name. -
Uses of ValueVector in org.apache.arrow.vector.types
Modifier and TypeMethodDescriptionabstract FieldWriter
Types.MinorType.getNewFieldWriter
(ValueVector vector) -
Uses of ValueVector in org.apache.arrow.vector.util
Modifier and TypeMethodDescriptionstatic <V extends ValueVector>
voidVectorBatchAppender.batchAppend
(V targetVector, V... vectorsToAppend) Add value vectors in batch.static <V extends ValueVector>
StringValueVectorUtility.getToString
(V vector, int start, int end) Get the toString() representation of vector suitable for debugging.static <V extends ValueVector>
StringValueVectorUtility.getToString
(V vector, int start, int end, BiFunction<V, Integer, Object> valueToString) Get the toString() representation of vector suitable for debugging.Modifier and TypeMethodDescriptionTransferPair.getTo()
VectorAppender.visit
(BaseFixedWidthVector deltaVector, Void value) VectorAppender.visit
(BaseLargeVariableWidthVector deltaVector, Void value) VectorAppender.visit
(BaseVariableWidthVector deltaVector, Void value) VectorAppender.visit
(BaseVariableWidthViewVector left, Void value) VectorAppender.visit
(DenseUnionVector deltaVector, Void value) VectorAppender.visit
(FixedSizeListVector deltaVector, Void value) VectorAppender.visit
(LargeListVector deltaVector, Void value) VectorAppender.visit
(ListVector deltaVector, Void value) VectorAppender.visit
(NonNullableStructVector deltaVector, Void value) VectorAppender.visit
(UnionVector deltaVector, Void value) VectorAppender.visit
(ExtensionTypeVector<?> deltaVector, Void value) VectorAppender.visit
(NullVector deltaVector, Void value) Modifier and TypeMethodDescriptionstatic <V extends ValueVector>
voidVectorBatchAppender.batchAppend
(V targetVector, V... vectorsToAppend) Add value vectors in batch.static void
ValueVectorUtility.validate
(ValueVector vector) Utility to validate vector in O(1) time.static void
ValueVectorUtility.validateFull
(ValueVector vector) Utility to validate vector in O(n) time, where n is the value count.ModifierConstructorDescriptionVectorAppender
(ValueVector targetVector) Constructs a new targetVector appender, with the given targetVector.