public final class RepeatedDecimal18Vector.Mutator extends BaseRepeatedValueVector.BaseRepeatedMutator implements RepeatedValueVector.RepeatedMutator
Modifier and Type | Method and Description |
---|---|
protected void |
add(int index,
Decimal18Holder holder) |
void |
add(int index,
long value)
Add an element to the given record index.
|
void |
add(int index,
RepeatedDecimal18Holder holder) |
void |
addSafe(int index,
Decimal18Holder holder) |
void |
addSafe(int index,
long srcValue) |
void |
addSafe(int index,
NullableDecimal18Holder holder) |
void |
fillEmpties(int lastWrite,
int index)
Backfill missing offsets from the given last written position to the
given current write position.
|
void |
generateTestData(int valCount) |
void |
reset()
Resets the mutator to pristine state.
|
void |
setSafe(int index,
RepeatedDecimal18Holder h) |
getInnerValueCountAt, setValueCount, startNewValue
exchange
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
startNewValue
exchange, setValueCount
public void add(int index, long value)
index
- record of the element to addvalue
- value to add to the given rowpublic void addSafe(int index, long srcValue)
public void setSafe(int index, RepeatedDecimal18Holder h)
public void addSafe(int index, Decimal18Holder holder)
public void addSafe(int index, NullableDecimal18Holder holder)
public void fillEmpties(int lastWrite, int index)
lastWrite
- the position of the last valid write: the offset
to be copied forwardindex
- the current write position to be initializedprotected void add(int index, Decimal18Holder holder)
public void add(int index, RepeatedDecimal18Holder holder)
public void generateTestData(int valCount)
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
Copyright © 1970 The Apache Software Foundation. All rights reserved.