public class TimeStampNanoTZVector extends TimeStampVector
TimeStampVector.TransferImplTYPE_WIDTHfield, validityAllocationSizeInBytes, validityBuffer, valueAllocationSizeInBytes, valueBuffer, valueCountallocator, INITIAL_VALUE_ALLOCATION, MAX_ALLOCATION_SIZE, MAX_ALLOCATION_SIZE_PROPERTY, name| Constructor and Description |
|---|
TimeStampNanoTZVector(String name,
BufferAllocator allocator,
String timeZone)
Instantiate a TimeStampNanoTZVector.
|
TimeStampNanoTZVector(String name,
FieldType fieldType,
BufferAllocator allocator)
Instantiate a TimeStampNanoTZVector.
|
| Modifier and Type | Method and Description |
|---|---|
void |
get(int index,
NullableTimeStampNanoTZHolder 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.
|
Long |
getObject(int index)
Same as
TimeStampVector.get(int). |
FieldReader |
getReader()
Get a reader that supports reading values from this vector
|
TransferPair |
getTransferPair(String ref,
BufferAllocator allocator)
Construct a TransferPair comprising of this and 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,
NullableTimeStampNanoTZHolder holder)
Set the element at the given index to the value set in data holder.
|
void |
set(int index,
TimeStampNanoTZHolder holder)
Set the element at the given index to the value set in data holder.
|
void |
setSafe(int index,
NullableTimeStampNanoTZHolder holder)
Same as
set(int, NullableTimeStampNanoTZHolder) except that it handles the
case when index is greater than or equal to existing
value capacity BaseFixedWidthVector.getValueCapacity(). |
void |
setSafe(int index,
TimeStampNanoTZHolder holder)
Same as
set(int, TimeStampNanoTZHolder) except that it handles the
case when index is greater than or equal to existing
value capacity BaseFixedWidthVector.getValueCapacity(). |
copyFrom, copyFromSafe, get, get, set, set, setNull, setSafe, setSafe, setValueallocateNew, 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, isSet, loadFieldBuffers, reAlloc, reset, set, set, setIndexDefined, setInitialCapacity, setSafe, setSafe, setValueCount, splitAndTransferTo, transferTo, zeroVectorcheckBufRefs, compareTypes, getAllocator, getValidityBufferSizeFromCount, iterator, releaseBuffer, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAllocatorpublic TimeStampNanoTZVector(String name, BufferAllocator allocator, String timeZone)
name - name of the vectorallocator - allocator for memory management.public TimeStampNanoTZVector(String name, FieldType fieldType, BufferAllocator allocator)
name - name of the vectorfieldType - type of Field materialized by this vectorallocator - allocator for memory management.public FieldReader getReader()
public Types.MinorType getMinorType()
Types.MinorTypepublic void get(int index,
NullableTimeStampNanoTZHolder holder)
index - position of elementpublic Long getObject(int index)
TimeStampVector.get(int).index - position of elementpublic void set(int index,
NullableTimeStampNanoTZHolder holder)
throws IllegalArgumentException
index - position of elementholder - nullable data holder for value of elementIllegalArgumentExceptionpublic void set(int index,
TimeStampNanoTZHolder holder)
index - position of elementholder - data holder for value of elementpublic void setSafe(int index,
NullableTimeStampNanoTZHolder holder)
throws IllegalArgumentException
set(int, NullableTimeStampNanoTZHolder) 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,
TimeStampNanoTZHolder holder)
set(int, TimeStampNanoTZHolder) 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 makeTransferPair(ValueVector to)
to - target vectorTransferPairCopyright © 2017 The Apache Software Foundation. All rights reserved.