public final class Decimal18Vector.Mutator extends BaseValueVector.BaseMutator
Decimal18Vector.VALUE_WIDTH
(= 8)
byte(s).Modifier and Type | Method and Description |
---|---|
void |
generateTestData(int size) |
void |
generateTestDataAlt(int size) |
protected void |
set(int index,
Decimal18Holder holder) |
void |
set(int index,
long value)
Set the element at the given index to the given value.
|
protected void |
set(int index,
NullableDecimal18Holder holder) |
void |
setSafe(int index,
Decimal18Holder holder) |
void |
setSafe(int index,
long value)
Set the value of a required or nullable vector.
|
void |
setSafe(int index,
NullableDecimal18Holder 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, long value)
index
- position of the bit to setvalue
- value to setpublic void setSafe(int index, long value)
index
- item to writeprotected void set(int index, Decimal18Holder holder)
public void setSafe(int index, Decimal18Holder holder)
protected void set(int index, NullableDecimal18Holder holder)
public void setSafe(int index, NullableDecimal18Holder holder)
public void generateTestData(int size)
generateTestData
in interface ValueVector.Mutator
generateTestData
in class BaseValueVector.BaseMutator
public void generateTestDataAlt(int size)
public void setValueCount(int valueCount)
ValueVector.Mutator
valueCount
- value count to set.Copyright © 1970 The Apache Software Foundation. All rights reserved.