Class BaseRepeatedValueVector.BaseRepeatedMutator
java.lang.Object
org.apache.drill.exec.vector.BaseValueVector.BaseMutator
org.apache.drill.exec.vector.complex.BaseRepeatedValueVector.BaseRepeatedMutator
- All Implemented Interfaces:
RepeatedValueVector.RepeatedMutator
,ValueVector.Mutator
- Direct Known Subclasses:
ListVector.Mutator
,RepeatedBigIntVector.Mutator
,RepeatedBitVector.Mutator
,RepeatedDateVector.Mutator
,RepeatedDecimal18Vector.Mutator
,RepeatedDecimal28DenseVector.Mutator
,RepeatedDecimal28SparseVector.Mutator
,RepeatedDecimal38DenseVector.Mutator
,RepeatedDecimal38SparseVector.Mutator
,RepeatedDecimal9Vector.Mutator
,RepeatedDictVector.Mutator
,RepeatedFloat4Vector.Mutator
,RepeatedFloat8Vector.Mutator
,RepeatedIntervalDayVector.Mutator
,RepeatedIntervalVector.Mutator
,RepeatedIntervalYearVector.Mutator
,RepeatedIntVector.Mutator
,RepeatedListVector.DelegateRepeatedVector.RepeatedListMutator
,RepeatedSmallIntVector.Mutator
,RepeatedTimeStampVector.Mutator
,RepeatedTimeVector.Mutator
,RepeatedTinyIntVector.Mutator
,RepeatedUInt1Vector.Mutator
,RepeatedUInt2Vector.Mutator
,RepeatedUInt4Vector.Mutator
,RepeatedUInt8Vector.Mutator
,RepeatedVar16CharVector.Mutator
,RepeatedVarBinaryVector.Mutator
,RepeatedVarCharVector.Mutator
,RepeatedVarDecimalVector.Mutator
- Enclosing class:
- BaseRepeatedValueVector
public abstract class BaseRepeatedValueVector.BaseRepeatedMutator
extends BaseValueVector.BaseMutator
implements RepeatedValueVector.RepeatedMutator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getInnerValueCountAt
(int index) void
setValueCount
(int valueCount) Sets the number of values that is stored in this vector to the given value count.void
startNewValue
(int index) Starts a new value that is a container of cells.Methods inherited from class org.apache.drill.exec.vector.BaseValueVector.BaseMutator
exchange, generateTestData, reset
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.drill.exec.vector.ValueVector.Mutator
exchange, generateTestData, reset
-
Constructor Details
-
BaseRepeatedMutator
public BaseRepeatedMutator()
-
-
Method Details
-
startNewValue
public void startNewValue(int index) Description copied from interface:RepeatedValueVector.RepeatedMutator
Starts a new value that is a container of cells.- Specified by:
startNewValue
in interfaceRepeatedValueVector.RepeatedMutator
- Parameters:
index
- index of new value to start
-
setValueCount
public void setValueCount(int valueCount) Description copied from interface:ValueVector.Mutator
Sets the number of values that is stored in this vector to the given value count. WARNING! Once the valueCount is set, the vector should be considered immutable.- Specified by:
setValueCount
in interfaceValueVector.Mutator
- Parameters:
valueCount
- value count to set.
-
getInnerValueCountAt
public int getInnerValueCountAt(int index)
-