Class MapVector.Mutator
java.lang.Object
org.apache.drill.exec.vector.BaseValueVector.BaseMutator
org.apache.drill.exec.vector.complex.MapVector.Mutator
- All Implemented Interfaces:
ValueVector.Mutator
- Enclosing class:
- MapVector
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
generateTestData
(int values) void
reset()
Resets the mutator to pristine state.void
setValueCount
(int valueCount) Sets the number of values that is stored in this vector to the given value count.Methods inherited from class org.apache.drill.exec.vector.BaseValueVector.BaseMutator
exchange
-
Constructor Details
-
Mutator
public Mutator()
-
-
Method Details
-
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.- Parameters:
valueCount
- value count to set.
-
reset
public void reset()Description copied from interface:ValueVector.Mutator
Resets the mutator to pristine state.- Specified by:
reset
in interfaceValueVector.Mutator
- Overrides:
reset
in classBaseValueVector.BaseMutator
-
generateTestData
public void generateTestData(int values) - Specified by:
generateTestData
in interfaceValueVector.Mutator
- Overrides:
generateTestData
in classBaseValueVector.BaseMutator
-