public interface FieldVector extends ValueVector
Modifier and Type | Method and Description |
---|---|
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()
Get the buffers of the fields, (same size as getFieldVectors() since it is their content).
|
List<BufferBacked> |
getFieldInnerVectors()
Deprecated.
This API will be removed as the current implementations no longer support inner vectors.
|
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.
|
void |
setNull(int index)
Set the element at the given index to null.
|
accept, allocateNew, allocateNewSafe, clear, close, copyFrom, copyFromSafe, getAllocator, getBuffers, getBufferSize, getBufferSizeFor, getDataBuffer, getField, getMinorType, getName, getNullCount, getObject, getOffsetBuffer, getReader, getTransferPair, getTransferPair, getTransferPair, getValidityBuffer, getValueCapacity, getValueCount, hashCode, hashCode, isNull, makeTransferPair, reAlloc, reset, setInitialCapacity, setValueCount, validate, validateFull
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()
@Deprecated List<BufferBacked> getFieldInnerVectors()
long getValidityBufferAddress()
long getDataBufferAddress()
long getOffsetBufferAddress()
void setNull(int index)
index
- the value to changeCopyright © 2023 The Apache Software Foundation. All rights reserved.