public final class DecimalVector.Mutator extends BaseValueVector.BaseMutator
Modifier and Type | Method and Description |
---|---|
void |
generateTestData(int count) |
void |
set(int index,
ArrowBuf value)
Set the element at the given index to the given value.
|
void |
set(int index,
DecimalHolder holder) |
void |
set(int index,
int start,
ArrowBuf buffer) |
void |
setSafe(int index,
ArrowBuf value) |
void |
setSafe(int index,
DecimalHolder holder) |
void |
setSafe(int index,
int start,
ArrowBuf buffer) |
void |
setSafe(int index,
NullableDecimalHolder 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, ArrowBuf value)
index
- position of the bit to setvalue
- value to setpublic void setSafe(int index, ArrowBuf value)
public void set(int index, DecimalHolder holder)
public void setSafe(int index, NullableDecimalHolder holder)
public void setSafe(int index, DecimalHolder holder)
public void setSafe(int index, int start, ArrowBuf buffer)
public void set(int index, int start, ArrowBuf buffer)
public void generateTestData(int count)
generateTestData
in interface ValueVector.Mutator
generateTestData
in class BaseValueVector.BaseMutator
count
- the number of values to generatepublic void setValueCount(int valueCount)
ValueVector.Mutator
valueCount
- value count to set.Copyright © 2017 The Apache Software Foundation. All rights reserved.