Module datarush.library
Interface MutableDateTokenSequence
-
- All Superinterfaces:
DateTokenSequence,MutableScalarTokenSequence,MutableTokenSequence,ScalarTokenAppendable,ScalarTokenSequence,ScalarTyped,TokenAppendable,TokenSequence,TokenTyped
- All Known Implementing Classes:
DateTokenList,SparseDateTokenList
public interface MutableDateTokenSequence extends DateTokenSequence, MutableScalarTokenSequence
AMutableTokenSequencecontaining date valued data.- See Also:
TokenTypeConstant#DATE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidappend(CalendarDate value)Appends the specified calendar date to this sequence.voidappend(CalendarDate value, int count)Appends the specified calendar date to this sequence.voidappend(Date value)Deprecated.since 6.1; useappend(CalendarDate)instead.voidappend(Date value, int count)Deprecated.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.DateSettablegetTokenSetter(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, newValueIterator
-
Methods inherited from interface com.pervasive.datarush.sequences.scalar.MutableScalarTokenSequence
ensureCanonical, getModificationCount
-
Methods inherited from interface com.pervasive.datarush.sequences.MutableTokenSequence
appendNull, appendNull, appendZero, appendZero, fillValue, reset, setNull, setNull, setValue, setValues, setZero, setZero
-
Methods inherited from interface com.pervasive.datarush.sequences.scalar.ScalarTokenSequence
getType, isNull, isZero
-
Methods inherited from interface com.pervasive.datarush.sequences.TokenAppendable
append, append, append, append
-
Methods inherited from interface com.pervasive.datarush.sequences.TokenSequence
compareElement, compareElements, getElementComparator, hashCode, isNull, size, toString
-
-
-
-
Method Detail
-
append
@Deprecated void append(Date value)
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
void append(CalendarDate value)
Appends the specified calendar date to this sequence.- Parameters:
value- the value to append.
-
append
@Deprecated void append(Date value, int count)
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
void append(CalendarDate value, int count)
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
DateSettable getTokenSetter(int index)
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.
-
-