Interface MutableTimestampTokenSequence

All Superinterfaces:
MutableScalarTokenSequence, MutableTokenSequence, ScalarTokenAppendable, ScalarTokenSequence, ScalarTyped, TimestampTokenSequence, TokenAppendable, TokenSequence, TokenTyped
All Known Implementing Classes:
SparseTimestampTokenList, TimestampTokenList

public interface MutableTimestampTokenSequence extends TimestampTokenSequence, MutableScalarTokenSequence
A MutableTokenSequence containing timestamp valued data.
See Also:
  • TokenTypeConstant#TIMESTAMP
  • Method Details

    • append

      void append(Timestamp value)
      Appends the specified timestamp to this sequence.
      Parameters:
      value - the value to append. If null, this is equivalent to appendNull().
    • appendEpochTime

      void appendEpochTime(long epochSeconds, int subsecondNanos, int offsetSeconds)
      Appends the timestamp specified in epoch time to this sequence.
      Parameters:
      epochSeconds - the number of seconds elapsed since January 1, 1970 00:00:00 GMT.
      subsecondNanos - the subsecond portion of the timestamp in nanoseconds.
      offsetSeconds - the offset in seconds, including both time zone and daylight savings adjustments, from GMT.
    • append

      void append(Timestamp value, int count)
      Appends the specified timestamp to this sequence multiple times.
      Parameters:
      value - the value to append. If null, this is equivalent to appendNull().
      count - the number of copies to append.
    • appendEpochTime

      void appendEpochTime(long epochSeconds, int subsecondNanos, int offsetSeconds, int count)
      Appends the timestamp specified in epoch time to this sequence multiple times.
      Parameters:
      epochSeconds - the number of seconds elapsed since January 1, 1970 00:00:00 GMT.
      subsecondNanos - the subsecond portion of the timestamp in nanoseconds.
      offsetSeconds - the offset in seconds, including both time zone and daylight savings adjustments, from GMT.
      count - the number of copies to append.
    • setEpochSeconds

      void setEpochSeconds(int index, long epochSeconds, int subsecondNanos, int offsetSeconds)
      Sets the token at the specified position to the given value.
      Parameters:
      index - the position to modify
      epochSeconds - the number of seconds elapsed since January 1, 1970 00:00:00 GMT.
      subsecondNanos - the subsecond portion of the timestamp in nanoseconds.
      offsetSeconds - the offset in seconds, including both time zone and daylight savings adjustments, from GMT.
    • getTokenSetter

      TimestampSettable getTokenSetter(int index)
      Description copied from interface: MutableTokenSequence
      Returns a mutator for the given index.
      Specified by:
      getTokenSetter in interface MutableScalarTokenSequence
      Specified by:
      getTokenSetter in interface MutableTokenSequence
      Parameters:
      index - the position
      Returns:
      a mutator for the given index.