public interface MutableTimestampTokenSequence extends TimestampTokenSequence, MutableScalarTokenSequence
MutableTokenSequence
containing timestamp valued data.TokenTypeConstant#TIMESTAMP
Modifier and Type | Method and Description |
---|---|
void |
append(Timestamp value)
Appends the specified timestamp to this sequence.
|
void |
append(Timestamp value,
int count)
Appends the specified timestamp to this sequence
multiple times.
|
void |
appendEpochTime(long epochSeconds,
int subsecondNanos,
int offsetSeconds)
Appends the timestamp specified in epoch time to this sequence.
|
void |
appendEpochTime(long epochSeconds,
int subsecondNanos,
int offsetSeconds,
int count)
Appends the timestamp specified in epoch time to this sequence
multiple times.
|
TimestampSettable |
getTokenSetter(int index)
Returns a mutator for the given index.
|
void |
setEpochSeconds(int index,
long epochSeconds,
int subsecondNanos,
int offsetSeconds)
Sets the token at the specified position to the given value.
|
getEpochSeconds, getOffsetSeconds, getSubsecondNanos, getTimestamp, getToken, getValues, newValueIterator
ensureCanonical, getModificationCount
getType, isNull, isZero
appendNull, appendNull, appendZero, appendZero, fillValue, reset, setNull, setNull, setValue, setValues, setZero, setZero
compareElement, compareElements, getElementComparator, hashCode, isNull, size, toString
append, append, append, append
void append(Timestamp value)
value
- the value to append. If null
,
this is equivalent to appendNull()
.void appendEpochTime(long epochSeconds, int subsecondNanos, int offsetSeconds)
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.void append(Timestamp value, int count)
value
- the value to append. If null
,
this is equivalent to appendNull()
.count
- the number of copies to append.void appendEpochTime(long epochSeconds, int subsecondNanos, int offsetSeconds, int count)
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.void setEpochSeconds(int index, long epochSeconds, int subsecondNanos, int offsetSeconds)
index
- the position to modifyepochSeconds
- 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.TimestampSettable getTokenSetter(int index)
MutableTokenSequence
getTokenSetter
in interface MutableScalarTokenSequence
getTokenSetter
in interface MutableTokenSequence
index
- the positionCopyright © 2021 Actian Corporation. All rights reserved.