-
- All Superinterfaces:
ScalarSettable,ScalarTyped,TokenSettable,TokenTyped
- All Known Subinterfaces:
DurationOutputField
- All Known Implementing Classes:
DurationRegister
public interface DurationSettable extends ScalarSettable
ATokenSettableobject containing a duration value.- See Also:
TokenTypeConstant#DURATION
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidset(long seconds, int nanos)Sets the container to a directed duration value specified as seconds and nanoseconds.voidset(Duration value)Sets the container to a duration value specified as ajava.time.Durationobject.-
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.Durationobject.- 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
-
-