public final class NullableDecimalVector.Mutator extends BaseValueVector.BaseMutator implements NullableVectorDefinitionSetter
| Modifier and Type | Method and Description |
|---|---|
void |
generateTestData(int valueCount) |
DecimalVector |
getVectorWithValues() |
boolean |
isSafe(int outIndex) |
void |
reset()
Resets the mutator to pristine state.
|
void |
set(int index,
ArrowBuf value)
Set the variable length element at the specified index to the supplied byte array.
|
void |
set(int index,
DecimalHolder holder) |
void |
set(int index,
int isSet,
int startField,
ArrowBuf bufferField) |
void |
set(int index,
NullableDecimalHolder holder) |
void |
setIndexDefined(int index) |
void |
setNull(int index) |
void |
setSafe(int index,
ArrowBuf value) |
void |
setSafe(int index,
byte[] value,
int start,
int length) |
void |
setSafe(int index,
ByteBuffer value,
int start,
int length) |
void |
setSafe(int index,
DecimalHolder value) |
void |
setSafe(int index,
int isSet,
int startField,
ArrowBuf bufferField) |
void |
setSafe(int index,
NullableDecimalHolder value) |
void |
setSkipNull(int index,
DecimalHolder holder) |
void |
setSkipNull(int index,
NullableDecimalHolder holder) |
void |
setValueCount(int valueCount)
Sets the number of values that is stored in this vector to the given value count.
|
public DecimalVector getVectorWithValues()
public void setIndexDefined(int index)
setIndexDefined in interface NullableVectorDefinitionSetterpublic void set(int index,
ArrowBuf value)
index - position of the bit to setbytes - array of bytes to writepublic void setSafe(int index,
byte[] value,
int start,
int length)
public void setSafe(int index,
ByteBuffer value,
int start,
int length)
public void setNull(int index)
public void setSkipNull(int index,
DecimalHolder holder)
public void setSkipNull(int index,
NullableDecimalHolder holder)
public void set(int index,
NullableDecimalHolder holder)
public void set(int index,
DecimalHolder holder)
public boolean isSafe(int outIndex)
public void set(int index,
int isSet,
int startField,
ArrowBuf bufferField)
public void setSafe(int index,
int isSet,
int startField,
ArrowBuf bufferField)
public void setSafe(int index,
NullableDecimalHolder value)
public void setSafe(int index,
DecimalHolder value)
public void setSafe(int index,
ArrowBuf value)
public void setValueCount(int valueCount)
ValueVector.MutatorsetValueCount in interface ValueVector.MutatorvalueCount - value count to set.public void generateTestData(int valueCount)
generateTestData in interface ValueVector.MutatorgenerateTestData in class BaseValueVector.BaseMutatorpublic void reset()
ValueVector.Mutatorreset in interface ValueVector.Mutatorreset in class BaseValueVector.BaseMutatorCopyright © 2016 The Apache Software Foundation. All rights reserved.