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