Package io.substrait.proto
Interface TypeOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Type,Type.Builder
public interface TypeOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescription.substrait.Type.Binary binary = 13;.substrait.Type.Binary binary = 13;getBool().substrait.Type.Boolean bool = 1;.substrait.Type.Boolean bool = 1;getDate().substrait.Type.Date date = 16;.substrait.Type.Date date = 16;.substrait.Type.Decimal decimal = 24;.substrait.Type.Decimal decimal = 24;.substrait.Type.FixedBinary fixed_binary = 23;.substrait.Type.FixedBinary fixed_binary = 23;.substrait.Type.FixedChar fixed_char = 21;.substrait.Type.FixedChar fixed_char = 21;getFp32().substrait.Type.FP32 fp32 = 10;.substrait.Type.FP32 fp32 = 10;getFp64().substrait.Type.FP64 fp64 = 11;.substrait.Type.FP64 fp64 = 11;getI16().substrait.Type.I16 i16 = 3;.substrait.Type.I16 i16 = 3;getI32().substrait.Type.I32 i32 = 5;.substrait.Type.I32 i32 = 5;getI64().substrait.Type.I64 i64 = 7;.substrait.Type.I64 i64 = 7;getI8().substrait.Type.I8 i8 = 2;.substrait.Type.I8 i8 = 2;.substrait.Type.IntervalCompound interval_compound = 35;.substrait.Type.IntervalCompound interval_compound = 35;.substrait.Type.IntervalDay interval_day = 20;.substrait.Type.IntervalDay interval_day = 20;.substrait.Type.IntervalYear interval_year = 19;.substrait.Type.IntervalYear interval_year = 19;getList().substrait.Type.List list = 27;.substrait.Type.List list = 27;getMap().substrait.Type.Map map = 28;.substrait.Type.Map map = 28;.substrait.Type.PrecisionTime precision_time = 36;.substrait.Type.PrecisionTime precision_time = 36;.substrait.Type.PrecisionTimestamp precision_timestamp = 33;.substrait.Type.PrecisionTimestamp precision_timestamp = 33;value is since UNIX epoch in UTCvalue is since UNIX epoch in UTC.substrait.Type.String string = 12;.substrait.Type.String string = 12;.substrait.Type.Struct struct = 25;.substrait.Type.Struct struct = 25;getTime()Deprecated in favor of `PrecisionTime precision_time`Deprecated in favor of `PrecisionTime precision_time`Deprecated.substrait.Type.timestamp is deprecated.Deprecated.Deprecated.substrait.Type.timestamp_tz is deprecated.Deprecated..substrait.Type.UserDefined user_defined = 30;.substrait.Type.UserDefined user_defined = 30;intDeprecated.substrait.Type.user_defined_type_reference is deprecated.getUuid().substrait.Type.UUID uuid = 32;.substrait.Type.UUID uuid = 32;.substrait.Type.VarChar varchar = 22;.substrait.Type.VarChar varchar = 22;boolean.substrait.Type.Binary binary = 13;booleanhasBool().substrait.Type.Boolean bool = 1;booleanhasDate().substrait.Type.Date date = 16;boolean.substrait.Type.Decimal decimal = 24;boolean.substrait.Type.FixedBinary fixed_binary = 23;boolean.substrait.Type.FixedChar fixed_char = 21;booleanhasFp32().substrait.Type.FP32 fp32 = 10;booleanhasFp64().substrait.Type.FP64 fp64 = 11;booleanhasI16().substrait.Type.I16 i16 = 3;booleanhasI32().substrait.Type.I32 i32 = 5;booleanhasI64().substrait.Type.I64 i64 = 7;booleanhasI8().substrait.Type.I8 i8 = 2;boolean.substrait.Type.IntervalCompound interval_compound = 35;boolean.substrait.Type.IntervalDay interval_day = 20;boolean.substrait.Type.IntervalYear interval_year = 19;booleanhasList().substrait.Type.List list = 27;booleanhasMap().substrait.Type.Map map = 28;boolean.substrait.Type.PrecisionTime precision_time = 36;boolean.substrait.Type.PrecisionTimestamp precision_timestamp = 33;booleanvalue is since UNIX epoch in UTCboolean.substrait.Type.String string = 12;boolean.substrait.Type.Struct struct = 25;booleanhasTime()Deprecated in favor of `PrecisionTime precision_time`booleanDeprecated.substrait.Type.timestamp is deprecated.booleanDeprecated.substrait.Type.timestamp_tz is deprecated.boolean.substrait.Type.UserDefined user_defined = 30;booleanDeprecated.substrait.Type.user_defined_type_reference is deprecated.booleanhasUuid().substrait.Type.UUID uuid = 32;boolean.substrait.Type.VarChar varchar = 22;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
-
hasBool
boolean hasBool().substrait.Type.Boolean bool = 1;- Returns:
- Whether the bool field is set.
-
getBool
Type.Boolean getBool().substrait.Type.Boolean bool = 1;- Returns:
- The bool.
-
getBoolOrBuilder
Type.BooleanOrBuilder getBoolOrBuilder().substrait.Type.Boolean bool = 1; -
hasI8
boolean hasI8().substrait.Type.I8 i8 = 2;- Returns:
- Whether the i8 field is set.
-
getI8
Type.I8 getI8().substrait.Type.I8 i8 = 2;- Returns:
- The i8.
-
getI8OrBuilder
Type.I8OrBuilder getI8OrBuilder().substrait.Type.I8 i8 = 2; -
hasI16
boolean hasI16().substrait.Type.I16 i16 = 3;- Returns:
- Whether the i16 field is set.
-
getI16
Type.I16 getI16().substrait.Type.I16 i16 = 3;- Returns:
- The i16.
-
getI16OrBuilder
Type.I16OrBuilder getI16OrBuilder().substrait.Type.I16 i16 = 3; -
hasI32
boolean hasI32().substrait.Type.I32 i32 = 5;- Returns:
- Whether the i32 field is set.
-
getI32
Type.I32 getI32().substrait.Type.I32 i32 = 5;- Returns:
- The i32.
-
getI32OrBuilder
Type.I32OrBuilder getI32OrBuilder().substrait.Type.I32 i32 = 5; -
hasI64
boolean hasI64().substrait.Type.I64 i64 = 7;- Returns:
- Whether the i64 field is set.
-
getI64
Type.I64 getI64().substrait.Type.I64 i64 = 7;- Returns:
- The i64.
-
getI64OrBuilder
Type.I64OrBuilder getI64OrBuilder().substrait.Type.I64 i64 = 7; -
hasFp32
boolean hasFp32().substrait.Type.FP32 fp32 = 10;- Returns:
- Whether the fp32 field is set.
-
getFp32
Type.FP32 getFp32().substrait.Type.FP32 fp32 = 10;- Returns:
- The fp32.
-
getFp32OrBuilder
Type.FP32OrBuilder getFp32OrBuilder().substrait.Type.FP32 fp32 = 10; -
hasFp64
boolean hasFp64().substrait.Type.FP64 fp64 = 11;- Returns:
- Whether the fp64 field is set.
-
getFp64
Type.FP64 getFp64().substrait.Type.FP64 fp64 = 11;- Returns:
- The fp64.
-
getFp64OrBuilder
Type.FP64OrBuilder getFp64OrBuilder().substrait.Type.FP64 fp64 = 11; -
hasString
boolean hasString().substrait.Type.String string = 12;- Returns:
- Whether the string field is set.
-
getString
Type.String getString().substrait.Type.String string = 12;- Returns:
- The string.
-
getStringOrBuilder
Type.StringOrBuilder getStringOrBuilder().substrait.Type.String string = 12; -
hasBinary
boolean hasBinary().substrait.Type.Binary binary = 13;- Returns:
- Whether the binary field is set.
-
getBinary
Type.Binary getBinary().substrait.Type.Binary binary = 13;- Returns:
- The binary.
-
getBinaryOrBuilder
Type.BinaryOrBuilder getBinaryOrBuilder().substrait.Type.Binary binary = 13; -
hasTimestamp
Deprecated.substrait.Type.timestamp is deprecated. See substrait/type.proto;l=24Deprecated in favor of `PrecisionTimestamp precision_timestamp`
.substrait.Type.Timestamp timestamp = 14 [deprecated = true];- Returns:
- Whether the timestamp field is set.
-
getTimestamp
Deprecated.substrait.Type.timestamp is deprecated. See substrait/type.proto;l=24Deprecated in favor of `PrecisionTimestamp precision_timestamp`
.substrait.Type.Timestamp timestamp = 14 [deprecated = true];- Returns:
- The timestamp.
-
getTimestampOrBuilder
Deprecated.Deprecated in favor of `PrecisionTimestamp precision_timestamp`
.substrait.Type.Timestamp timestamp = 14 [deprecated = true]; -
hasDate
boolean hasDate().substrait.Type.Date date = 16;- Returns:
- Whether the date field is set.
-
getDate
Type.Date getDate().substrait.Type.Date date = 16;- Returns:
- The date.
-
getDateOrBuilder
Type.DateOrBuilder getDateOrBuilder().substrait.Type.Date date = 16; -
hasTime
boolean hasTime()Deprecated in favor of `PrecisionTime precision_time`
.substrait.Type.Time time = 17;- Returns:
- Whether the time field is set.
-
getTime
Type.Time getTime()Deprecated in favor of `PrecisionTime precision_time`
.substrait.Type.Time time = 17;- Returns:
- The time.
-
getTimeOrBuilder
Type.TimeOrBuilder getTimeOrBuilder()Deprecated in favor of `PrecisionTime precision_time`
.substrait.Type.Time time = 17; -
hasIntervalYear
boolean hasIntervalYear().substrait.Type.IntervalYear interval_year = 19;- Returns:
- Whether the intervalYear field is set.
-
getIntervalYear
Type.IntervalYear getIntervalYear().substrait.Type.IntervalYear interval_year = 19;- Returns:
- The intervalYear.
-
getIntervalYearOrBuilder
Type.IntervalYearOrBuilder getIntervalYearOrBuilder().substrait.Type.IntervalYear interval_year = 19; -
hasIntervalDay
boolean hasIntervalDay().substrait.Type.IntervalDay interval_day = 20;- Returns:
- Whether the intervalDay field is set.
-
getIntervalDay
Type.IntervalDay getIntervalDay().substrait.Type.IntervalDay interval_day = 20;- Returns:
- The intervalDay.
-
getIntervalDayOrBuilder
Type.IntervalDayOrBuilder getIntervalDayOrBuilder().substrait.Type.IntervalDay interval_day = 20; -
hasIntervalCompound
boolean hasIntervalCompound().substrait.Type.IntervalCompound interval_compound = 35;- Returns:
- Whether the intervalCompound field is set.
-
getIntervalCompound
Type.IntervalCompound getIntervalCompound().substrait.Type.IntervalCompound interval_compound = 35;- Returns:
- The intervalCompound.
-
getIntervalCompoundOrBuilder
Type.IntervalCompoundOrBuilder getIntervalCompoundOrBuilder().substrait.Type.IntervalCompound interval_compound = 35; -
hasTimestampTz
Deprecated.substrait.Type.timestamp_tz is deprecated. See substrait/type.proto;l=32Deprecated in favor of `PrecisionTimestampTZ precision_timestamp_tz`
.substrait.Type.TimestampTZ timestamp_tz = 29 [deprecated = true];- Returns:
- Whether the timestampTz field is set.
-
getTimestampTz
Deprecated.substrait.Type.timestamp_tz is deprecated. See substrait/type.proto;l=32Deprecated in favor of `PrecisionTimestampTZ precision_timestamp_tz`
.substrait.Type.TimestampTZ timestamp_tz = 29 [deprecated = true];- Returns:
- The timestampTz.
-
getTimestampTzOrBuilder
Deprecated.Deprecated in favor of `PrecisionTimestampTZ precision_timestamp_tz`
.substrait.Type.TimestampTZ timestamp_tz = 29 [deprecated = true]; -
hasUuid
boolean hasUuid().substrait.Type.UUID uuid = 32;- Returns:
- Whether the uuid field is set.
-
getUuid
Type.UUID getUuid().substrait.Type.UUID uuid = 32;- Returns:
- The uuid.
-
getUuidOrBuilder
Type.UUIDOrBuilder getUuidOrBuilder().substrait.Type.UUID uuid = 32; -
hasFixedChar
boolean hasFixedChar().substrait.Type.FixedChar fixed_char = 21;- Returns:
- Whether the fixedChar field is set.
-
getFixedChar
Type.FixedChar getFixedChar().substrait.Type.FixedChar fixed_char = 21;- Returns:
- The fixedChar.
-
getFixedCharOrBuilder
Type.FixedCharOrBuilder getFixedCharOrBuilder().substrait.Type.FixedChar fixed_char = 21; -
hasVarchar
boolean hasVarchar().substrait.Type.VarChar varchar = 22;- Returns:
- Whether the varchar field is set.
-
getVarchar
Type.VarChar getVarchar().substrait.Type.VarChar varchar = 22;- Returns:
- The varchar.
-
getVarcharOrBuilder
Type.VarCharOrBuilder getVarcharOrBuilder().substrait.Type.VarChar varchar = 22; -
hasFixedBinary
boolean hasFixedBinary().substrait.Type.FixedBinary fixed_binary = 23;- Returns:
- Whether the fixedBinary field is set.
-
getFixedBinary
Type.FixedBinary getFixedBinary().substrait.Type.FixedBinary fixed_binary = 23;- Returns:
- The fixedBinary.
-
getFixedBinaryOrBuilder
Type.FixedBinaryOrBuilder getFixedBinaryOrBuilder().substrait.Type.FixedBinary fixed_binary = 23; -
hasDecimal
boolean hasDecimal().substrait.Type.Decimal decimal = 24;- Returns:
- Whether the decimal field is set.
-
getDecimal
Type.Decimal getDecimal().substrait.Type.Decimal decimal = 24;- Returns:
- The decimal.
-
getDecimalOrBuilder
Type.DecimalOrBuilder getDecimalOrBuilder().substrait.Type.Decimal decimal = 24; -
hasPrecisionTime
boolean hasPrecisionTime().substrait.Type.PrecisionTime precision_time = 36;- Returns:
- Whether the precisionTime field is set.
-
getPrecisionTime
Type.PrecisionTime getPrecisionTime().substrait.Type.PrecisionTime precision_time = 36;- Returns:
- The precisionTime.
-
getPrecisionTimeOrBuilder
Type.PrecisionTimeOrBuilder getPrecisionTimeOrBuilder().substrait.Type.PrecisionTime precision_time = 36; -
hasPrecisionTimestamp
boolean hasPrecisionTimestamp().substrait.Type.PrecisionTimestamp precision_timestamp = 33;- Returns:
- Whether the precisionTimestamp field is set.
-
getPrecisionTimestamp
Type.PrecisionTimestamp getPrecisionTimestamp().substrait.Type.PrecisionTimestamp precision_timestamp = 33;- Returns:
- The precisionTimestamp.
-
getPrecisionTimestampOrBuilder
Type.PrecisionTimestampOrBuilder getPrecisionTimestampOrBuilder().substrait.Type.PrecisionTimestamp precision_timestamp = 33; -
hasPrecisionTimestampTz
boolean hasPrecisionTimestampTz()value is since UNIX epoch in UTC
.substrait.Type.PrecisionTimestampTZ precision_timestamp_tz = 34;- Returns:
- Whether the precisionTimestampTz field is set.
-
getPrecisionTimestampTz
Type.PrecisionTimestampTZ getPrecisionTimestampTz()value is since UNIX epoch in UTC
.substrait.Type.PrecisionTimestampTZ precision_timestamp_tz = 34;- Returns:
- The precisionTimestampTz.
-
getPrecisionTimestampTzOrBuilder
Type.PrecisionTimestampTZOrBuilder getPrecisionTimestampTzOrBuilder()value is since UNIX epoch in UTC
.substrait.Type.PrecisionTimestampTZ precision_timestamp_tz = 34; -
hasStruct
boolean hasStruct().substrait.Type.Struct struct = 25;- Returns:
- Whether the struct field is set.
-
getStruct
Type.Struct getStruct().substrait.Type.Struct struct = 25;- Returns:
- The struct.
-
getStructOrBuilder
Type.StructOrBuilder getStructOrBuilder().substrait.Type.Struct struct = 25; -
hasList
boolean hasList().substrait.Type.List list = 27;- Returns:
- Whether the list field is set.
-
getList
Type.List getList().substrait.Type.List list = 27;- Returns:
- The list.
-
getListOrBuilder
Type.ListOrBuilder getListOrBuilder().substrait.Type.List list = 27; -
hasMap
boolean hasMap().substrait.Type.Map map = 28;- Returns:
- Whether the map field is set.
-
getMap
Type.Map getMap().substrait.Type.Map map = 28;- Returns:
- The map.
-
getMapOrBuilder
Type.MapOrBuilder getMapOrBuilder().substrait.Type.Map map = 28; -
hasUserDefined
boolean hasUserDefined().substrait.Type.UserDefined user_defined = 30;- Returns:
- Whether the userDefined field is set.
-
getUserDefined
Type.UserDefined getUserDefined().substrait.Type.UserDefined user_defined = 30;- Returns:
- The userDefined.
-
getUserDefinedOrBuilder
Type.UserDefinedOrBuilder getUserDefinedOrBuilder().substrait.Type.UserDefined user_defined = 30; -
hasUserDefinedTypeReference
Deprecated.substrait.Type.user_defined_type_reference is deprecated. See substrait/type.proto;l=53Deprecated in favor of user_defined, which allows nullability and variations to be specified. If user_defined_type_reference is encountered, treat it as being non-nullable and having the default variation.
uint32 user_defined_type_reference = 31 [deprecated = true];- Returns:
- Whether the userDefinedTypeReference field is set.
-
getUserDefinedTypeReference
Deprecated.substrait.Type.user_defined_type_reference is deprecated. See substrait/type.proto;l=53Deprecated in favor of user_defined, which allows nullability and variations to be specified. If user_defined_type_reference is encountered, treat it as being non-nullable and having the default variation.
uint32 user_defined_type_reference = 31 [deprecated = true];- Returns:
- The userDefinedTypeReference.
-
getKindCase
Type.KindCase getKindCase()
-