public interface MutableNumericTokenSequence extends NumericTokenSequence, MutableScalarTokenSequence
MutableTokenSequence containing numeric valued data.TokenTypeConstant#NUMERIC| Modifier and Type | Method and Description |
|---|---|
void |
append(BigDecimal value)
Appends the specified BigDecimal to this sequence.
|
void |
append(BigDecimal value,
int count)
Appends the specified BigDecimal to this sequence
multiple times.
|
void |
appendDouble(double value)
Appends the specified double to this sequence.
|
void |
appendLong(long value)
Appends the specified long to this sequence.
|
NumericSettable |
getTokenSetter(int index)
Returns a mutator for the given index.
|
void |
setBigDecimal(int index,
BigDecimal value)
Sets the token at the specified position to the given value.
|
getBigDecimal, getToken, getValues, newValueIteratorensureCanonical, getModificationCountgetType, isNull, isZeroappendNull, appendNull, appendZero, appendZero, fillValue, reset, setNull, setNull, setValue, setValues, setZero, setZerocompareElement, compareElements, getElementComparator, hashCode, isNull, size, toStringappend, append, append, appendvoid appendLong(long value)
value - the value to append.void appendDouble(double value)
value - the value to append. If
Double.NaN, this is equivalent to
appendNull().void append(BigDecimal value)
value - the value to append. If null,
this is equivalent to appendNull().void append(BigDecimal value, int count)
value - the value to append. If null,
this is equivalent to appendNull(count).count - the number of copies to append.void setBigDecimal(int index,
BigDecimal value)
index - the position to modifyvalue - the new valueNumericSettable getTokenSetter(int index)
MutableTokenSequencegetTokenSetter in interface MutableScalarTokenSequencegetTokenSetter in interface MutableTokenSequenceindex - the positionCopyright © 2021 Actian Corporation. All rights reserved.