public final class IntervalVector.Mutator extends BaseValueVector.BaseMutator
IntervalVector.VALUE_WIDTH
(= 16)
byte(s).Modifier and Type | Method and Description |
---|---|
void |
generateTestData(int count) |
void |
set(int index,
DrillBuf value)
Set the element at the given index to the given value.
|
protected void |
set(int index,
IntervalHolder holder) |
void |
set(int index,
int months,
int days,
int milliseconds) |
protected void |
set(int index,
NullableIntervalHolder holder) |
void |
setSafe(int index,
DrillBuf value) |
void |
setSafe(int index,
IntervalHolder holder) |
void |
setSafe(int index,
int months,
int days,
int milliseconds) |
void |
setSafe(int index,
NullableIntervalHolder holder) |
void |
setValueCount(int valueCount)
Sets the number of values that is stored in this vector to the given value count.
|
exchange, reset
public void set(int index, DrillBuf value)
index
- position of the bit to setvalue
- value to setpublic void setSafe(int index, DrillBuf value)
public void set(int index, int months, int days, int milliseconds)
public void setSafe(int index, int months, int days, int milliseconds)
protected void set(int index, IntervalHolder holder)
public void setSafe(int index, IntervalHolder holder)
protected void set(int index, NullableIntervalHolder holder)
public void setSafe(int index, NullableIntervalHolder holder)
public void generateTestData(int count)
generateTestData
in interface ValueVector.Mutator
generateTestData
in class BaseValueVector.BaseMutator
public void setValueCount(int valueCount)
ValueVector.Mutator
valueCount
- value count to set.Copyright © 1970 The Apache Software Foundation. All rights reserved.