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 Type
    Method
    Description
    int
    int32 days = 1;
    int
    Deprecated.
    substrait.Expression.Literal.IntervalDayToSecond.microseconds is deprecated.
    int
    Sub-second precision, 0 means the value given is in seconds, 3 is milliseconds, 6 microseconds, 9 is nanoseconds.
     
    int
    int32 seconds = 2;
    long
    the number of fractional seconds using 1e(-precision) units.
    boolean
    Deprecated.
    substrait.Expression.Literal.IntervalDayToSecond.microseconds is deprecated.
    boolean
    Sub-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

    isInitialized

    Methods 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 boolean hasMicroseconds()
      Deprecated.
      substrait.Expression.Literal.IntervalDayToSecond.microseconds is deprecated. See substrait/algebra.proto;l=1094
       use precision and subseconds below, they cover and replace microseconds.
       
      int32 microseconds = 3 [deprecated = true];
      Returns:
      Whether the microseconds field is set.
    • getMicroseconds

      @Deprecated int getMicroseconds()
      Deprecated.
      substrait.Expression.Literal.IntervalDayToSecond.microseconds is deprecated. See substrait/algebra.proto;l=1094
       use 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