Module datarush.library
Interface MutableTimeTokenSequence
- All Superinterfaces:
MutableScalarTokenSequence,MutableTokenSequence,ScalarTokenAppendable,ScalarTokenSequence,ScalarTyped,TimeTokenSequence,TokenAppendable,TokenSequence,TokenTyped
- All Known Implementing Classes:
SparseTimeTokenList,TimeTokenList
A
MutableTokenSequence containing time valued data.- See Also:
-
TokenTypeConstant#TIME
-
Method Summary
Modifier and TypeMethodDescriptionvoidAppends the specified time of day to this sequence.voidAppends the specified time of day to this sequence.voidappendDayMillis(int dayMillis) Appends the time value specified as the number of milliseconds elapsed since midnight to this sequence.voidappendDayMillis(int dayMillis, int count) Appends the time value specified as the number of milliseconds elapsed since midnight to this sequence multiple times.getTokenSetter(int index) Returns a mutator for the given index.voidsetDayMillis(int index, int value) Sets the token at the specified position to a time value specified as the number of milliseconds elapsed since midnight.Methods inherited from interface com.pervasive.datarush.sequences.scalar.MutableScalarTokenSequence
ensureCanonical, getModificationCountMethods inherited from interface com.pervasive.datarush.sequences.MutableTokenSequence
appendNull, appendNull, appendZero, appendZero, fillValue, reset, setNull, setNull, setValue, setValues, setZero, setZeroMethods inherited from interface com.pervasive.datarush.sequences.scalar.ScalarTokenSequence
getType, isNull, isZeroMethods inherited from interface com.pervasive.datarush.sequences.scalar.TimeTokenSequence
getDayMillis, getTimeOfDay, getToken, getValues, newValueIteratorMethods inherited from interface com.pervasive.datarush.sequences.TokenAppendable
append, append, append, appendMethods inherited from interface com.pervasive.datarush.sequences.TokenSequence
compareElement, compareElements, getElementComparator, hashCode, isNull, size, toString
-
Method Details
-
appendDayMillis
void appendDayMillis(int dayMillis) Appends the time value specified as the number of milliseconds elapsed since midnight to this sequence.- Parameters:
dayMillis- time value to which to set the token, expressed as the number of milliseconds elapsed since midnight
-
append
Appends the specified time of day to this sequence.- Parameters:
value- the value to append.
-
appendDayMillis
void appendDayMillis(int dayMillis, int count) Appends the time value specified as the number of milliseconds elapsed since midnight to this sequence multiple times.- Parameters:
dayMillis- the value to append.count- the number of copies to append.
-
append
Appends the specified time of day to this sequence.- Parameters:
value- the value to append.count- the number of copies to append.
-
setDayMillis
void setDayMillis(int index, int value) Sets the token at the specified position to a time value specified as the number of milliseconds elapsed since midnight.- Parameters:
millis- time value to which to set the token, expressed as the number of milliseconds elapsed since midnight
-
getTokenSetter
Description copied from interface:MutableTokenSequenceReturns a mutator for the given index.- Specified by:
getTokenSetterin interfaceMutableScalarTokenSequence- Specified by:
getTokenSetterin interfaceMutableTokenSequence- Parameters:
index- the position- Returns:
- a mutator for the given index.
-