Package io.substrait.proto
Class MergeJoinRel
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.substrait.proto.MergeJoinRel
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,MergeJoinRelOrBuilder,Serializable
public final class MergeJoinRel
extends com.google.protobuf.GeneratedMessageV3
implements MergeJoinRelOrBuilder
The merge equijoin does a join by taking advantage of two sets that are sorted on the join keys. This allows the join operation to be done in a streaming fashion.Protobuf type
substrait.MergeJoinRel- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classThe merge equijoin does a join by taking advantage of two sets that are sorted on the join keys.static enumProtobuf enumsubstrait.MergeJoinRel.JoinTypeNested 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 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 TypeMethodDescriptionboolean.substrait.extensions.AdvancedExtension advanced_extension = 10;.substrait.extensions.AdvancedExtension advanced_extension = 10;.substrait.RelCommon common = 1;.substrait.RelCommon common = 1;static MergeJoinRelstatic final com.google.protobuf.Descriptors.DescriptorgetKeys(int index) One or more keys to join on.intOne or more keys to join on.One or more keys to join on.getKeysOrBuilder(int index) One or more keys to join on.List<? extends ComparisonJoinKeyOrBuilder>One or more keys to join on.getLeft().substrait.Rel left = 2;getLeftKeys(int index) Deprecated.intDeprecated.Deprecated.getLeftKeysOrBuilder(int index) Deprecated.List<? extends Expression.FieldReferenceOrBuilder>Deprecated..substrait.Rel left = 2;com.google.protobuf.Parser<MergeJoinRel>.substrait.Expression post_join_filter = 6;.substrait.Expression post_join_filter = 6;getRight().substrait.Rel right = 3;getRightKeys(int index) Deprecated.intDeprecated.Deprecated.getRightKeysOrBuilder(int index) Deprecated.List<? extends Expression.FieldReferenceOrBuilder>Deprecated..substrait.Rel right = 3;intgetType().substrait.MergeJoinRel.JoinType type = 7;int.substrait.MergeJoinRel.JoinType type = 7;boolean.substrait.extensions.AdvancedExtension advanced_extension = 10;boolean.substrait.RelCommon common = 1;inthashCode()booleanhasLeft().substrait.Rel left = 2;boolean.substrait.Expression post_join_filter = 6;booleanhasRight().substrait.Rel right = 3;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic MergeJoinRel.Builderstatic MergeJoinRel.BuildernewBuilder(MergeJoinRel prototype) protected MergeJoinRel.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static MergeJoinRelparseDelimitedFrom(InputStream input) static MergeJoinRelparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MergeJoinRelparseFrom(byte[] data) static MergeJoinRelparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MergeJoinRelparseFrom(com.google.protobuf.ByteString data) static MergeJoinRelparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MergeJoinRelparseFrom(com.google.protobuf.CodedInputStream input) static MergeJoinRelparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MergeJoinRelparseFrom(InputStream input) static MergeJoinRelparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MergeJoinRelparseFrom(ByteBuffer data) static MergeJoinRelparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<MergeJoinRel>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
-
COMMON_FIELD_NUMBER
public static final int COMMON_FIELD_NUMBER- See Also:
-
LEFT_FIELD_NUMBER
public static final int LEFT_FIELD_NUMBER- See Also:
-
RIGHT_FIELD_NUMBER
public static final int RIGHT_FIELD_NUMBER- See Also:
-
LEFT_KEYS_FIELD_NUMBER
public static final int LEFT_KEYS_FIELD_NUMBER- See Also:
-
RIGHT_KEYS_FIELD_NUMBER
public static final int RIGHT_KEYS_FIELD_NUMBER- See Also:
-
KEYS_FIELD_NUMBER
public static final int KEYS_FIELD_NUMBER- See Also:
-
POST_JOIN_FILTER_FIELD_NUMBER
public static final int POST_JOIN_FILTER_FIELD_NUMBER- See Also:
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
ADVANCED_EXTENSION_FIELD_NUMBER
public static final int ADVANCED_EXTENSION_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
-
hasCommon
public boolean hasCommon().substrait.RelCommon common = 1;- Specified by:
hasCommonin interfaceMergeJoinRelOrBuilder- Returns:
- Whether the common field is set.
-
getCommon
.substrait.RelCommon common = 1;- Specified by:
getCommonin interfaceMergeJoinRelOrBuilder- Returns:
- The common.
-
getCommonOrBuilder
.substrait.RelCommon common = 1;- Specified by:
getCommonOrBuilderin interfaceMergeJoinRelOrBuilder
-
hasLeft
public boolean hasLeft().substrait.Rel left = 2;- Specified by:
hasLeftin interfaceMergeJoinRelOrBuilder- Returns:
- Whether the left field is set.
-
getLeft
.substrait.Rel left = 2;- Specified by:
getLeftin interfaceMergeJoinRelOrBuilder- Returns:
- The left.
-
getLeftOrBuilder
.substrait.Rel left = 2;- Specified by:
getLeftOrBuilderin interfaceMergeJoinRelOrBuilder
-
hasRight
public boolean hasRight().substrait.Rel right = 3;- Specified by:
hasRightin interfaceMergeJoinRelOrBuilder- Returns:
- Whether the right field is set.
-
getRight
.substrait.Rel right = 3;- Specified by:
getRightin interfaceMergeJoinRelOrBuilder- Returns:
- The right.
-
getRightOrBuilder
.substrait.Rel right = 3;- Specified by:
getRightOrBuilderin interfaceMergeJoinRelOrBuilder
-
getLeftKeysList
Deprecated.These fields are deprecated in favor of `keys`. If they are set then the two lists (left_keys and right_keys) must have the same length and the comparion function is considered to be SimpleEqualityType::EQ
repeated .substrait.Expression.FieldReference left_keys = 4 [deprecated = true];- Specified by:
getLeftKeysListin interfaceMergeJoinRelOrBuilder
-
getLeftKeysOrBuilderList
Deprecated.These fields are deprecated in favor of `keys`. If they are set then the two lists (left_keys and right_keys) must have the same length and the comparion function is considered to be SimpleEqualityType::EQ
repeated .substrait.Expression.FieldReference left_keys = 4 [deprecated = true];- Specified by:
getLeftKeysOrBuilderListin interfaceMergeJoinRelOrBuilder
-
getLeftKeysCount
Deprecated.These fields are deprecated in favor of `keys`. If they are set then the two lists (left_keys and right_keys) must have the same length and the comparion function is considered to be SimpleEqualityType::EQ
repeated .substrait.Expression.FieldReference left_keys = 4 [deprecated = true];- Specified by:
getLeftKeysCountin interfaceMergeJoinRelOrBuilder
-
getLeftKeys
Deprecated.These fields are deprecated in favor of `keys`. If they are set then the two lists (left_keys and right_keys) must have the same length and the comparion function is considered to be SimpleEqualityType::EQ
repeated .substrait.Expression.FieldReference left_keys = 4 [deprecated = true];- Specified by:
getLeftKeysin interfaceMergeJoinRelOrBuilder
-
getLeftKeysOrBuilder
Deprecated.These fields are deprecated in favor of `keys`. If they are set then the two lists (left_keys and right_keys) must have the same length and the comparion function is considered to be SimpleEqualityType::EQ
repeated .substrait.Expression.FieldReference left_keys = 4 [deprecated = true];- Specified by:
getLeftKeysOrBuilderin interfaceMergeJoinRelOrBuilder
-
getRightKeysList
Deprecated.repeated .substrait.Expression.FieldReference right_keys = 5 [deprecated = true];- Specified by:
getRightKeysListin interfaceMergeJoinRelOrBuilder
-
getRightKeysOrBuilderList
Deprecated.repeated .substrait.Expression.FieldReference right_keys = 5 [deprecated = true];- Specified by:
getRightKeysOrBuilderListin interfaceMergeJoinRelOrBuilder
-
getRightKeysCount
Deprecated.repeated .substrait.Expression.FieldReference right_keys = 5 [deprecated = true];- Specified by:
getRightKeysCountin interfaceMergeJoinRelOrBuilder
-
getRightKeys
Deprecated.repeated .substrait.Expression.FieldReference right_keys = 5 [deprecated = true];- Specified by:
getRightKeysin interfaceMergeJoinRelOrBuilder
-
getRightKeysOrBuilder
Deprecated.repeated .substrait.Expression.FieldReference right_keys = 5 [deprecated = true];- Specified by:
getRightKeysOrBuilderin interfaceMergeJoinRelOrBuilder
-
getKeysList
One or more keys to join on. The relation is invalid if this is empty (unless the deprecated left_keys/right_keys fields are being used). If a custom comparison function is used then it must be consistent with the ordering of the input data. For example, if the comparison function is "<" then we generally expect the data to be sorted in ascending order. If the comparison function is something like "less than ignoring case" then the data should be sorted appropriately (e.g. both "A" and "a" should come before "b") The sort order is not specified here. It is typically the responsibility of the producer to ensure the plan sorts the data if needed (although the consumer is free to do so as well). If possible, the consumer should verify the sort order and reject invalid plans.
repeated .substrait.ComparisonJoinKey keys = 8;- Specified by:
getKeysListin interfaceMergeJoinRelOrBuilder
-
getKeysOrBuilderList
One or more keys to join on. The relation is invalid if this is empty (unless the deprecated left_keys/right_keys fields are being used). If a custom comparison function is used then it must be consistent with the ordering of the input data. For example, if the comparison function is "<" then we generally expect the data to be sorted in ascending order. If the comparison function is something like "less than ignoring case" then the data should be sorted appropriately (e.g. both "A" and "a" should come before "b") The sort order is not specified here. It is typically the responsibility of the producer to ensure the plan sorts the data if needed (although the consumer is free to do so as well). If possible, the consumer should verify the sort order and reject invalid plans.
repeated .substrait.ComparisonJoinKey keys = 8;- Specified by:
getKeysOrBuilderListin interfaceMergeJoinRelOrBuilder
-
getKeysCount
public int getKeysCount()One or more keys to join on. The relation is invalid if this is empty (unless the deprecated left_keys/right_keys fields are being used). If a custom comparison function is used then it must be consistent with the ordering of the input data. For example, if the comparison function is "<" then we generally expect the data to be sorted in ascending order. If the comparison function is something like "less than ignoring case" then the data should be sorted appropriately (e.g. both "A" and "a" should come before "b") The sort order is not specified here. It is typically the responsibility of the producer to ensure the plan sorts the data if needed (although the consumer is free to do so as well). If possible, the consumer should verify the sort order and reject invalid plans.
repeated .substrait.ComparisonJoinKey keys = 8;- Specified by:
getKeysCountin interfaceMergeJoinRelOrBuilder
-
getKeys
One or more keys to join on. The relation is invalid if this is empty (unless the deprecated left_keys/right_keys fields are being used). If a custom comparison function is used then it must be consistent with the ordering of the input data. For example, if the comparison function is "<" then we generally expect the data to be sorted in ascending order. If the comparison function is something like "less than ignoring case" then the data should be sorted appropriately (e.g. both "A" and "a" should come before "b") The sort order is not specified here. It is typically the responsibility of the producer to ensure the plan sorts the data if needed (although the consumer is free to do so as well). If possible, the consumer should verify the sort order and reject invalid plans.
repeated .substrait.ComparisonJoinKey keys = 8;- Specified by:
getKeysin interfaceMergeJoinRelOrBuilder
-
getKeysOrBuilder
One or more keys to join on. The relation is invalid if this is empty (unless the deprecated left_keys/right_keys fields are being used). If a custom comparison function is used then it must be consistent with the ordering of the input data. For example, if the comparison function is "<" then we generally expect the data to be sorted in ascending order. If the comparison function is something like "less than ignoring case" then the data should be sorted appropriately (e.g. both "A" and "a" should come before "b") The sort order is not specified here. It is typically the responsibility of the producer to ensure the plan sorts the data if needed (although the consumer is free to do so as well). If possible, the consumer should verify the sort order and reject invalid plans.
repeated .substrait.ComparisonJoinKey keys = 8;- Specified by:
getKeysOrBuilderin interfaceMergeJoinRelOrBuilder
-
hasPostJoinFilter
public boolean hasPostJoinFilter().substrait.Expression post_join_filter = 6;- Specified by:
hasPostJoinFilterin interfaceMergeJoinRelOrBuilder- Returns:
- Whether the postJoinFilter field is set.
-
getPostJoinFilter
.substrait.Expression post_join_filter = 6;- Specified by:
getPostJoinFilterin interfaceMergeJoinRelOrBuilder- Returns:
- The postJoinFilter.
-
getPostJoinFilterOrBuilder
.substrait.Expression post_join_filter = 6;- Specified by:
getPostJoinFilterOrBuilderin interfaceMergeJoinRelOrBuilder
-
getTypeValue
public int getTypeValue().substrait.MergeJoinRel.JoinType type = 7;- Specified by:
getTypeValuein interfaceMergeJoinRelOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
getType
.substrait.MergeJoinRel.JoinType type = 7;- Specified by:
getTypein interfaceMergeJoinRelOrBuilder- Returns:
- The type.
-
hasAdvancedExtension
public boolean hasAdvancedExtension().substrait.extensions.AdvancedExtension advanced_extension = 10;- Specified by:
hasAdvancedExtensionin interfaceMergeJoinRelOrBuilder- Returns:
- Whether the advancedExtension field is set.
-
getAdvancedExtension
.substrait.extensions.AdvancedExtension advanced_extension = 10;- Specified by:
getAdvancedExtensionin interfaceMergeJoinRelOrBuilder- Returns:
- The advancedExtension.
-
getAdvancedExtensionOrBuilder
.substrait.extensions.AdvancedExtension advanced_extension = 10;- Specified by:
getAdvancedExtensionOrBuilderin interfaceMergeJoinRelOrBuilder
-
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 MergeJoinRel parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MergeJoinRel parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MergeJoinRel parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MergeJoinRel parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MergeJoinRel parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MergeJoinRel parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static MergeJoinRel parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static MergeJoinRel parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static MergeJoinRel 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 MergeJoinRel.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
-