public interface LongTokenSequence extends FloatTokenSequence
TokenSequence
containing long valued data.TokenTypeConstant#LONG
Modifier and Type | Method and Description |
---|---|
long |
getLong(int index)
Get the value of the specified token as
a
long . |
LongValued |
getToken(int index)
Gets the value at the specified position.
|
void |
getValues(int start,
long[] values,
boolean[] nulls,
int offset,
int length)
Gets the values and null indicators for a range of tokens as
long s. |
LongValuedIterator |
newValueIterator()
Creates an iterator over the non-null values of this sequence.
|
getFloat, getValues
getDouble, getValues
getBigDecimal, getValues
getType, isNull, isZero
compareElement, compareElements, getElementComparator, hashCode, isNull, size, toString
LongValued getToken(int index)
TokenSequence
getToken
in interface DoubleTokenSequence
getToken
in interface FloatTokenSequence
getToken
in interface NumericTokenSequence
getToken
in interface ScalarTokenSequence
getToken
in interface TokenSequence
index
- the index of the tokenlong getLong(int index)
long
.index
- the position of the token in the sequence0
is returned.void getValues(int start, long[] values, boolean[] nulls, int offset, int length)
long
s.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 getLongValuedIterator newValueIterator()
TokenSequence
newValueIterator
in interface DoubleTokenSequence
newValueIterator
in interface FloatTokenSequence
newValueIterator
in interface NumericTokenSequence
newValueIterator
in interface ScalarTokenSequence
newValueIterator
in interface TokenSequence
Copyright © 2016 Actian Corporation. All rights reserved.