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, newValueIterator
ensureCanonical, getModificationCount
getType, isNull, isZero
appendNull, appendNull, appendZero, appendZero, fillValue, reset, setNull, setNull, setValue, setValues, setZero, setZero
compareElement, compareElements, getElementComparator, hashCode, isNull, size, toString
append, append, append, append
void 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)
MutableTokenSequence
getTokenSetter
in interface MutableScalarTokenSequence
getTokenSetter
in interface MutableTokenSequence
index
- the positionCopyright © 2020 Actian Corporation. All rights reserved.