public interface BooleanTokenSequence extends ScalarTokenSequence
TokenSequence containing boolean valued data.TokenTypeConstant#BOOLEAN| Modifier and Type | Method and Description |
|---|---|
boolean |
getBoolean(int index)
Gets the value of the specified token as
a
boolean. |
BooleanValued |
getToken(int index)
Gets the value at the specified position.
|
void |
getValues(int start,
boolean[] values,
boolean[] nulls,
int offset,
int length)
Gets the values and null indicators for a range of tokens.
|
BooleanValuedIterator |
newValueIterator()
Creates an iterator over the non-null values of this sequence.
|
getType, isNull, isZerocompareElement, compareElements, getElementComparator, hashCode, isNull, size, toStringBooleanValued getToken(int index)
TokenSequencegetToken in interface ScalarTokenSequencegetToken in interface TokenSequenceindex - the index of the tokenboolean getBoolean(int index)
boolean.index - the position of the token in the sequencefalse is returned.void getValues(int start,
boolean[] values,
boolean[] nulls,
int offset,
int length)
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 getBooleanValuedIterator newValueIterator()
TokenSequencenewValueIterator in interface ScalarTokenSequencenewValueIterator in interface TokenSequenceCopyright © 2021 Actian Corporation. All rights reserved.