Package io.substrait.proto
Class Expression
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.substrait.proto.Expression
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ExpressionOrBuilder,Serializable
public final class Expression
extends com.google.protobuf.GeneratedMessageV3
implements ExpressionOrBuilder
Protobuf type
substrait.Expression- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typesubstrait.Expressionstatic final classProtobuf typesubstrait.Expression.Caststatic interfacestatic final classProtobuf typesubstrait.Expression.EmbeddedFunctionstatic interfacestatic final classDeprecated.static interfaceDeprecated.static final classA reference to an inner part of a complex object.static interfacestatic final classProtobuf typesubstrait.Expression.IfThenstatic interfacestatic final classProtobuf typesubstrait.Expression.Literalstatic interfacestatic final classA reference that takes an existing subtype and selectively removes fields from it.static interfacestatic final classProtobuf typesubstrait.Expression.MultiOrListstatic interfacestatic final classExpression to dynamically construct nested types.static interfacestatic final classA way to reference the inner property of a complex record.static interfacestatic enumstatic final classA scalar function call.static interfacestatic final classProtobuf typesubstrait.Expression.SingularOrListstatic interfacestatic final classSubquery relation expressionstatic interfacestatic final classProtobuf typesubstrait.Expression.SwitchExpressionstatic interfacestatic final classA window function call.static 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 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 TypeMethodDescriptionbooleangetCast().substrait.Expression.Cast cast = 11;.substrait.Expression.Cast cast = 11;static Expressionstatic final com.google.protobuf.Descriptors.Descriptor.substrait.DynamicParameter dynamic_parameter = 14;.substrait.DynamicParameter dynamic_parameter = 14;getEnum()Deprecated.substrait.Expression.enum is deprecated.Deprecated..substrait.Expression.IfThen if_then = 6;.substrait.Expression.IfThen if_then = 6;.substrait.Expression.Literal literal = 1;.substrait.Expression.Literal literal = 1;.substrait.Expression.MultiOrList multi_or_list = 9;.substrait.Expression.MultiOrList multi_or_list = 9;.substrait.Expression.Nested nested = 13;.substrait.Expression.Nested nested = 13;com.google.protobuf.Parser<Expression>.substrait.Expression.ScalarFunction scalar_function = 3;.substrait.Expression.ScalarFunction scalar_function = 3;.substrait.Expression.FieldReference selection = 2;.substrait.Expression.FieldReference selection = 2;int.substrait.Expression.SingularOrList singular_or_list = 8;.substrait.Expression.SingularOrList singular_or_list = 8;.substrait.Expression.Subquery subquery = 12;.substrait.Expression.Subquery subquery = 12;.substrait.Expression.SwitchExpression switch_expression = 7;.substrait.Expression.SwitchExpression switch_expression = 7;.substrait.Expression.WindowFunction window_function = 5;.substrait.Expression.WindowFunction window_function = 5;booleanhasCast().substrait.Expression.Cast cast = 11;boolean.substrait.DynamicParameter dynamic_parameter = 14;booleanhasEnum()Deprecated.substrait.Expression.enum is deprecated.inthashCode()boolean.substrait.Expression.IfThen if_then = 6;boolean.substrait.Expression.Literal literal = 1;boolean.substrait.Expression.MultiOrList multi_or_list = 9;boolean.substrait.Expression.Nested nested = 13;boolean.substrait.Expression.ScalarFunction scalar_function = 3;boolean.substrait.Expression.FieldReference selection = 2;boolean.substrait.Expression.SingularOrList singular_or_list = 8;boolean.substrait.Expression.Subquery subquery = 12;boolean.substrait.Expression.SwitchExpression switch_expression = 7;boolean.substrait.Expression.WindowFunction window_function = 5;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic Expression.Builderstatic Expression.BuildernewBuilder(Expression prototype) protected Expression.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static ExpressionparseDelimitedFrom(InputStream input) static ExpressionparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ExpressionparseFrom(byte[] data) static ExpressionparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ExpressionparseFrom(com.google.protobuf.ByteString data) static ExpressionparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ExpressionparseFrom(com.google.protobuf.CodedInputStream input) static ExpressionparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ExpressionparseFrom(InputStream input) static ExpressionparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ExpressionparseFrom(ByteBuffer data) static ExpressionparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Expression>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
-
LITERAL_FIELD_NUMBER
public static final int LITERAL_FIELD_NUMBER- See Also:
-
SELECTION_FIELD_NUMBER
public static final int SELECTION_FIELD_NUMBER- See Also:
-
SCALAR_FUNCTION_FIELD_NUMBER
public static final int SCALAR_FUNCTION_FIELD_NUMBER- See Also:
-
WINDOW_FUNCTION_FIELD_NUMBER
public static final int WINDOW_FUNCTION_FIELD_NUMBER- See Also:
-
IF_THEN_FIELD_NUMBER
public static final int IF_THEN_FIELD_NUMBER- See Also:
-
SWITCH_EXPRESSION_FIELD_NUMBER
public static final int SWITCH_EXPRESSION_FIELD_NUMBER- See Also:
-
SINGULAR_OR_LIST_FIELD_NUMBER
public static final int SINGULAR_OR_LIST_FIELD_NUMBER- See Also:
-
MULTI_OR_LIST_FIELD_NUMBER
public static final int MULTI_OR_LIST_FIELD_NUMBER- See Also:
-
CAST_FIELD_NUMBER
public static final int CAST_FIELD_NUMBER- See Also:
-
SUBQUERY_FIELD_NUMBER
public static final int SUBQUERY_FIELD_NUMBER- See Also:
-
NESTED_FIELD_NUMBER
public static final int NESTED_FIELD_NUMBER- See Also:
-
DYNAMIC_PARAMETER_FIELD_NUMBER
public static final int DYNAMIC_PARAMETER_FIELD_NUMBER- See Also:
-
ENUM_FIELD_NUMBER
public static final int ENUM_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
-
getRexTypeCase
- Specified by:
getRexTypeCasein interfaceExpressionOrBuilder
-
hasLiteral
public boolean hasLiteral().substrait.Expression.Literal literal = 1;- Specified by:
hasLiteralin interfaceExpressionOrBuilder- Returns:
- Whether the literal field is set.
-
getLiteral
.substrait.Expression.Literal literal = 1;- Specified by:
getLiteralin interfaceExpressionOrBuilder- Returns:
- The literal.
-
getLiteralOrBuilder
.substrait.Expression.Literal literal = 1;- Specified by:
getLiteralOrBuilderin interfaceExpressionOrBuilder
-
hasSelection
public boolean hasSelection().substrait.Expression.FieldReference selection = 2;- Specified by:
hasSelectionin interfaceExpressionOrBuilder- Returns:
- Whether the selection field is set.
-
getSelection
.substrait.Expression.FieldReference selection = 2;- Specified by:
getSelectionin interfaceExpressionOrBuilder- Returns:
- The selection.
-
getSelectionOrBuilder
.substrait.Expression.FieldReference selection = 2;- Specified by:
getSelectionOrBuilderin interfaceExpressionOrBuilder
-
hasScalarFunction
public boolean hasScalarFunction().substrait.Expression.ScalarFunction scalar_function = 3;- Specified by:
hasScalarFunctionin interfaceExpressionOrBuilder- Returns:
- Whether the scalarFunction field is set.
-
getScalarFunction
.substrait.Expression.ScalarFunction scalar_function = 3;- Specified by:
getScalarFunctionin interfaceExpressionOrBuilder- Returns:
- The scalarFunction.
-
getScalarFunctionOrBuilder
.substrait.Expression.ScalarFunction scalar_function = 3;- Specified by:
getScalarFunctionOrBuilderin interfaceExpressionOrBuilder
-
hasWindowFunction
public boolean hasWindowFunction().substrait.Expression.WindowFunction window_function = 5;- Specified by:
hasWindowFunctionin interfaceExpressionOrBuilder- Returns:
- Whether the windowFunction field is set.
-
getWindowFunction
.substrait.Expression.WindowFunction window_function = 5;- Specified by:
getWindowFunctionin interfaceExpressionOrBuilder- Returns:
- The windowFunction.
-
getWindowFunctionOrBuilder
.substrait.Expression.WindowFunction window_function = 5;- Specified by:
getWindowFunctionOrBuilderin interfaceExpressionOrBuilder
-
hasIfThen
public boolean hasIfThen().substrait.Expression.IfThen if_then = 6;- Specified by:
hasIfThenin interfaceExpressionOrBuilder- Returns:
- Whether the ifThen field is set.
-
getIfThen
.substrait.Expression.IfThen if_then = 6;- Specified by:
getIfThenin interfaceExpressionOrBuilder- Returns:
- The ifThen.
-
getIfThenOrBuilder
.substrait.Expression.IfThen if_then = 6;- Specified by:
getIfThenOrBuilderin interfaceExpressionOrBuilder
-
hasSwitchExpression
public boolean hasSwitchExpression().substrait.Expression.SwitchExpression switch_expression = 7;- Specified by:
hasSwitchExpressionin interfaceExpressionOrBuilder- Returns:
- Whether the switchExpression field is set.
-
getSwitchExpression
.substrait.Expression.SwitchExpression switch_expression = 7;- Specified by:
getSwitchExpressionin interfaceExpressionOrBuilder- Returns:
- The switchExpression.
-
getSwitchExpressionOrBuilder
.substrait.Expression.SwitchExpression switch_expression = 7;- Specified by:
getSwitchExpressionOrBuilderin interfaceExpressionOrBuilder
-
hasSingularOrList
public boolean hasSingularOrList().substrait.Expression.SingularOrList singular_or_list = 8;- Specified by:
hasSingularOrListin interfaceExpressionOrBuilder- Returns:
- Whether the singularOrList field is set.
-
getSingularOrList
.substrait.Expression.SingularOrList singular_or_list = 8;- Specified by:
getSingularOrListin interfaceExpressionOrBuilder- Returns:
- The singularOrList.
-
getSingularOrListOrBuilder
.substrait.Expression.SingularOrList singular_or_list = 8;- Specified by:
getSingularOrListOrBuilderin interfaceExpressionOrBuilder
-
hasMultiOrList
public boolean hasMultiOrList().substrait.Expression.MultiOrList multi_or_list = 9;- Specified by:
hasMultiOrListin interfaceExpressionOrBuilder- Returns:
- Whether the multiOrList field is set.
-
getMultiOrList
.substrait.Expression.MultiOrList multi_or_list = 9;- Specified by:
getMultiOrListin interfaceExpressionOrBuilder- Returns:
- The multiOrList.
-
getMultiOrListOrBuilder
.substrait.Expression.MultiOrList multi_or_list = 9;- Specified by:
getMultiOrListOrBuilderin interfaceExpressionOrBuilder
-
hasCast
public boolean hasCast().substrait.Expression.Cast cast = 11;- Specified by:
hasCastin interfaceExpressionOrBuilder- Returns:
- Whether the cast field is set.
-
getCast
.substrait.Expression.Cast cast = 11;- Specified by:
getCastin interfaceExpressionOrBuilder- Returns:
- The cast.
-
getCastOrBuilder
.substrait.Expression.Cast cast = 11;- Specified by:
getCastOrBuilderin interfaceExpressionOrBuilder
-
hasSubquery
public boolean hasSubquery().substrait.Expression.Subquery subquery = 12;- Specified by:
hasSubqueryin interfaceExpressionOrBuilder- Returns:
- Whether the subquery field is set.
-
getSubquery
.substrait.Expression.Subquery subquery = 12;- Specified by:
getSubqueryin interfaceExpressionOrBuilder- Returns:
- The subquery.
-
getSubqueryOrBuilder
.substrait.Expression.Subquery subquery = 12;- Specified by:
getSubqueryOrBuilderin interfaceExpressionOrBuilder
-
hasNested
public boolean hasNested().substrait.Expression.Nested nested = 13;- Specified by:
hasNestedin interfaceExpressionOrBuilder- Returns:
- Whether the nested field is set.
-
getNested
.substrait.Expression.Nested nested = 13;- Specified by:
getNestedin interfaceExpressionOrBuilder- Returns:
- The nested.
-
getNestedOrBuilder
.substrait.Expression.Nested nested = 13;- Specified by:
getNestedOrBuilderin interfaceExpressionOrBuilder
-
hasDynamicParameter
public boolean hasDynamicParameter().substrait.DynamicParameter dynamic_parameter = 14;- Specified by:
hasDynamicParameterin interfaceExpressionOrBuilder- Returns:
- Whether the dynamicParameter field is set.
-
getDynamicParameter
.substrait.DynamicParameter dynamic_parameter = 14;- Specified by:
getDynamicParameterin interfaceExpressionOrBuilder- Returns:
- The dynamicParameter.
-
getDynamicParameterOrBuilder
.substrait.DynamicParameter dynamic_parameter = 14;- Specified by:
getDynamicParameterOrBuilderin interfaceExpressionOrBuilder
-
hasEnum
Deprecated.substrait.Expression.enum is deprecated. See substrait/algebra.proto;l=973deprecated: enum literals are only sensible in the context of function arguments, for which FunctionArgument should now be used
.substrait.Expression.Enum enum = 10 [deprecated = true];- Specified by:
hasEnumin interfaceExpressionOrBuilder- Returns:
- Whether the enum field is set.
-
getEnum
Deprecated.substrait.Expression.enum is deprecated. See substrait/algebra.proto;l=973deprecated: enum literals are only sensible in the context of function arguments, for which FunctionArgument should now be used
.substrait.Expression.Enum enum = 10 [deprecated = true];- Specified by:
getEnumin interfaceExpressionOrBuilder- Returns:
- The enum.
-
getEnumOrBuilder
Deprecated.deprecated: enum literals are only sensible in the context of function arguments, for which FunctionArgument should now be used
.substrait.Expression.Enum enum = 10 [deprecated = true];- Specified by:
getEnumOrBuilderin interfaceExpressionOrBuilder
-
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 parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Expression parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Expression parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Expression 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 parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Expression 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 parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Expression parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Expression 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.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
-