- All Superinterfaces:
AutoCloseable
,Closeable
,Iterable<ValueVector>
,ValueVector
- All Known Subinterfaces:
FixedWidthVector
,VariableWidthFieldVector
,VariableWidthVector
- All Known Implementing Classes:
BaseFixedWidthVector
,BaseLargeVariableWidthVector
,BaseVariableWidthVector
,BaseVariableWidthViewVector
,BigIntVector
,BitVector
,DateDayVector
,DateMilliVector
,Decimal256Vector
,DecimalVector
,DurationVector
,FixedSizeBinaryVector
,Float2Vector
,Float4Vector
,Float8Vector
,IntervalDayVector
,IntervalMonthDayNanoVector
,IntervalYearVector
,IntVector
,LargeVarBinaryVector
,LargeVarCharVector
,SmallIntVector
,TimeMicroVector
,TimeMilliVector
,TimeNanoVector
,TimeSecVector
,TimeStampMicroTZVector
,TimeStampMicroVector
,TimeStampMilliTZVector
,TimeStampMilliVector
,TimeStampNanoTZVector
,TimeStampNanoVector
,TimeStampSecTZVector
,TimeStampSecVector
,TimeStampVector
,TinyIntVector
,UInt1Vector
,UInt2Vector
,UInt4Vector
,UInt8Vector
,VarBinaryVector
,VarCharVector
,ViewVarBinaryVector
,ViewVarCharVector
Vector for which each data element resides in a continuous memory region, so it can be pointed to
by an
ArrowBufPointer
.-
Method Summary
Modifier and TypeMethodDescriptiongetDataPointer
(int index) Gets the pointer for the data at the given index.getDataPointer
(int index, ArrowBufPointer reuse) Gets the pointer for the data at the given index.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
-
getDataPointer
Gets the pointer for the data at the given index.- Parameters:
index
- the index for the data.- Returns:
- the pointer to the data.
-
getDataPointer
Gets the pointer for the data at the given index.- Parameters:
index
- the index for the data.reuse
- the data pointer to fill, this avoids creating a new pointer object.- Returns:
- the pointer to the data, it should be the same one as the input parameter
-