public interface FieldVector extends ValueVector
修飾子とタイプ | メソッドと説明 |
---|---|
List<FieldVector> |
getChildrenFromFields()
the returned list is the same size as the list passed to initializeChildrenFromFields
|
long |
getDataBufferAddress()
Gets the starting address of the underlying buffer associated with data vector
|
List<ArrowBuf> |
getFieldBuffers()
(same size as getFieldVectors() since it is their content)
|
List<BufferBacked> |
getFieldInnerVectors() |
long |
getOffsetBufferAddress()
Gets the starting address of the underlying buffer associated with offset vector
|
long |
getValidityBufferAddress()
Gets the starting address of the underlying buffer associated with validity vector
|
void |
initializeChildrenFromFields(List<Field> children)
Initializes the child vectors
to be later loaded with loadBuffers
|
void |
loadFieldBuffers(ArrowFieldNode fieldNode,
List<ArrowBuf> ownBuffers)
loads data in the vectors
(ownBuffers must be the same size as getFieldVectors())
|
allocateNew, allocateNewSafe, clear, close, getAllocator, getBuffers, getBufferSize, getBufferSizeFor, getDataBuffer, getField, getMinorType, getNullCount, getObject, getOffsetBuffer, getReader, getTransferPair, getTransferPair, getTransferPair, getValidityBuffer, getValueCapacity, getValueCount, isNull, makeTransferPair, reAlloc, reset, setInitialCapacity, setValueCount
forEach, iterator, spliterator
void initializeChildrenFromFields(List<Field> children)
children
- the schemaList<FieldVector> getChildrenFromFields()
void loadFieldBuffers(ArrowFieldNode fieldNode, List<ArrowBuf> ownBuffers)
fieldNode
- the fieldNodeownBuffers
- the buffers for this Field (own buffers only, children not included)List<ArrowBuf> getFieldBuffers()
List<BufferBacked> getFieldInnerVectors()
long getValidityBufferAddress()
long getDataBufferAddress()
long getOffsetBufferAddress()
Copyright © 2018 The Apache Software Foundation. All rights reserved.