public abstract class AbstractRepeatedMapVector.Mutator extends Object implements RepeatedValueVector.RepeatedMutator
| Constructor and Description |
|---|
Mutator() |
| Modifier and Type | Method and Description |
|---|---|
int |
add(int index) |
void |
exchange(ValueVector.Mutator other)
Exchanges state with the mutator of another mutator.
|
void |
generateTestData(int values) |
void |
reset()
Resets the mutator to pristine state.
|
void |
setValueCount(int topLevelValueCount)
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.
|
public void startNewValue(int index)
RepeatedValueVector.RepeatedMutatorstartNewValue in interface RepeatedValueVector.RepeatedMutatorindex - index of new value to startpublic void setValueCount(int topLevelValueCount)
ValueVector.MutatorsetValueCount in interface ValueVector.MutatortopLevelValueCount - value count to set.public void reset()
ValueVector.Mutatorreset in interface ValueVector.Mutatorpublic void generateTestData(int values)
generateTestData in interface ValueVector.Mutatorpublic int add(int index)
public void exchange(ValueVector.Mutator other)
ValueVector.Mutatorexchange in interface ValueVector.MutatorCopyright © 2021 The Apache Software Foundation. All rights reserved.