Package io.substrait.proto
Interface Expression.Literal.IntervalDayToSecondOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Expression.Literal.IntervalDayToSecond,Expression.Literal.IntervalDayToSecond.Builder
- Enclosing class:
- Expression.Literal
public static interface Expression.Literal.IntervalDayToSecondOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintgetDays()int32 days = 1;intDeprecated.substrait.Expression.Literal.IntervalDayToSecond.microseconds is deprecated.intSub-second precision, 0 means the value given is in seconds, 3 is milliseconds, 6 microseconds, 9 is nanoseconds.intint32 seconds = 2;longthe number of fractional seconds using 1e(-precision) units.booleanDeprecated.substrait.Expression.Literal.IntervalDayToSecond.microseconds is deprecated.booleanSub-second precision, 0 means the value given is in seconds, 3 is milliseconds, 6 microseconds, 9 is nanoseconds.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDays
int getDays()int32 days = 1;- Returns:
- The days.
-
getSeconds
int getSeconds()int32 seconds = 2;- Returns:
- The seconds.
-
hasMicroseconds
Deprecated.substrait.Expression.Literal.IntervalDayToSecond.microseconds is deprecated. See substrait/algebra.proto;l=1094use precision and subseconds below, they cover and replace microseconds.
int32 microseconds = 3 [deprecated = true];- Returns:
- Whether the microseconds field is set.
-
getMicroseconds
Deprecated.substrait.Expression.Literal.IntervalDayToSecond.microseconds is deprecated. See substrait/algebra.proto;l=1094use precision and subseconds below, they cover and replace microseconds.
int32 microseconds = 3 [deprecated = true];- Returns:
- The microseconds.
-
hasPrecision
boolean hasPrecision()Sub-second precision, 0 means the value given is in seconds, 3 is milliseconds, 6 microseconds, 9 is nanoseconds. Should be used with subseconds below.
int32 precision = 4;- Returns:
- Whether the precision field is set.
-
getPrecision
int getPrecision()Sub-second precision, 0 means the value given is in seconds, 3 is milliseconds, 6 microseconds, 9 is nanoseconds. Should be used with subseconds below.
int32 precision = 4;- Returns:
- The precision.
-
getSubseconds
long getSubseconds()the number of fractional seconds using 1e(-precision) units. Should only be used with precision field, not microseconds.
int64 subseconds = 5;- Returns:
- The subseconds.
-
getPrecisionModeCase
Expression.Literal.IntervalDayToSecond.PrecisionModeCase getPrecisionModeCase()
-