Interface Expression.LiteralOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Expression.Literal, Expression.Literal.Builder
Enclosing class:
Expression

public static interface Expression.LiteralOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasBoolean

      boolean hasBoolean()
      bool boolean = 1;
      Returns:
      Whether the boolean field is set.
    • getBoolean

      boolean getBoolean()
      bool boolean = 1;
      Returns:
      The boolean.
    • hasI8

      boolean hasI8()
      int32 i8 = 2;
      Returns:
      Whether the i8 field is set.
    • getI8

      int getI8()
      int32 i8 = 2;
      Returns:
      The i8.
    • hasI16

      boolean hasI16()
      int32 i16 = 3;
      Returns:
      Whether the i16 field is set.
    • getI16

      int getI16()
      int32 i16 = 3;
      Returns:
      The i16.
    • hasI32

      boolean hasI32()
      int32 i32 = 5;
      Returns:
      Whether the i32 field is set.
    • getI32

      int getI32()
      int32 i32 = 5;
      Returns:
      The i32.
    • hasI64

      boolean hasI64()
      int64 i64 = 7;
      Returns:
      Whether the i64 field is set.
    • getI64

      long getI64()
      int64 i64 = 7;
      Returns:
      The i64.
    • hasFp32

      boolean hasFp32()
      float fp32 = 10;
      Returns:
      Whether the fp32 field is set.
    • getFp32

      float getFp32()
      float fp32 = 10;
      Returns:
      The fp32.
    • hasFp64

      boolean hasFp64()
      double fp64 = 11;
      Returns:
      Whether the fp64 field is set.
    • getFp64

      double getFp64()
      double fp64 = 11;
      Returns:
      The fp64.
    • hasString

      boolean hasString()
      string string = 12;
      Returns:
      Whether the string field is set.
    • getString

      String getString()
      string string = 12;
      Returns:
      The string.
    • getStringBytes

      com.google.protobuf.ByteString getStringBytes()
      string string = 12;
      Returns:
      The bytes for string.
    • hasBinary

      boolean hasBinary()
      bytes binary = 13;
      Returns:
      Whether the binary field is set.
    • getBinary

      com.google.protobuf.ByteString getBinary()
      bytes binary = 13;
      Returns:
      The binary.
    • hasTimestamp

      @Deprecated boolean hasTimestamp()
      Deprecated.
      substrait.Expression.Literal.timestamp is deprecated. See substrait/algebra.proto;l=1002
       Timestamp in units of microseconds since the UNIX epoch.
       Deprecated in favor of `precision_timestamp`.
       
      int64 timestamp = 14 [deprecated = true];
      Returns:
      Whether the timestamp field is set.
    • getTimestamp

      @Deprecated long getTimestamp()
      Deprecated.
      substrait.Expression.Literal.timestamp is deprecated. See substrait/algebra.proto;l=1002
       Timestamp in units of microseconds since the UNIX epoch.
       Deprecated in favor of `precision_timestamp`.
       
      int64 timestamp = 14 [deprecated = true];
      Returns:
      The timestamp.
    • hasDate

      boolean hasDate()
       Date in units of days since the UNIX epoch.
       
      int32 date = 16;
      Returns:
      Whether the date field is set.
    • getDate

      int getDate()
       Date in units of days since the UNIX epoch.
       
      int32 date = 16;
      Returns:
      The date.
    • hasTime

      boolean hasTime()
       Time in units of microseconds past midnight.
       Deprecated in favor of `precision_time`.
       
      int64 time = 17;
      Returns:
      Whether the time field is set.
    • getTime

      long getTime()
       Time in units of microseconds past midnight.
       Deprecated in favor of `precision_time`.
       
      int64 time = 17;
      Returns:
      The time.
    • hasIntervalYearToMonth

      boolean hasIntervalYearToMonth()
      .substrait.Expression.Literal.IntervalYearToMonth interval_year_to_month = 19;
      Returns:
      Whether the intervalYearToMonth field is set.
    • getIntervalYearToMonth

      Expression.Literal.IntervalYearToMonth getIntervalYearToMonth()
      .substrait.Expression.Literal.IntervalYearToMonth interval_year_to_month = 19;
      Returns:
      The intervalYearToMonth.
    • getIntervalYearToMonthOrBuilder

      Expression.Literal.IntervalYearToMonthOrBuilder getIntervalYearToMonthOrBuilder()
      .substrait.Expression.Literal.IntervalYearToMonth interval_year_to_month = 19;
    • hasIntervalDayToSecond

      boolean hasIntervalDayToSecond()
      .substrait.Expression.Literal.IntervalDayToSecond interval_day_to_second = 20;
      Returns:
      Whether the intervalDayToSecond field is set.
    • getIntervalDayToSecond

      Expression.Literal.IntervalDayToSecond getIntervalDayToSecond()
      .substrait.Expression.Literal.IntervalDayToSecond interval_day_to_second = 20;
      Returns:
      The intervalDayToSecond.
    • getIntervalDayToSecondOrBuilder

      Expression.Literal.IntervalDayToSecondOrBuilder getIntervalDayToSecondOrBuilder()
      .substrait.Expression.Literal.IntervalDayToSecond interval_day_to_second = 20;
    • hasIntervalCompound

      boolean hasIntervalCompound()
      .substrait.Expression.Literal.IntervalCompound interval_compound = 36;
      Returns:
      Whether the intervalCompound field is set.
    • getIntervalCompound

      .substrait.Expression.Literal.IntervalCompound interval_compound = 36;
      Returns:
      The intervalCompound.
    • getIntervalCompoundOrBuilder

      Expression.Literal.IntervalCompoundOrBuilder getIntervalCompoundOrBuilder()
      .substrait.Expression.Literal.IntervalCompound interval_compound = 36;
    • hasFixedChar

      boolean hasFixedChar()
      string fixed_char = 21;
      Returns:
      Whether the fixedChar field is set.
    • getFixedChar

      String getFixedChar()
      string fixed_char = 21;
      Returns:
      The fixedChar.
    • getFixedCharBytes

      com.google.protobuf.ByteString getFixedCharBytes()
      string fixed_char = 21;
      Returns:
      The bytes for fixedChar.
    • hasVarChar

      boolean hasVarChar()
      .substrait.Expression.Literal.VarChar var_char = 22;
      Returns:
      Whether the varChar field is set.
    • getVarChar

      .substrait.Expression.Literal.VarChar var_char = 22;
      Returns:
      The varChar.
    • getVarCharOrBuilder

      .substrait.Expression.Literal.VarChar var_char = 22;
    • hasFixedBinary

      boolean hasFixedBinary()
      bytes fixed_binary = 23;
      Returns:
      Whether the fixedBinary field is set.
    • getFixedBinary

      com.google.protobuf.ByteString getFixedBinary()
      bytes fixed_binary = 23;
      Returns:
      The fixedBinary.
    • hasDecimal

      boolean hasDecimal()
      .substrait.Expression.Literal.Decimal decimal = 24;
      Returns:
      Whether the decimal field is set.
    • getDecimal

      .substrait.Expression.Literal.Decimal decimal = 24;
      Returns:
      The decimal.
    • getDecimalOrBuilder

      .substrait.Expression.Literal.Decimal decimal = 24;
    • hasPrecisionTime

      boolean hasPrecisionTime()
       Time in precision units past midnight.
       
      .substrait.Expression.Literal.PrecisionTime precision_time = 37;
      Returns:
      Whether the precisionTime field is set.
    • getPrecisionTime

       Time in precision units past midnight.
       
      .substrait.Expression.Literal.PrecisionTime precision_time = 37;
      Returns:
      The precisionTime.
    • getPrecisionTimeOrBuilder

      Expression.Literal.PrecisionTimeOrBuilder getPrecisionTimeOrBuilder()
       Time in precision units past midnight.
       
      .substrait.Expression.Literal.PrecisionTime precision_time = 37;
    • hasPrecisionTimestamp

      boolean hasPrecisionTimestamp()
      .substrait.Expression.Literal.PrecisionTimestamp precision_timestamp = 34;
      Returns:
      Whether the precisionTimestamp field is set.
    • getPrecisionTimestamp

      Expression.Literal.PrecisionTimestamp getPrecisionTimestamp()
      .substrait.Expression.Literal.PrecisionTimestamp precision_timestamp = 34;
      Returns:
      The precisionTimestamp.
    • getPrecisionTimestampOrBuilder

      Expression.Literal.PrecisionTimestampOrBuilder getPrecisionTimestampOrBuilder()
      .substrait.Expression.Literal.PrecisionTimestamp precision_timestamp = 34;
    • hasPrecisionTimestampTz

      boolean hasPrecisionTimestampTz()
      .substrait.Expression.Literal.PrecisionTimestamp precision_timestamp_tz = 35;
      Returns:
      Whether the precisionTimestampTz field is set.
    • getPrecisionTimestampTz

      Expression.Literal.PrecisionTimestamp getPrecisionTimestampTz()
      .substrait.Expression.Literal.PrecisionTimestamp precision_timestamp_tz = 35;
      Returns:
      The precisionTimestampTz.
    • getPrecisionTimestampTzOrBuilder

      Expression.Literal.PrecisionTimestampOrBuilder getPrecisionTimestampTzOrBuilder()
      .substrait.Expression.Literal.PrecisionTimestamp precision_timestamp_tz = 35;
    • hasStruct

      boolean hasStruct()
      .substrait.Expression.Literal.Struct struct = 25;
      Returns:
      Whether the struct field is set.
    • getStruct

      .substrait.Expression.Literal.Struct struct = 25;
      Returns:
      The struct.
    • getStructOrBuilder

      .substrait.Expression.Literal.Struct struct = 25;
    • hasMap

      boolean hasMap()
      .substrait.Expression.Literal.Map map = 26;
      Returns:
      Whether the map field is set.
    • getMap

      .substrait.Expression.Literal.Map map = 26;
      Returns:
      The map.
    • getMapOrBuilder

      .substrait.Expression.Literal.Map map = 26;
    • hasTimestampTz

      @Deprecated boolean hasTimestampTz()
      Deprecated.
      substrait.Expression.Literal.timestamp_tz is deprecated. See substrait/algebra.proto;l=1023
       Timestamp in units of microseconds since the UNIX epoch.
       Deprecated in favor of `precision_timestamp_tz`
       
      int64 timestamp_tz = 27 [deprecated = true];
      Returns:
      Whether the timestampTz field is set.
    • getTimestampTz

      @Deprecated long getTimestampTz()
      Deprecated.
      substrait.Expression.Literal.timestamp_tz is deprecated. See substrait/algebra.proto;l=1023
       Timestamp in units of microseconds since the UNIX epoch.
       Deprecated in favor of `precision_timestamp_tz`
       
      int64 timestamp_tz = 27 [deprecated = true];
      Returns:
      The timestampTz.
    • hasUuid

      boolean hasUuid()
      bytes uuid = 28;
      Returns:
      Whether the uuid field is set.
    • getUuid

      com.google.protobuf.ByteString getUuid()
      bytes uuid = 28;
      Returns:
      The uuid.
    • hasNull

      boolean hasNull()
       a typed null literal
       
      .substrait.Type null = 29;
      Returns:
      Whether the null field is set.
    • getNull

      Type getNull()
       a typed null literal
       
      .substrait.Type null = 29;
      Returns:
      The null.
    • getNullOrBuilder

      TypeOrBuilder getNullOrBuilder()
       a typed null literal
       
      .substrait.Type null = 29;
    • hasList

      boolean hasList()
      .substrait.Expression.Literal.List list = 30;
      Returns:
      Whether the list field is set.
    • getList

      .substrait.Expression.Literal.List list = 30;
      Returns:
      The list.
    • getListOrBuilder

      .substrait.Expression.Literal.List list = 30;
    • hasEmptyList

      boolean hasEmptyList()
      .substrait.Type.List empty_list = 31;
      Returns:
      Whether the emptyList field is set.
    • getEmptyList

      Type.List getEmptyList()
      .substrait.Type.List empty_list = 31;
      Returns:
      The emptyList.
    • getEmptyListOrBuilder

      Type.ListOrBuilder getEmptyListOrBuilder()
      .substrait.Type.List empty_list = 31;
    • hasEmptyMap

      boolean hasEmptyMap()
      .substrait.Type.Map empty_map = 32;
      Returns:
      Whether the emptyMap field is set.
    • getEmptyMap

      Type.Map getEmptyMap()
      .substrait.Type.Map empty_map = 32;
      Returns:
      The emptyMap.
    • getEmptyMapOrBuilder

      Type.MapOrBuilder getEmptyMapOrBuilder()
      .substrait.Type.Map empty_map = 32;
    • hasUserDefined

      boolean hasUserDefined()
      .substrait.Expression.Literal.UserDefined user_defined = 33;
      Returns:
      Whether the userDefined field is set.
    • getUserDefined

      .substrait.Expression.Literal.UserDefined user_defined = 33;
      Returns:
      The userDefined.
    • getUserDefinedOrBuilder

      Expression.Literal.UserDefinedOrBuilder getUserDefinedOrBuilder()
      .substrait.Expression.Literal.UserDefined user_defined = 33;
    • getNullable

      boolean getNullable()
       Whether the literal_type above should be treated as a nullable type.
       Applies to all members of the literal_type oneof EXCEPT:
        * Type null             (must be nullable by definition)
        * Type.List empty_list  (use Type.List::nullability)
        * Type.Map empty_map    (use Type.Map::nullability)
       
      bool nullable = 50;
      Returns:
      The nullable.
    • getTypeVariationReference

      int getTypeVariationReference()
       optionally points to a type_variation_anchor defined in this plan.
       Applies to all members of union other than the Typed null (which should
       directly declare the type variation).
       
      uint32 type_variation_reference = 51;
      Returns:
      The typeVariationReference.
    • getLiteralTypeCase