public final class NullableDecimal38SparseVector.Mutator extends BaseValueVector.BaseMutator implements NullableVectorDefinitionSetter, NullableVector.Mutator
Modifier and Type | Method and Description |
---|---|
void |
exchange(ValueVector.Mutator other)
Exchanges state with the mutator of another mutator.
|
void |
fromNotNullable(Decimal38SparseVector srce) |
void |
generateTestData(int valueCount) |
Decimal38SparseVector |
getVectorWithValues() |
boolean |
isSafe(int outIndex) |
void |
reset()
Resets the mutator to pristine state.
|
void |
set(int index,
BigDecimal value) |
void |
set(int index,
Decimal38SparseHolder holder) |
void |
set(int index,
DrillBuf value)
Set the variable length element at the specified index to the supplied value.
|
void |
set(int index,
int isSet,
int startField,
DrillBuf bufferField) |
void |
set(int index,
NullableDecimal38SparseHolder holder) |
void |
setIndexDefined(int index)
Set value at position "index" to be defined.
|
void |
setIndexDefined(int index,
int numValues)
Set a contiguous set of values starting at position "index" to be defined.
|
void |
setNull(int index) |
void |
setSafe(int index,
BigDecimal value) |
void |
setSafe(int index,
Decimal38SparseHolder value) |
void |
setSafe(int index,
int isSet,
int startField,
DrillBuf bufferField) |
void |
setSafe(int index,
NullableDecimal38SparseHolder value) |
void |
setSetCount(int n)
Used by the vector accessors to force the last set value.
|
void |
setSkipNull(int index,
Decimal38SparseHolder holder) |
void |
setSkipNull(int index,
NullableDecimal38SparseHolder holder) |
void |
setValueCount(int valueCount)
Sets the number of values that is stored in this vector to the given value count.
|
public Decimal38SparseVector getVectorWithValues()
public void setIndexDefined(int index)
NullableVectorDefinitionSetter
setIndexDefined
in interface NullableVectorDefinitionSetter
index
- value positionpublic void setIndexDefined(int index, int numValues)
setIndexDefined
in interface NullableVectorDefinitionSetter
index
- value positionnumValues
- of contiguous valuespublic void set(int index, DrillBuf value)
index
- position of the bit to setvalue
- value to writepublic void setNull(int index)
public void setSkipNull(int index, Decimal38SparseHolder holder)
public void setSkipNull(int index, NullableDecimal38SparseHolder holder)
public void set(int index, NullableDecimal38SparseHolder holder)
public void set(int index, Decimal38SparseHolder holder)
public boolean isSafe(int outIndex)
public void set(int index, int isSet, int startField, DrillBuf bufferField)
public void setSafe(int index, int isSet, int startField, DrillBuf bufferField)
public void setSafe(int index, NullableDecimal38SparseHolder value)
public void setSafe(int index, Decimal38SparseHolder value)
public void set(int index, BigDecimal value)
public void setSafe(int index, BigDecimal value)
public void setValueCount(int valueCount)
ValueVector.Mutator
setValueCount
in interface ValueVector.Mutator
valueCount
- value count to set.public void generateTestData(int valueCount)
generateTestData
in interface ValueVector.Mutator
generateTestData
in class BaseValueVector.BaseMutator
public void reset()
ValueVector.Mutator
reset
in interface ValueVector.Mutator
reset
in class BaseValueVector.BaseMutator
public void setSetCount(int n)
NullableVector.Mutator
setSetCount
in interface NullableVector.Mutator
n
- the value of the last set field used to
fill emptiespublic void exchange(ValueVector.Mutator other)
ValueVector.Mutator
exchange
in interface ValueVector.Mutator
exchange
in class BaseValueVector.BaseMutator
public void fromNotNullable(Decimal38SparseVector srce)
Copyright © 1970 The Apache Software Foundation. All rights reserved.