public class VectorAccessibleComplexWriter extends MapVector
MapVector.Accessor, MapVector.MapTransferPair, MapVector.Mutator
allocator, callBack, field
BITS_VECTOR_NAME, MAX_BUFFER_SIZE, MAX_ROW_COUNT, MIN_ROW_COUNT, OFFSETS_VECTOR_NAME, VALUES_VECTOR_NAME
Constructor and Description |
---|
VectorAccessibleComplexWriter(VectorContainer vc) |
Modifier and Type | Method and Description |
---|---|
<T extends ValueVector> |
addOrGet(String name,
TypeProtos.MajorType type,
Class<T> clazz)
Adds a new field with the given parameters or replaces the existing one and consequently returns the resultant
ValueVector . |
static BaseWriter.ComplexWriter |
getWriter(String name,
VectorContainer container) |
clear, close, copyEntry, copyFromSafe, copyFromSafe, exchange, fieldNameIterator, getAccessor, getAllocatedSize, getBuffers, getBufferSize, getBufferSizeFor, getMetadata, getMutator, getReader, getTransferPair, getTransferPair, getValueCapacity, getVectorById, load, makeTransferPair, setInitialCapacity, setMapValueCount, supportsDirectRead, toNullable
allocateNewSafe, collectLedgers, getChild, getChildByOrdinal, getChildren, getChildVectorWithOrdinal, getPayloadByteCount, getPrimitiveVectors, iterator, putChild, putVector, size
allocateNew, getAllocator, getChild, getChildFieldNames, getField, typeify
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public VectorAccessibleComplexWriter(VectorContainer vc)
public <T extends ValueVector> T addOrGet(String name, TypeProtos.MajorType type, Class<T> clazz)
AbstractMapVector
ValueVector
.
Execution takes place in the following order:
IllegalStateException
addOrGet
in class AbstractMapVector
T
- class type of expected vector typename
- name of the fieldtype
- type of the fieldclazz
- class of expected vector typeValueVector
public static BaseWriter.ComplexWriter getWriter(String name, VectorContainer container)
Copyright © 1970 The Apache Software Foundation. All rights reserved.