-
- All Superinterfaces:
ScalarSettable
,ScalarTyped
,TokenSettable
,TokenTyped
- All Known Subinterfaces:
DurationOutputField
- All Known Implementing Classes:
DurationRegister
public interface DurationSettable extends ScalarSettable
ATokenSettable
object containing a duration value.- See Also:
TokenTypeConstant#DURATION
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
set(long seconds, int nanos)
Sets the container to a directed duration value specified as seconds and nanoseconds.void
set(Duration value)
Sets the container to a duration value specified as ajava.time.Duration
object.-
Methods inherited from interface com.pervasive.datarush.types.ScalarTyped
getType
-
Methods inherited from interface com.pervasive.datarush.tokens.TokenSettable
set, setNull, setZero
-
-
-
-
Method Detail
-
set
void set(Duration value)
Sets the container to a duration value specified as ajava.time.Duration
object.- Parameters:
value
- duration value to which to set the container
-
set
void set(long seconds, int nanos)
Sets the container to a directed duration value specified as seconds and nanoseconds.- Parameters:
seconds
- number of seconds in durationnanos
- fractional nanosecond portion of duration
-
-