public interface FieldVector extends ValueVector
ValueVector.Accessor, ValueVector.Mutator
Modifier and Type | Method and Description |
---|---|
List<FieldVector> |
getChildrenFromFields()
the returned list is the same size as the list passed to initializeChildrenFromFields
|
List<ArrowBuf> |
getFieldBuffers()
(same size as getFieldVectors() since it is their content)
|
List<BufferBacked> |
getFieldInnerVectors() |
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, getAccessor, getAllocator, getBuffers, getBufferSize, getBufferSizeFor, getField, getMinorType, getMutator, getReader, getTransferPair, getTransferPair, getTransferPair, getValueCapacity, makeTransferPair, reAlloc, setInitialCapacity
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()
Copyright © 2017 The Apache Software Foundation. All rights reserved.