public interface TimeTokenSequence extends ScalarTokenSequence
TokenSequence containing time valued data.TokenTypeConstant#TIME| Modifier and Type | Method and Description |
|---|---|
int |
getDayMillis(int index)
Get the value of the specified token as the number
of milliseconds elapsed since midnight.
|
TimeOfDay |
getTimeOfDay(int index)
Gets the value of the specified token as
a time of day.
|
TimeValued |
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.
|
TimeValuedIterator |
newValueIterator()
Creates an iterator over the non-null values of this sequence.
|
getType, isNull, isZerocompareElement, compareElements, getElementComparator, hashCode, isNull, size, toStringTimeValued getToken(int index)
TokenSequencegetToken in interface ScalarTokenSequencegetToken in interface TokenSequenceindex - the index of the tokenint getDayMillis(int index)
index - the index of the token0
is returned.TimeOfDay getTimeOfDay(int index)
index - the position of the token in the sequencenull
is returned.void getValues(int start,
int[] values,
boolean[] nulls,
int offset,
int length)
start - the starting index of the rangevalues - an array into which to place element values,
represented as milliseconds since midnightnulls - 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 get#getEpochDays(int)TimeValuedIterator newValueIterator()
TokenSequencenewValueIterator in interface ScalarTokenSequencenewValueIterator in interface TokenSequenceCopyright © 2016 Actian Corporation. All rights reserved.