public static class IcebergArrowVectors.DecimalArrowVector
extends org.apache.arrow.vector.DecimalVector
DecimalVector
. The whole reason of having this implementation is to override the
expensive BaseFixedWidthVector.isSet(int)
method used by DecimalVector.getObject(int)
.Constructor and Description |
---|
DecimalArrowVector(java.lang.String name,
org.apache.arrow.memory.BufferAllocator allocator,
int precision,
int scale) |
Modifier and Type | Method and Description |
---|---|
int |
isSet(int index)
Same as
BaseFixedWidthVector.isNull(int) . |
void |
setNullabilityHolder(NullabilityHolder nullabilityHolder) |
copyFrom, copyFromSafe, get, get, getMinorType, getObject, getReader, getScale, getTransferPair, makeTransferPair, set, set, set, set, set, set, set, setBigEndian, setBigEndianSafe, setBigEndianSafe, setNull, setSafe, setSafe, setSafe, setSafe, setSafe, setSafe, setSafe, setSafe
allocateNew, allocateNew, allocateNewSafe, clear, close, decrementAllocationMonitor, getBuffers, getBufferSize, getBufferSizeFor, getChildrenFromFields, getDataBuffer, getDataBufferAddress, getField, getFieldBuffers, getFieldInnerVectors, getNullCount, getOffsetBuffer, getOffsetBufferAddress, getTransferPair, getTransferPair, getValidityBuffer, getValidityBufferAddress, getValueCapacity, getValueCount, handleSafe, incrementAllocationMonitor, initializeChildrenFromFields, isNull, isSafe, loadFieldBuffers, reAlloc, reset, set, set, setIndexDefined, setInitialCapacity, setSafe, setSafe, setValueCount, splitAndTransferTo, transferTo, zeroVector
checkBufRefs, getAllocator, getValidityBufferSizeFromCount, iterator, releaseBuffer, toString, transferBuffer
public DecimalArrowVector(java.lang.String name, org.apache.arrow.memory.BufferAllocator allocator, int precision, int scale)
public int isSet(int index)
BaseFixedWidthVector.isNull(int)
.isSet
in class org.apache.arrow.vector.BaseFixedWidthVector
index
- position of elementpublic void setNullabilityHolder(NullabilityHolder nullabilityHolder)