public interface MutableDurationTokenSequence extends DurationTokenSequence, MutableScalarTokenSequence
MutableTokenSequence containing duration valued data.TokenTypeConstant#DURATION| Modifier and Type | Method and Description |
|---|---|
void |
append(Duration value)
Appends the specified duration to this sequence.
|
void |
append(Duration value,
int count)
Appends the specified duration to this sequence
multiple times.
|
void |
appendDuration(long seconds,
int subsecondNanos)
Appends the duration specified in seconds to this sequence.
|
void |
appendDuration(long seconds,
int subsecondNanos,
int count)
Appends the duration specified in seconds to this sequence
multiple times.
|
DurationSettable |
getTokenSetter(int index)
Returns a mutator for the given index.
|
void |
set(int index,
Duration value)
Sets the token at the specified position to the given value.
|
void |
setDuration(int index,
long seconds,
int subsecondNanos)
Sets the token at the specified position to the given value.
|
getDuration, getSeconds, getSubsecondNanos, getToken, getValues, newValueIteratorensureCanonical, getModificationCountgetType, isNull, isZeroappendNull, appendNull, appendZero, appendZero, fillValue, reset, setNull, setNull, setValue, setValues, setZero, setZerocompareElement, compareElements, getElementComparator, hashCode, isNull, size, toStringappend, append, append, appendvoid append(Duration value)
value - the value to append. If null,
this is equivalent to appendNull().void appendDuration(long seconds,
int subsecondNanos)
seconds - the number of seconds in the duration.subsecondNanos - the subsecond portion of the duration
in nanoseconds.void append(Duration value, int count)
value - the value to append. If null,
this is equivalent to appendNull().count - the number of copies to append.void appendDuration(long seconds,
int subsecondNanos,
int count)
seconds - the number of seconds in the duration.subsecondNanos - the subsecond portion of the duration
in nanoseconds.count - the number of copies to append.void set(int index,
Duration value)
index - the position to modify.value - the duration to which to set the token.void setDuration(int index,
long seconds,
int subsecondNanos)
index - the position to modify.seconds - the number of seconds in the duration.subsecondNanos - the subsecond portion of the duration
in nanoseconds.DurationSettable getTokenSetter(int index)
MutableTokenSequencegetTokenSetter in interface MutableScalarTokenSequencegetTokenSetter in interface MutableTokenSequenceindex - the positionCopyright © 2021 Actian Corporation. All rights reserved.