public final class IntervalDayVector.Mutator extends BaseValueVector.BaseMutator
IntervalDayVector.VALUE_WIDTH
(= 12)
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,
IntervalDayHolder holder) |
void |
set(int index,
int days,
int milliseconds) |
protected void |
set(int index,
NullableIntervalDayHolder holder) |
void |
setSafe(int index,
DrillBuf value) |
void |
setSafe(int index,
IntervalDayHolder holder) |
void |
setSafe(int index,
int days,
int milliseconds) |
void |
setSafe(int index,
NullableIntervalDayHolder 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 days, int milliseconds)
public void setSafe(int index, int days, int milliseconds)
protected void set(int index, IntervalDayHolder holder)
public void setSafe(int index, IntervalDayHolder holder)
protected void set(int index, NullableIntervalDayHolder holder)
public void setSafe(int index, NullableIntervalDayHolder 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.