public final class SmallIntVector.Mutator extends BaseValueVector.BaseMutator
| Modifier and Type | Method and Description |
|---|---|
void |
generateTestData(int size) |
void |
generateTestDataAlt(int size) |
void |
set(int index,
int value)
Set the element at the given index to the given value.
|
protected void |
set(int index,
NullableSmallIntHolder holder) |
protected void |
set(int index,
SmallIntHolder holder) |
void |
setSafe(int index,
int value) |
void |
setSafe(int index,
NullableSmallIntHolder holder) |
void |
setSafe(int index,
SmallIntHolder holder) |
void |
setValueCount(int valueCount)
Sets the number of values that is stored in this vector to the given value count.
|
resetpublic void set(int index,
int value)
index - position of the bit to setvalue - value to setpublic void setSafe(int index,
int value)
protected void set(int index,
SmallIntHolder holder)
public void setSafe(int index,
SmallIntHolder holder)
protected void set(int index,
NullableSmallIntHolder holder)
public void setSafe(int index,
NullableSmallIntHolder holder)
public void generateTestData(int size)
generateTestData in interface ValueVector.MutatorgenerateTestData in class BaseValueVector.BaseMutatorpublic void generateTestDataAlt(int size)
public void setValueCount(int valueCount)
ValueVector.MutatorvalueCount - value count to set.Copyright © 2016 The Apache Software Foundation. All rights reserved.