Class ListVector.Mutator
java.lang.Object
org.apache.drill.exec.vector.BaseValueVector.BaseMutator
org.apache.drill.exec.vector.complex.BaseRepeatedValueVector.BaseRepeatedMutator
org.apache.drill.exec.vector.complex.ListVector.Mutator
- All Implemented Interfaces:
RepeatedValueVector.RepeatedMutator
,ValueVector.Mutator
- Enclosing class:
- ListVector
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setNotNull
(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.complex.BaseRepeatedValueVector.BaseRepeatedMutator
getInnerValueCountAt
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
-
Mutator
public Mutator()
-
-
Method Details
-
setNotNull
public void setNotNull(int index) -
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
- Overrides:
startNewValue
in classBaseRepeatedValueVector.BaseRepeatedMutator
- 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
- Overrides:
setValueCount
in classBaseRepeatedValueVector.BaseRepeatedMutator
- Parameters:
valueCount
- value count to set.
-