public interface DoubleTokenSequence extends NumericTokenSequence
TokenSequence containing double valued data.TokenTypeConstant#DOUBLE| Modifier and Type | Method and Description |
|---|---|
double |
getDouble(int index)
Gets the value of the specified token as
a
double. |
DoubleValued |
getToken(int index)
Gets the value at the specified position.
|
void |
getValues(int start,
double[] values,
boolean[] nulls,
int offset,
int length)
Gets the values and null indicators for a range of tokens as
doubles. |
DoubleValuedIterator |
newValueIterator()
Creates an iterator over the non-null values of this sequence.
|
getBigDecimal, getValuesgetType, isNull, isZerocompareElement, compareElements, getElementComparator, hashCode, isNull, size, toStringDoubleValued getToken(int index)
TokenSequencegetToken in interface NumericTokenSequencegetToken in interface ScalarTokenSequencegetToken in interface TokenSequenceindex - the index of the tokendouble getDouble(int index)
double.index - the position of the token in the sequenceDouble.NaN
is returned.void getValues(int start,
double[] values,
boolean[] nulls,
int offset,
int length)
doubles.start - the starting index of the rangevalues - an array into which to place element valuesnulls - an array into which to place null indicator valuesoffset - the starting offset into the target arrays. That is,
elements[offset] and nulls[offset] will get the
value and null indicator respectively of the token at position
start, and so on.length - number of tokens to getDoubleValuedIterator newValueIterator()
TokenSequencenewValueIterator in interface NumericTokenSequencenewValueIterator in interface ScalarTokenSequencenewValueIterator in interface TokenSequenceCopyright © 2020 Actian Corporation. All rights reserved.