public interface IntTokenSequence extends LongTokenSequence
TokenSequence containing integer valued data.TokenTypeConstant#INT| Modifier and Type | Method and Description |
|---|---|
int |
getInt(int index)
Gets the value of the specified token as
an
int. |
IntValued |
getToken(int index)
Gets the value at the specified position.
|
void |
getValues(int start,
int[] values,
boolean[] nulls,
int offset,
int length)
Gets the values and null indicators for a range of tokens as
ints. |
IntValuedIterator |
newValueIterator()
Creates an iterator over the non-null values of this sequence.
|
getLong, getValuesgetFloat, getValuesgetDouble, getValuesgetBigDecimal, getValuesgetType, isNull, isZerocompareElement, compareElements, getElementComparator, hashCode, isNull, size, toStringIntValued getToken(int index)
TokenSequencegetToken in interface DoubleTokenSequencegetToken in interface FloatTokenSequencegetToken in interface LongTokenSequencegetToken in interface NumericTokenSequencegetToken in interface ScalarTokenSequencegetToken in interface TokenSequenceindex - the index of the tokenint getInt(int index)
int.index - the position of the token in the sequence0
is returned.void getValues(int start,
int[] values,
boolean[] nulls,
int offset,
int length)
ints.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 getIntValuedIterator newValueIterator()
TokenSequencenewValueIterator in interface DoubleTokenSequencenewValueIterator in interface FloatTokenSequencenewValueIterator in interface LongTokenSequencenewValueIterator in interface NumericTokenSequencenewValueIterator in interface ScalarTokenSequencenewValueIterator in interface TokenSequenceCopyright © 2021 Actian Corporation. All rights reserved.