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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgenerateTestData(int values) voidreset()Resets the mutator to pristine state.voidsetValueCount(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.MutatorSets 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.MutatorResets the mutator to pristine state.- Specified by:
resetin interfaceValueVector.Mutator- Overrides:
resetin classBaseValueVector.BaseMutator
-
generateTestData
public void generateTestData(int values) - Specified by:
generateTestDatain interfaceValueVector.Mutator- Overrides:
generateTestDatain classBaseValueVector.BaseMutator
-