Package io.substrait.proto
Class Expression.Subquery
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.substrait.proto.Expression.Subquery
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Expression.SubqueryOrBuilder,Serializable
- Enclosing class:
- Expression
public static final class Expression.Subquery
extends com.google.protobuf.GeneratedMessageV3
implements Expression.SubqueryOrBuilder
Subquery relation expressionProtobuf type
substrait.Expression.Subquery- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classSubquery relation expressionstatic final classPredicate checking that the left expression is contained in the right subquery Examples: x IN (SELECT * FROM t) (x, y) IN (SELECT a, b FROM t)static interfacestatic final classA subquery with one row and one column.static interfacestatic final classA subquery comparison using ANY or ALL.static interfacestatic final classA predicate over a set of rows in the form of a subquery EXISTS and UNIQUE are common SQL forms of this operation.static interfacestatic enumNested 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 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 TypeMethodDescriptionbooleanstatic Expression.Subquerystatic final com.google.protobuf.Descriptors.Descriptorx IN y predicatex IN y predicatecom.google.protobuf.Parser<Expression.Subquery>Scalar subqueryScalar subqueryintANY/ALL predicateANY/ALL predicateEXISTS/UNIQUE predicateEXISTS/UNIQUE predicateinthashCode()booleanx IN y predicatebooleanScalar subquerybooleanANY/ALL predicatebooleanEXISTS/UNIQUE predicateprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic Expression.Subquery.Builderstatic Expression.Subquery.BuildernewBuilder(Expression.Subquery prototype) protected Expression.Subquery.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static Expression.SubqueryparseDelimitedFrom(InputStream input) static Expression.SubqueryparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Expression.SubqueryparseFrom(byte[] data) static Expression.SubqueryparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Expression.SubqueryparseFrom(com.google.protobuf.ByteString data) static Expression.SubqueryparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Expression.SubqueryparseFrom(com.google.protobuf.CodedInputStream input) static Expression.SubqueryparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Expression.SubqueryparseFrom(InputStream input) static Expression.SubqueryparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Expression.SubqueryparseFrom(ByteBuffer data) static Expression.SubqueryparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Expression.Subquery>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
-
SCALAR_FIELD_NUMBER
public static final int SCALAR_FIELD_NUMBER- See Also:
-
IN_PREDICATE_FIELD_NUMBER
public static final int IN_PREDICATE_FIELD_NUMBER- See Also:
-
SET_PREDICATE_FIELD_NUMBER
public static final int SET_PREDICATE_FIELD_NUMBER- See Also:
-
SET_COMPARISON_FIELD_NUMBER
public static final int SET_COMPARISON_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
-
getSubqueryTypeCase
- Specified by:
getSubqueryTypeCasein interfaceExpression.SubqueryOrBuilder
-
hasScalar
public boolean hasScalar()Scalar subquery
.substrait.Expression.Subquery.Scalar scalar = 1;- Specified by:
hasScalarin interfaceExpression.SubqueryOrBuilder- Returns:
- Whether the scalar field is set.
-
getScalar
Scalar subquery
.substrait.Expression.Subquery.Scalar scalar = 1;- Specified by:
getScalarin interfaceExpression.SubqueryOrBuilder- Returns:
- The scalar.
-
getScalarOrBuilder
Scalar subquery
.substrait.Expression.Subquery.Scalar scalar = 1;- Specified by:
getScalarOrBuilderin interfaceExpression.SubqueryOrBuilder
-
hasInPredicate
public boolean hasInPredicate()x IN y predicate
.substrait.Expression.Subquery.InPredicate in_predicate = 2;- Specified by:
hasInPredicatein interfaceExpression.SubqueryOrBuilder- Returns:
- Whether the inPredicate field is set.
-
getInPredicate
x IN y predicate
.substrait.Expression.Subquery.InPredicate in_predicate = 2;- Specified by:
getInPredicatein interfaceExpression.SubqueryOrBuilder- Returns:
- The inPredicate.
-
getInPredicateOrBuilder
x IN y predicate
.substrait.Expression.Subquery.InPredicate in_predicate = 2;- Specified by:
getInPredicateOrBuilderin interfaceExpression.SubqueryOrBuilder
-
hasSetPredicate
public boolean hasSetPredicate()EXISTS/UNIQUE predicate
.substrait.Expression.Subquery.SetPredicate set_predicate = 3;- Specified by:
hasSetPredicatein interfaceExpression.SubqueryOrBuilder- Returns:
- Whether the setPredicate field is set.
-
getSetPredicate
EXISTS/UNIQUE predicate
.substrait.Expression.Subquery.SetPredicate set_predicate = 3;- Specified by:
getSetPredicatein interfaceExpression.SubqueryOrBuilder- Returns:
- The setPredicate.
-
getSetPredicateOrBuilder
EXISTS/UNIQUE predicate
.substrait.Expression.Subquery.SetPredicate set_predicate = 3;- Specified by:
getSetPredicateOrBuilderin interfaceExpression.SubqueryOrBuilder
-
hasSetComparison
public boolean hasSetComparison()ANY/ALL predicate
.substrait.Expression.Subquery.SetComparison set_comparison = 4;- Specified by:
hasSetComparisonin interfaceExpression.SubqueryOrBuilder- Returns:
- Whether the setComparison field is set.
-
getSetComparison
ANY/ALL predicate
.substrait.Expression.Subquery.SetComparison set_comparison = 4;- Specified by:
getSetComparisonin interfaceExpression.SubqueryOrBuilder- Returns:
- The setComparison.
-
getSetComparisonOrBuilder
ANY/ALL predicate
.substrait.Expression.Subquery.SetComparison set_comparison = 4;- Specified by:
getSetComparisonOrBuilderin interfaceExpression.SubqueryOrBuilder
-
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.Subquery parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Expression.Subquery parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Expression.Subquery parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Expression.Subquery 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.Subquery parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Expression.Subquery 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.Subquery parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Expression.Subquery parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Expression.Subquery parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Expression.Subquery 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.Subquery.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
-