Package io.substrait.proto
Class Expression.Literal
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.substrait.proto.Expression.Literal
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Expression.LiteralOrBuilder,Serializable
- Enclosing class:
- Expression
public static final class Expression.Literal
extends com.google.protobuf.GeneratedMessageV3
implements Expression.LiteralOrBuilder
Protobuf type
substrait.Expression.Literal- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typesubstrait.Expression.Literalstatic final classProtobuf typesubstrait.Expression.Literal.Decimalstatic interfacestatic final classProtobuf typesubstrait.Expression.Literal.IntervalCompoundstatic interfacestatic final classProtobuf typesubstrait.Expression.Literal.IntervalDayToSecondstatic interfacestatic final classProtobuf typesubstrait.Expression.Literal.IntervalYearToMonthstatic interfacestatic final classProtobuf typesubstrait.Expression.Literal.Liststatic interfacestatic enumstatic final classProtobuf typesubstrait.Expression.Literal.Mapstatic interfacestatic final classProtobuf typesubstrait.Expression.Literal.PrecisionTimestatic interfacestatic final classProtobuf typesubstrait.Expression.Literal.PrecisionTimestampstatic interfacestatic final classProtobuf typesubstrait.Expression.Literal.Structstatic interfacestatic final classProtobuf typesubstrait.Expression.Literal.UserDefinedstatic interfacestatic final classProtobuf typesubstrait.Expression.Literal.VarCharstatic interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancom.google.protobuf.ByteStringbytes binary = 13;booleanbool boolean = 1;intgetDate()Date in units of days since the UNIX epoch..substrait.Expression.Literal.Decimal decimal = 24;.substrait.Expression.Literal.Decimal decimal = 24;static Expression.Literalstatic final com.google.protobuf.Descriptors.Descriptor.substrait.Type.List empty_list = 31;.substrait.Type.List empty_list = 31;.substrait.Type.Map empty_map = 32;.substrait.Type.Map empty_map = 32;com.google.protobuf.ByteStringbytes fixed_binary = 23;string fixed_char = 21;com.google.protobuf.ByteStringstring fixed_char = 21;floatgetFp32()float fp32 = 10;doublegetFp64()double fp64 = 11;intgetI16()int32 i16 = 3;intgetI32()int32 i32 = 5;longgetI64()int64 i64 = 7;intgetI8()int32 i8 = 2;.substrait.Expression.Literal.IntervalCompound interval_compound = 36;.substrait.Expression.Literal.IntervalCompound interval_compound = 36;.substrait.Expression.Literal.IntervalDayToSecond interval_day_to_second = 20;.substrait.Expression.Literal.IntervalDayToSecond interval_day_to_second = 20;.substrait.Expression.Literal.IntervalYearToMonth interval_year_to_month = 19;.substrait.Expression.Literal.IntervalYearToMonth interval_year_to_month = 19;getList().substrait.Expression.Literal.List list = 30;.substrait.Expression.Literal.List list = 30;getMap().substrait.Expression.Literal.Map map = 26;.substrait.Expression.Literal.Map map = 26;getNull()a typed null literalbooleanWhether the literal_type above should be treated as a nullable type.a typed null literalcom.google.protobuf.Parser<Expression.Literal>Time in precision units past midnight.Time in precision units past midnight..substrait.Expression.Literal.PrecisionTimestamp precision_timestamp = 34;.substrait.Expression.Literal.PrecisionTimestamp precision_timestamp = 34;.substrait.Expression.Literal.PrecisionTimestamp precision_timestamp_tz = 35;.substrait.Expression.Literal.PrecisionTimestamp precision_timestamp_tz = 35;intstring string = 12;com.google.protobuf.ByteStringstring string = 12;.substrait.Expression.Literal.Struct struct = 25;.substrait.Expression.Literal.Struct struct = 25;longgetTime()Time in units of microseconds past midnight.longDeprecated.substrait.Expression.Literal.timestamp is deprecated.longDeprecated.substrait.Expression.Literal.timestamp_tz is deprecated.intoptionally points to a type_variation_anchor defined in this plan..substrait.Expression.Literal.UserDefined user_defined = 33;.substrait.Expression.Literal.UserDefined user_defined = 33;com.google.protobuf.ByteStringgetUuid()bytes uuid = 28;.substrait.Expression.Literal.VarChar var_char = 22;.substrait.Expression.Literal.VarChar var_char = 22;booleanbytes binary = 13;booleanbool boolean = 1;booleanhasDate()Date in units of days since the UNIX epoch.boolean.substrait.Expression.Literal.Decimal decimal = 24;boolean.substrait.Type.List empty_list = 31;boolean.substrait.Type.Map empty_map = 32;booleanbytes fixed_binary = 23;booleanstring fixed_char = 21;booleanhasFp32()float fp32 = 10;booleanhasFp64()double fp64 = 11;inthashCode()booleanhasI16()int32 i16 = 3;booleanhasI32()int32 i32 = 5;booleanhasI64()int64 i64 = 7;booleanhasI8()int32 i8 = 2;boolean.substrait.Expression.Literal.IntervalCompound interval_compound = 36;boolean.substrait.Expression.Literal.IntervalDayToSecond interval_day_to_second = 20;boolean.substrait.Expression.Literal.IntervalYearToMonth interval_year_to_month = 19;booleanhasList().substrait.Expression.Literal.List list = 30;booleanhasMap().substrait.Expression.Literal.Map map = 26;booleanhasNull()a typed null literalbooleanTime in precision units past midnight.boolean.substrait.Expression.Literal.PrecisionTimestamp precision_timestamp = 34;boolean.substrait.Expression.Literal.PrecisionTimestamp precision_timestamp_tz = 35;booleanstring string = 12;boolean.substrait.Expression.Literal.Struct struct = 25;booleanhasTime()Time in units of microseconds past midnight.booleanDeprecated.substrait.Expression.Literal.timestamp is deprecated.booleanDeprecated.substrait.Expression.Literal.timestamp_tz is deprecated.boolean.substrait.Expression.Literal.UserDefined user_defined = 33;booleanhasUuid()bytes uuid = 28;boolean.substrait.Expression.Literal.VarChar var_char = 22;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic Expression.Literal.Builderstatic Expression.Literal.BuildernewBuilder(Expression.Literal prototype) protected Expression.Literal.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static Expression.LiteralparseDelimitedFrom(InputStream input) static Expression.LiteralparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Expression.LiteralparseFrom(byte[] data) static Expression.LiteralparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Expression.LiteralparseFrom(com.google.protobuf.ByteString data) static Expression.LiteralparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Expression.LiteralparseFrom(com.google.protobuf.CodedInputStream input) static Expression.LiteralparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Expression.LiteralparseFrom(InputStream input) static Expression.LiteralparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Expression.LiteralparseFrom(ByteBuffer data) static Expression.LiteralparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Expression.Literal>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
BOOLEAN_FIELD_NUMBER
public static final int BOOLEAN_FIELD_NUMBER- See Also:
-
I8_FIELD_NUMBER
public static final int I8_FIELD_NUMBER- See Also:
-
I16_FIELD_NUMBER
public static final int I16_FIELD_NUMBER- See Also:
-
I32_FIELD_NUMBER
public static final int I32_FIELD_NUMBER- See Also:
-
I64_FIELD_NUMBER
public static final int I64_FIELD_NUMBER- See Also:
-
FP32_FIELD_NUMBER
public static final int FP32_FIELD_NUMBER- See Also:
-
FP64_FIELD_NUMBER
public static final int FP64_FIELD_NUMBER- See Also:
-
STRING_FIELD_NUMBER
public static final int STRING_FIELD_NUMBER- See Also:
-
BINARY_FIELD_NUMBER
public static final int BINARY_FIELD_NUMBER- See Also:
-
TIMESTAMP_FIELD_NUMBER
public static final int TIMESTAMP_FIELD_NUMBER- See Also:
-
DATE_FIELD_NUMBER
public static final int DATE_FIELD_NUMBER- See Also:
-
TIME_FIELD_NUMBER
public static final int TIME_FIELD_NUMBER- See Also:
-
INTERVAL_YEAR_TO_MONTH_FIELD_NUMBER
public static final int INTERVAL_YEAR_TO_MONTH_FIELD_NUMBER- See Also:
-
INTERVAL_DAY_TO_SECOND_FIELD_NUMBER
public static final int INTERVAL_DAY_TO_SECOND_FIELD_NUMBER- See Also:
-
INTERVAL_COMPOUND_FIELD_NUMBER
public static final int INTERVAL_COMPOUND_FIELD_NUMBER- See Also:
-
FIXED_CHAR_FIELD_NUMBER
public static final int FIXED_CHAR_FIELD_NUMBER- See Also:
-
VAR_CHAR_FIELD_NUMBER
public static final int VAR_CHAR_FIELD_NUMBER- See Also:
-
FIXED_BINARY_FIELD_NUMBER
public static final int FIXED_BINARY_FIELD_NUMBER- See Also:
-
DECIMAL_FIELD_NUMBER
public static final int DECIMAL_FIELD_NUMBER- See Also:
-
PRECISION_TIME_FIELD_NUMBER
public static final int PRECISION_TIME_FIELD_NUMBER- See Also:
-
PRECISION_TIMESTAMP_FIELD_NUMBER
public static final int PRECISION_TIMESTAMP_FIELD_NUMBER- See Also:
-
PRECISION_TIMESTAMP_TZ_FIELD_NUMBER
public static final int PRECISION_TIMESTAMP_TZ_FIELD_NUMBER- See Also:
-
STRUCT_FIELD_NUMBER
public static final int STRUCT_FIELD_NUMBER- See Also:
-
MAP_FIELD_NUMBER
public static final int MAP_FIELD_NUMBER- See Also:
-
TIMESTAMP_TZ_FIELD_NUMBER
public static final int TIMESTAMP_TZ_FIELD_NUMBER- See Also:
-
UUID_FIELD_NUMBER
public static final int UUID_FIELD_NUMBER- See Also:
-
NULL_FIELD_NUMBER
public static final int NULL_FIELD_NUMBER- See Also:
-
LIST_FIELD_NUMBER
public static final int LIST_FIELD_NUMBER- See Also:
-
EMPTY_LIST_FIELD_NUMBER
public static final int EMPTY_LIST_FIELD_NUMBER- See Also:
-
EMPTY_MAP_FIELD_NUMBER
public static final int EMPTY_MAP_FIELD_NUMBER- See Also:
-
USER_DEFINED_FIELD_NUMBER
public static final int USER_DEFINED_FIELD_NUMBER- See Also:
-
NULLABLE_FIELD_NUMBER
public static final int NULLABLE_FIELD_NUMBER- See Also:
-
TYPE_VARIATION_REFERENCE_FIELD_NUMBER
public static final int TYPE_VARIATION_REFERENCE_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getLiteralTypeCase
- Specified by:
getLiteralTypeCasein interfaceExpression.LiteralOrBuilder
-
hasBoolean
public boolean hasBoolean()bool boolean = 1;- Specified by:
hasBooleanin interfaceExpression.LiteralOrBuilder- Returns:
- Whether the boolean field is set.
-
getBoolean
public boolean getBoolean()bool boolean = 1;- Specified by:
getBooleanin interfaceExpression.LiteralOrBuilder- Returns:
- The boolean.
-
hasI8
public boolean hasI8()int32 i8 = 2;- Specified by:
hasI8in interfaceExpression.LiteralOrBuilder- Returns:
- Whether the i8 field is set.
-
getI8
public int getI8()int32 i8 = 2;- Specified by:
getI8in interfaceExpression.LiteralOrBuilder- Returns:
- The i8.
-
hasI16
public boolean hasI16()int32 i16 = 3;- Specified by:
hasI16in interfaceExpression.LiteralOrBuilder- Returns:
- Whether the i16 field is set.
-
getI16
public int getI16()int32 i16 = 3;- Specified by:
getI16in interfaceExpression.LiteralOrBuilder- Returns:
- The i16.
-
hasI32
public boolean hasI32()int32 i32 = 5;- Specified by:
hasI32in interfaceExpression.LiteralOrBuilder- Returns:
- Whether the i32 field is set.
-
getI32
public int getI32()int32 i32 = 5;- Specified by:
getI32in interfaceExpression.LiteralOrBuilder- Returns:
- The i32.
-
hasI64
public boolean hasI64()int64 i64 = 7;- Specified by:
hasI64in interfaceExpression.LiteralOrBuilder- Returns:
- Whether the i64 field is set.
-
getI64
public long getI64()int64 i64 = 7;- Specified by:
getI64in interfaceExpression.LiteralOrBuilder- Returns:
- The i64.
-
hasFp32
public boolean hasFp32()float fp32 = 10;- Specified by:
hasFp32in interfaceExpression.LiteralOrBuilder- Returns:
- Whether the fp32 field is set.
-
getFp32
public float getFp32()float fp32 = 10;- Specified by:
getFp32in interfaceExpression.LiteralOrBuilder- Returns:
- The fp32.
-
hasFp64
public boolean hasFp64()double fp64 = 11;- Specified by:
hasFp64in interfaceExpression.LiteralOrBuilder- Returns:
- Whether the fp64 field is set.
-
getFp64
public double getFp64()double fp64 = 11;- Specified by:
getFp64in interfaceExpression.LiteralOrBuilder- Returns:
- The fp64.
-
hasString
public boolean hasString()string string = 12;- Specified by:
hasStringin interfaceExpression.LiteralOrBuilder- Returns:
- Whether the string field is set.
-
getString
string string = 12;- Specified by:
getStringin interfaceExpression.LiteralOrBuilder- Returns:
- The string.
-
getStringBytes
public com.google.protobuf.ByteString getStringBytes()string string = 12;- Specified by:
getStringBytesin interfaceExpression.LiteralOrBuilder- Returns:
- The bytes for string.
-
hasBinary
public boolean hasBinary()bytes binary = 13;- Specified by:
hasBinaryin interfaceExpression.LiteralOrBuilder- Returns:
- Whether the binary field is set.
-
getBinary
public com.google.protobuf.ByteString getBinary()bytes binary = 13;- Specified by:
getBinaryin interfaceExpression.LiteralOrBuilder- Returns:
- The binary.
-
hasTimestamp
Deprecated.substrait.Expression.Literal.timestamp is deprecated. See substrait/algebra.proto;l=1002Timestamp in units of microseconds since the UNIX epoch. Deprecated in favor of `precision_timestamp`.
int64 timestamp = 14 [deprecated = true];- Specified by:
hasTimestampin interfaceExpression.LiteralOrBuilder- Returns:
- Whether the timestamp field is set.
-
getTimestamp
Deprecated.substrait.Expression.Literal.timestamp is deprecated. See substrait/algebra.proto;l=1002Timestamp in units of microseconds since the UNIX epoch. Deprecated in favor of `precision_timestamp`.
int64 timestamp = 14 [deprecated = true];- Specified by:
getTimestampin interfaceExpression.LiteralOrBuilder- Returns:
- The timestamp.
-
hasDate
public boolean hasDate()Date in units of days since the UNIX epoch.
int32 date = 16;- Specified by:
hasDatein interfaceExpression.LiteralOrBuilder- Returns:
- Whether the date field is set.
-
getDate
public int getDate()Date in units of days since the UNIX epoch.
int32 date = 16;- Specified by:
getDatein interfaceExpression.LiteralOrBuilder- Returns:
- The date.
-
hasTime
public boolean hasTime()Time in units of microseconds past midnight. Deprecated in favor of `precision_time`.
int64 time = 17;- Specified by:
hasTimein interfaceExpression.LiteralOrBuilder- Returns:
- Whether the time field is set.
-
getTime
public long getTime()Time in units of microseconds past midnight. Deprecated in favor of `precision_time`.
int64 time = 17;- Specified by:
getTimein interfaceExpression.LiteralOrBuilder- Returns:
- The time.
-
hasIntervalYearToMonth
public boolean hasIntervalYearToMonth().substrait.Expression.Literal.IntervalYearToMonth interval_year_to_month = 19;- Specified by:
hasIntervalYearToMonthin interfaceExpression.LiteralOrBuilder- Returns:
- Whether the intervalYearToMonth field is set.
-
getIntervalYearToMonth
.substrait.Expression.Literal.IntervalYearToMonth interval_year_to_month = 19;- Specified by:
getIntervalYearToMonthin interfaceExpression.LiteralOrBuilder- Returns:
- The intervalYearToMonth.
-
getIntervalYearToMonthOrBuilder
.substrait.Expression.Literal.IntervalYearToMonth interval_year_to_month = 19;- Specified by:
getIntervalYearToMonthOrBuilderin interfaceExpression.LiteralOrBuilder
-
hasIntervalDayToSecond
public boolean hasIntervalDayToSecond().substrait.Expression.Literal.IntervalDayToSecond interval_day_to_second = 20;- Specified by:
hasIntervalDayToSecondin interfaceExpression.LiteralOrBuilder- Returns:
- Whether the intervalDayToSecond field is set.
-
getIntervalDayToSecond
.substrait.Expression.Literal.IntervalDayToSecond interval_day_to_second = 20;- Specified by:
getIntervalDayToSecondin interfaceExpression.LiteralOrBuilder- Returns:
- The intervalDayToSecond.
-
getIntervalDayToSecondOrBuilder
.substrait.Expression.Literal.IntervalDayToSecond interval_day_to_second = 20;- Specified by:
getIntervalDayToSecondOrBuilderin interfaceExpression.LiteralOrBuilder
-
hasIntervalCompound
public boolean hasIntervalCompound().substrait.Expression.Literal.IntervalCompound interval_compound = 36;- Specified by:
hasIntervalCompoundin interfaceExpression.LiteralOrBuilder- Returns:
- Whether the intervalCompound field is set.
-
getIntervalCompound
.substrait.Expression.Literal.IntervalCompound interval_compound = 36;- Specified by:
getIntervalCompoundin interfaceExpression.LiteralOrBuilder- Returns:
- The intervalCompound.
-
getIntervalCompoundOrBuilder
.substrait.Expression.Literal.IntervalCompound interval_compound = 36;- Specified by:
getIntervalCompoundOrBuilderin interfaceExpression.LiteralOrBuilder
-
hasFixedChar
public boolean hasFixedChar()string fixed_char = 21;- Specified by:
hasFixedCharin interfaceExpression.LiteralOrBuilder- Returns:
- Whether the fixedChar field is set.
-
getFixedChar
string fixed_char = 21;- Specified by:
getFixedCharin interfaceExpression.LiteralOrBuilder- Returns:
- The fixedChar.
-
getFixedCharBytes
public com.google.protobuf.ByteString getFixedCharBytes()string fixed_char = 21;- Specified by:
getFixedCharBytesin interfaceExpression.LiteralOrBuilder- Returns:
- The bytes for fixedChar.
-
hasVarChar
public boolean hasVarChar().substrait.Expression.Literal.VarChar var_char = 22;- Specified by:
hasVarCharin interfaceExpression.LiteralOrBuilder- Returns:
- Whether the varChar field is set.
-
getVarChar
.substrait.Expression.Literal.VarChar var_char = 22;- Specified by:
getVarCharin interfaceExpression.LiteralOrBuilder- Returns:
- The varChar.
-
getVarCharOrBuilder
.substrait.Expression.Literal.VarChar var_char = 22;- Specified by:
getVarCharOrBuilderin interfaceExpression.LiteralOrBuilder
-
hasFixedBinary
public boolean hasFixedBinary()bytes fixed_binary = 23;- Specified by:
hasFixedBinaryin interfaceExpression.LiteralOrBuilder- Returns:
- Whether the fixedBinary field is set.
-
getFixedBinary
public com.google.protobuf.ByteString getFixedBinary()bytes fixed_binary = 23;- Specified by:
getFixedBinaryin interfaceExpression.LiteralOrBuilder- Returns:
- The fixedBinary.
-
hasDecimal
public boolean hasDecimal().substrait.Expression.Literal.Decimal decimal = 24;- Specified by:
hasDecimalin interfaceExpression.LiteralOrBuilder- Returns:
- Whether the decimal field is set.
-
getDecimal
.substrait.Expression.Literal.Decimal decimal = 24;- Specified by:
getDecimalin interfaceExpression.LiteralOrBuilder- Returns:
- The decimal.
-
getDecimalOrBuilder
.substrait.Expression.Literal.Decimal decimal = 24;- Specified by:
getDecimalOrBuilderin interfaceExpression.LiteralOrBuilder
-
hasPrecisionTime
public boolean hasPrecisionTime()Time in precision units past midnight.
.substrait.Expression.Literal.PrecisionTime precision_time = 37;- Specified by:
hasPrecisionTimein interfaceExpression.LiteralOrBuilder- Returns:
- Whether the precisionTime field is set.
-
getPrecisionTime
Time in precision units past midnight.
.substrait.Expression.Literal.PrecisionTime precision_time = 37;- Specified by:
getPrecisionTimein interfaceExpression.LiteralOrBuilder- Returns:
- The precisionTime.
-
getPrecisionTimeOrBuilder
Time in precision units past midnight.
.substrait.Expression.Literal.PrecisionTime precision_time = 37;- Specified by:
getPrecisionTimeOrBuilderin interfaceExpression.LiteralOrBuilder
-
hasPrecisionTimestamp
public boolean hasPrecisionTimestamp().substrait.Expression.Literal.PrecisionTimestamp precision_timestamp = 34;- Specified by:
hasPrecisionTimestampin interfaceExpression.LiteralOrBuilder- Returns:
- Whether the precisionTimestamp field is set.
-
getPrecisionTimestamp
.substrait.Expression.Literal.PrecisionTimestamp precision_timestamp = 34;- Specified by:
getPrecisionTimestampin interfaceExpression.LiteralOrBuilder- Returns:
- The precisionTimestamp.
-
getPrecisionTimestampOrBuilder
.substrait.Expression.Literal.PrecisionTimestamp precision_timestamp = 34;- Specified by:
getPrecisionTimestampOrBuilderin interfaceExpression.LiteralOrBuilder
-
hasPrecisionTimestampTz
public boolean hasPrecisionTimestampTz().substrait.Expression.Literal.PrecisionTimestamp precision_timestamp_tz = 35;- Specified by:
hasPrecisionTimestampTzin interfaceExpression.LiteralOrBuilder- Returns:
- Whether the precisionTimestampTz field is set.
-
getPrecisionTimestampTz
.substrait.Expression.Literal.PrecisionTimestamp precision_timestamp_tz = 35;- Specified by:
getPrecisionTimestampTzin interfaceExpression.LiteralOrBuilder- Returns:
- The precisionTimestampTz.
-
getPrecisionTimestampTzOrBuilder
.substrait.Expression.Literal.PrecisionTimestamp precision_timestamp_tz = 35;- Specified by:
getPrecisionTimestampTzOrBuilderin interfaceExpression.LiteralOrBuilder
-
hasStruct
public boolean hasStruct().substrait.Expression.Literal.Struct struct = 25;- Specified by:
hasStructin interfaceExpression.LiteralOrBuilder- Returns:
- Whether the struct field is set.
-
getStruct
.substrait.Expression.Literal.Struct struct = 25;- Specified by:
getStructin interfaceExpression.LiteralOrBuilder- Returns:
- The struct.
-
getStructOrBuilder
.substrait.Expression.Literal.Struct struct = 25;- Specified by:
getStructOrBuilderin interfaceExpression.LiteralOrBuilder
-
hasMap
public boolean hasMap().substrait.Expression.Literal.Map map = 26;- Specified by:
hasMapin interfaceExpression.LiteralOrBuilder- Returns:
- Whether the map field is set.
-
getMap
.substrait.Expression.Literal.Map map = 26;- Specified by:
getMapin interfaceExpression.LiteralOrBuilder- Returns:
- The map.
-
getMapOrBuilder
.substrait.Expression.Literal.Map map = 26;- Specified by:
getMapOrBuilderin interfaceExpression.LiteralOrBuilder
-
hasTimestampTz
Deprecated.substrait.Expression.Literal.timestamp_tz is deprecated. See substrait/algebra.proto;l=1023Timestamp in units of microseconds since the UNIX epoch. Deprecated in favor of `precision_timestamp_tz`
int64 timestamp_tz = 27 [deprecated = true];- Specified by:
hasTimestampTzin interfaceExpression.LiteralOrBuilder- Returns:
- Whether the timestampTz field is set.
-
getTimestampTz
Deprecated.substrait.Expression.Literal.timestamp_tz is deprecated. See substrait/algebra.proto;l=1023Timestamp in units of microseconds since the UNIX epoch. Deprecated in favor of `precision_timestamp_tz`
int64 timestamp_tz = 27 [deprecated = true];- Specified by:
getTimestampTzin interfaceExpression.LiteralOrBuilder- Returns:
- The timestampTz.
-
hasUuid
public boolean hasUuid()bytes uuid = 28;- Specified by:
hasUuidin interfaceExpression.LiteralOrBuilder- Returns:
- Whether the uuid field is set.
-
getUuid
public com.google.protobuf.ByteString getUuid()bytes uuid = 28;- Specified by:
getUuidin interfaceExpression.LiteralOrBuilder- Returns:
- The uuid.
-
hasNull
public boolean hasNull()a typed null literal
.substrait.Type null = 29;- Specified by:
hasNullin interfaceExpression.LiteralOrBuilder- Returns:
- Whether the null field is set.
-
getNull
a typed null literal
.substrait.Type null = 29;- Specified by:
getNullin interfaceExpression.LiteralOrBuilder- Returns:
- The null.
-
getNullOrBuilder
a typed null literal
.substrait.Type null = 29;- Specified by:
getNullOrBuilderin interfaceExpression.LiteralOrBuilder
-
hasList
public boolean hasList().substrait.Expression.Literal.List list = 30;- Specified by:
hasListin interfaceExpression.LiteralOrBuilder- Returns:
- Whether the list field is set.
-
getList
.substrait.Expression.Literal.List list = 30;- Specified by:
getListin interfaceExpression.LiteralOrBuilder- Returns:
- The list.
-
getListOrBuilder
.substrait.Expression.Literal.List list = 30;- Specified by:
getListOrBuilderin interfaceExpression.LiteralOrBuilder
-
hasEmptyList
public boolean hasEmptyList().substrait.Type.List empty_list = 31;- Specified by:
hasEmptyListin interfaceExpression.LiteralOrBuilder- Returns:
- Whether the emptyList field is set.
-
getEmptyList
.substrait.Type.List empty_list = 31;- Specified by:
getEmptyListin interfaceExpression.LiteralOrBuilder- Returns:
- The emptyList.
-
getEmptyListOrBuilder
.substrait.Type.List empty_list = 31;- Specified by:
getEmptyListOrBuilderin interfaceExpression.LiteralOrBuilder
-
hasEmptyMap
public boolean hasEmptyMap().substrait.Type.Map empty_map = 32;- Specified by:
hasEmptyMapin interfaceExpression.LiteralOrBuilder- Returns:
- Whether the emptyMap field is set.
-
getEmptyMap
.substrait.Type.Map empty_map = 32;- Specified by:
getEmptyMapin interfaceExpression.LiteralOrBuilder- Returns:
- The emptyMap.
-
getEmptyMapOrBuilder
.substrait.Type.Map empty_map = 32;- Specified by:
getEmptyMapOrBuilderin interfaceExpression.LiteralOrBuilder
-
hasUserDefined
public boolean hasUserDefined().substrait.Expression.Literal.UserDefined user_defined = 33;- Specified by:
hasUserDefinedin interfaceExpression.LiteralOrBuilder- Returns:
- Whether the userDefined field is set.
-
getUserDefined
.substrait.Expression.Literal.UserDefined user_defined = 33;- Specified by:
getUserDefinedin interfaceExpression.LiteralOrBuilder- Returns:
- The userDefined.
-
getUserDefinedOrBuilder
.substrait.Expression.Literal.UserDefined user_defined = 33;- Specified by:
getUserDefinedOrBuilderin interfaceExpression.LiteralOrBuilder
-
getNullable
public 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;- Specified by:
getNullablein interfaceExpression.LiteralOrBuilder- Returns:
- The nullable.
-
getTypeVariationReference
public 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;- Specified by:
getTypeVariationReferencein interfaceExpression.LiteralOrBuilder- Returns:
- The typeVariationReference.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Expression.Literal parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Expression.Literal parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Expression.Literal parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Expression.Literal parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Expression.Literal parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Expression.Literal parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Expression.Literal parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Expression.Literal parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Expression.Literal parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Expression.Literal parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Expression.Literal.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-