Module datarush.library
Interface MutableDateTokenSequence
- All Superinterfaces:
DateTokenSequence,MutableScalarTokenSequence,MutableTokenSequence,ScalarTokenAppendable,ScalarTokenSequence,ScalarTyped,TokenAppendable,TokenSequence,TokenTyped
- All Known Implementing Classes:
DateTokenList,SparseDateTokenList
A
MutableTokenSequence containing date valued data.- See Also:
-
TokenTypeConstant#DATE
-
Method Summary
Modifier and TypeMethodDescriptionvoidappend(CalendarDate value) Appends the specified calendar date to this sequence.voidappend(CalendarDate value, int count) Appends the specified calendar date to this sequence.voidDeprecated.voidDeprecated.since 6.1; useappend(CalendarDate, int)insteadvoidappendEpochDays(long epochDays) Appends the date specified as days elapsed since January 1, 1970 00:00:00 GMT to this sequence.voidappendEpochDays(long epochDays, int count) Appends the date specified as days elapsed since January 1, 1970 00:00:00 GMT to this sequence multiple times.getTokenSetter(int index) Returns a mutator for the given index.voidsetEpochDays(int index, long value) Sets the token at the specified position to the given value.Methods inherited from interface com.pervasive.datarush.sequences.scalar.DateTokenSequence
getCalendarDate, getDate, getDate, getEpochDays, getToken, getValues, newValueIteratorMethods 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.TokenAppendable
append, append, append, appendMethods inherited from interface com.pervasive.datarush.sequences.TokenSequence
compareElement, compareElements, getElementComparator, hashCode, isNull, size, toString
-
Method Details
-
append
Deprecated.since 6.1; useappend(CalendarDate)instead.Appends the specified date to this sequence.- Parameters:
value- the value to append.
-
appendEpochDays
void appendEpochDays(long epochDays) Appends the date specified as days elapsed since January 1, 1970 00:00:00 GMT to this sequence.- Parameters:
epochDays- the value to append.
-
append
Appends the specified calendar date to this sequence.- Parameters:
value- the value to append.
-
append
Deprecated.since 6.1; useappend(CalendarDate, int)insteadAppends the specified date to this sequence.- Parameters:
value- the value to append.count- the number of copies to append.
-
appendEpochDays
void appendEpochDays(long epochDays, int count) Appends the date specified as days elapsed since January 1, 1970 00:00:00 GMT to this sequence multiple times.- Parameters:
epochDays- the value to append.count- the number of copies to append.
-
append
Appends the specified calendar date to this sequence.- Parameters:
value- the value to append.count- the number of copies to append.
-
setEpochDays
void setEpochDays(int index, long value) Sets the token at the specified position to the given value.- Parameters:
index- the position to modifyvalue- the new value
-
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.
-
append(CalendarDate)instead.