- All Superinterfaces:
AutoCloseable
,Closeable
,ElementAddressableVector
,Iterable<ValueVector>
,ValueVector
- All Known Implementing Classes:
BaseFixedWidthVector
,BigIntVector
,BitVector
,DateDayVector
,DateMilliVector
,Decimal256Vector
,DecimalVector
,DurationVector
,FixedSizeBinaryVector
,Float2Vector
,Float4Vector
,Float8Vector
,IntervalDayVector
,IntervalMonthDayNanoVector
,IntervalYearVector
,IntVector
,SmallIntVector
,TimeMicroVector
,TimeMilliVector
,TimeNanoVector
,TimeSecVector
,TimeStampMicroTZVector
,TimeStampMicroVector
,TimeStampMilliTZVector
,TimeStampMilliVector
,TimeStampNanoTZVector
,TimeStampNanoVector
,TimeStampSecTZVector
,TimeStampSecVector
,TimeStampVector
,TinyIntVector
,UInt1Vector
,UInt2Vector
,UInt4Vector
,UInt8Vector
Interface for all fixed width
ElementAddressableVector
(e.g. integer, fixed size binary,
etc).-
Method Summary
Modifier and TypeMethodDescriptionvoid
allocateNew
(int valueCount) Allocate a new memory space for this vector.void
Zero out the underlying buffer backing this vector.Methods inherited from interface org.apache.arrow.vector.ElementAddressableVector
getDataPointer, getDataPointer
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
Methods inherited from interface org.apache.arrow.vector.ValueVector
accept, allocateNew, allocateNewSafe, clear, close, copyFrom, copyFromSafe, getAllocator, getBuffers, getBufferSize, getBufferSizeFor, getDataBuffer, getField, getMinorType, getName, getNullCount, getObject, getOffsetBuffer, getReader, getTransferPair, getTransferPair, getTransferPair, getTransferPair, getTransferPair, getValidityBuffer, getValueCapacity, getValueCount, hashCode, hashCode, isNull, makeTransferPair, reAlloc, reset, setInitialCapacity, setValueCount, validate, validateFull
-
Method Details
-
allocateNew
void allocateNew(int valueCount) Allocate a new memory space for this vector. Must be called prior to using the ValueVector.- Parameters:
valueCount
- Number of values in the vector.
-
zeroVector
void zeroVector()Zero out the underlying buffer backing this vector.
-