public final class TimeNanoVector.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,
NullableTimeNanoHolder holder) |
protected void |
set(int index,
TimeNanoHolder holder) |
void |
setSafe(int index,
long value) |
void |
setSafe(int index,
NullableTimeNanoHolder holder) |
void |
setSafe(int index,
TimeNanoHolder 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, TimeNanoHolder holder)
public void setSafe(int index, TimeNanoHolder holder)
protected void set(int index, NullableTimeNanoHolder holder)
public void setSafe(int index, NullableTimeNanoHolder 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.