public final class TimeStampSecVector extends TimeStampVector
TimeStampVector.TransferImplTYPE_WIDTHactualValueCapacity, field, lastValueCapacity, validityBuffer, valueBuffer, valueCountallocator, fieldReader, INITIAL_VALUE_ALLOCATION, MAX_ALLOCATION_SIZE, MAX_ALLOCATION_SIZE_PROPERTY| Constructor and Description |
|---|
TimeStampSecVector(Field field,
BufferAllocator allocator)
Instantiate a TimeStampSecVector.
|
TimeStampSecVector(String name,
BufferAllocator allocator)
Instantiate a TimeStampSecVector.
|
TimeStampSecVector(String name,
FieldType fieldType,
BufferAllocator allocator)
Instantiate a TimeStampSecVector.
|
| Modifier and Type | Method and Description |
|---|---|
void |
get(int index,
NullableTimeStampSecHolder holder)
Get the element at the given index from the vector and
sets the state in holder.
|
Types.MinorType |
getMinorType()
Get minor type for this vector.
|
LocalDateTime |
getObject(int index)
Same as
TimeStampVector.get(int). |
protected FieldReader |
getReaderImpl()
Each vector has a different reader that implements the FieldReader interface.
|
TransferPair |
getTransferPair(Field field,
BufferAllocator allocator)
Construct a TransferPair comprising this and a target vector of
the same type.
|
TransferPair |
getTransferPair(String ref,
BufferAllocator allocator)
Construct a TransferPair comprising this and a target vector of
the same type.
|
TransferPair |
makeTransferPair(ValueVector to)
Construct a TransferPair with a desired target vector of the same type.
|
void |
set(int index,
NullableTimeStampSecHolder holder)
Set the element at the given index to the value set in data holder.
|
void |
set(int index,
TimeStampSecHolder holder)
Set the element at the given index to the value set in data holder.
|
void |
setSafe(int index,
NullableTimeStampSecHolder holder)
Same as
set(int, NullableTimeStampSecHolder) except that it handles the
case when index is greater than or equal to existing
value capacity BaseFixedWidthVector.getValueCapacity(). |
void |
setSafe(int index,
TimeStampSecHolder holder)
Same as
set(int, TimeStampSecHolder) except that it handles the
case when index is greater than or equal to existing
value capacity BaseFixedWidthVector.getValueCapacity(). |
get, get, set, set, setSafe, setSafe, setValueaccept, allocateNew, allocateNew, allocateNewSafe, clear, close, copyFrom, copyFromSafe, decrementAllocationMonitor, getBuffers, getBufferSize, getBufferSizeFor, getChildrenFromFields, getDataBuffer, getDataBufferAddress, getDataPointer, getDataPointer, getField, getFieldBuffers, getFieldInnerVectors, getName, getNullCount, getOffsetBuffer, getOffsetBufferAddress, getTransferPair, getTransferPair, getTransferPair, getTypeWidth, getValidityBuffer, getValidityBufferAddress, getValidityBufferValueCapacity, getValueBufferValueCapacity, getValueCapacity, getValueCount, handleSafe, hashCode, hashCode, incrementAllocationMonitor, initializeChildrenFromFields, isNull, isSafe, isSet, loadFieldBuffers, reAlloc, refreshValueCapacity, reset, set, set, setIndexDefined, setInitialCapacity, setNull, setSafe, setSafe, setValueCount, splitAndTransferTo, transferTo, validateScalars, zeroVectorcheckBufRefs, getAllocator, getReader, getValidityBufferSizeFromCount, iterator, releaseBuffer, toString, transferBufferclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAllocator, getReader, validate, validateFullforEach, iterator, spliteratorexportBuffer, exportCDataBufferspublic TimeStampSecVector(String name, BufferAllocator allocator)
name - name of the vectorallocator - allocator for memory management.public TimeStampSecVector(String name, FieldType fieldType, BufferAllocator allocator)
name - name of the vectorfieldType - type of Field materialized by this vectorallocator - allocator for memory management.public TimeStampSecVector(Field field, BufferAllocator allocator)
field - Field materialized by this vectorallocator - allocator for memory management.protected FieldReader getReaderImpl()
BaseValueVectorgetReaderImpl in class BaseValueVectorpublic Types.MinorType getMinorType()
Types.MinorTypepublic void get(int index,
NullableTimeStampSecHolder holder)
index - position of elementpublic LocalDateTime getObject(int index)
TimeStampVector.get(int).index - position of elementpublic void set(int index,
NullableTimeStampSecHolder holder)
throws IllegalArgumentException
index - position of elementholder - nullable data holder for value of elementIllegalArgumentExceptionpublic void set(int index,
TimeStampSecHolder holder)
index - position of elementholder - data holder for value of elementpublic void setSafe(int index,
NullableTimeStampSecHolder holder)
throws IllegalArgumentException
set(int, NullableTimeStampSecHolder) except that it handles the
case when index is greater than or equal to existing
value capacity BaseFixedWidthVector.getValueCapacity().index - position of elementholder - nullable data holder for value of elementIllegalArgumentExceptionpublic void setSafe(int index,
TimeStampSecHolder holder)
set(int, TimeStampSecHolder) except that it handles the
case when index is greater than or equal to existing
value capacity BaseFixedWidthVector.getValueCapacity().index - position of elementholder - data holder for value of elementpublic TransferPair getTransferPair(String ref, BufferAllocator allocator)
getTransferPair in interface ValueVectorgetTransferPair in class BaseFixedWidthVectorref - name of the target vectorallocator - allocator for the target vectorTransferPairpublic TransferPair getTransferPair(Field field, BufferAllocator allocator)
getTransferPair in interface ValueVectorgetTransferPair in class BaseFixedWidthVectorfield - Field object used by the target vectorallocator - allocator for the target vectorTransferPairpublic TransferPair makeTransferPair(ValueVector to)
to - target vectorTransferPairCopyright © 2024 The Apache Software Foundation. All rights reserved.