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
AMutableTokenSequence
containing date valued data.- See Also:
TokenTypeConstant#DATE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
append(CalendarDate value)
Appends the specified calendar date to this sequence.void
append(CalendarDate value, int count)
Appends the specified calendar date to this sequence.void
append(Date value)
Deprecated.since 6.1; useappend(CalendarDate)
instead.void
append(Date value, int count)
Deprecated.since 6.1; useappend(CalendarDate, int)
insteadvoid
appendEpochDays(long epochDays)
Appends the date specified as days elapsed since January 1, 1970 00:00:00 GMT to this sequence.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.DateSettable
getTokenSetter(int index)
Returns a mutator for the given index.void
setEpochDays(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:MutableTokenSequence
Returns a mutator for the given index.- Specified by:
getTokenSetter
in interfaceMutableScalarTokenSequence
- Specified by:
getTokenSetter
in interfaceMutableTokenSequence
- Parameters:
index
- the position- Returns:
- a mutator for the given index.
-
-