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.
|
resetpublic 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.MutatorgenerateTestData in class BaseValueVector.BaseMutatorpublic void setValueCount(int valueCount)
ValueVector.MutatorvalueCount - value count to set.Copyright © 2016 The Apache Software Foundation. All rights reserved.