Package io.substrait.proto
Class ExchangeRel
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.substrait.proto.ExchangeRel
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ExchangeRelOrBuilder,Serializable
public final class ExchangeRel
extends com.google.protobuf.GeneratedMessageV3
implements ExchangeRelOrBuilder
A redistribution operationProtobuf type
substrait.ExchangeRel- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classSend all data to every target.static interfacestatic final classA redistribution operationstatic enumstatic final classThe message to describe partition targets of an exchangestatic interfacestatic final classReturns zero or more bucket numbers per recordstatic interfacestatic final classRoute approximatelystatic interfacestatic final classProtobuf typesubstrait.ExchangeRel.ScatterFieldsstatic interfacestatic final classReturns a single bucket number per record.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 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.ExchangeRel.Broadcast broadcast = 9;.substrait.ExchangeRel.Broadcast broadcast = 9;.substrait.RelCommon common = 1;.substrait.RelCommon common = 1;static ExchangeRelstatic final com.google.protobuf.Descriptors.DescriptorgetInput().substrait.Rel input = 2;.substrait.Rel input = 2;.substrait.ExchangeRel.MultiBucketExpression multi_target = 7;.substrait.ExchangeRel.MultiBucketExpression multi_target = 7;com.google.protobuf.Parser<ExchangeRel>intint32 partition_count = 3;.substrait.ExchangeRel.RoundRobin round_robin = 8;.substrait.ExchangeRel.RoundRobin round_robin = 8;.substrait.ExchangeRel.ScatterFields scatter_by_fields = 5;.substrait.ExchangeRel.ScatterFields scatter_by_fields = 5;int.substrait.ExchangeRel.SingleBucketExpression single_target = 6;.substrait.ExchangeRel.SingleBucketExpression single_target = 6;getTargets(int index) repeated .substrait.ExchangeRel.ExchangeTarget targets = 4;intrepeated .substrait.ExchangeRel.ExchangeTarget targets = 4;repeated .substrait.ExchangeRel.ExchangeTarget targets = 4;getTargetsOrBuilder(int index) repeated .substrait.ExchangeRel.ExchangeTarget targets = 4;List<? extends ExchangeRel.ExchangeTargetOrBuilder>repeated .substrait.ExchangeRel.ExchangeTarget targets = 4;boolean.substrait.extensions.AdvancedExtension advanced_extension = 10;boolean.substrait.ExchangeRel.Broadcast broadcast = 9;boolean.substrait.RelCommon common = 1;inthashCode()booleanhasInput().substrait.Rel input = 2;boolean.substrait.ExchangeRel.MultiBucketExpression multi_target = 7;boolean.substrait.ExchangeRel.RoundRobin round_robin = 8;boolean.substrait.ExchangeRel.ScatterFields scatter_by_fields = 5;boolean.substrait.ExchangeRel.SingleBucketExpression single_target = 6;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic ExchangeRel.Builderstatic ExchangeRel.BuildernewBuilder(ExchangeRel prototype) protected ExchangeRel.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static ExchangeRelparseDelimitedFrom(InputStream input) static ExchangeRelparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ExchangeRelparseFrom(byte[] data) static ExchangeRelparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ExchangeRelparseFrom(com.google.protobuf.ByteString data) static ExchangeRelparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ExchangeRelparseFrom(com.google.protobuf.CodedInputStream input) static ExchangeRelparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ExchangeRelparseFrom(InputStream input) static ExchangeRelparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ExchangeRelparseFrom(ByteBuffer data) static ExchangeRelparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ExchangeRel>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:
-
INPUT_FIELD_NUMBER
public static final int INPUT_FIELD_NUMBER- See Also:
-
PARTITION_COUNT_FIELD_NUMBER
public static final int PARTITION_COUNT_FIELD_NUMBER- See Also:
-
TARGETS_FIELD_NUMBER
public static final int TARGETS_FIELD_NUMBER- See Also:
-
SCATTER_BY_FIELDS_FIELD_NUMBER
public static final int SCATTER_BY_FIELDS_FIELD_NUMBER- See Also:
-
SINGLE_TARGET_FIELD_NUMBER
public static final int SINGLE_TARGET_FIELD_NUMBER- See Also:
-
MULTI_TARGET_FIELD_NUMBER
public static final int MULTI_TARGET_FIELD_NUMBER- See Also:
-
ROUND_ROBIN_FIELD_NUMBER
public static final int ROUND_ROBIN_FIELD_NUMBER- See Also:
-
BROADCAST_FIELD_NUMBER
public static final int BROADCAST_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
-
getExchangeKindCase
- Specified by:
getExchangeKindCasein interfaceExchangeRelOrBuilder
-
hasCommon
public boolean hasCommon().substrait.RelCommon common = 1;- Specified by:
hasCommonin interfaceExchangeRelOrBuilder- Returns:
- Whether the common field is set.
-
getCommon
.substrait.RelCommon common = 1;- Specified by:
getCommonin interfaceExchangeRelOrBuilder- Returns:
- The common.
-
getCommonOrBuilder
.substrait.RelCommon common = 1;- Specified by:
getCommonOrBuilderin interfaceExchangeRelOrBuilder
-
hasInput
public boolean hasInput().substrait.Rel input = 2;- Specified by:
hasInputin interfaceExchangeRelOrBuilder- Returns:
- Whether the input field is set.
-
getInput
.substrait.Rel input = 2;- Specified by:
getInputin interfaceExchangeRelOrBuilder- Returns:
- The input.
-
getInputOrBuilder
.substrait.Rel input = 2;- Specified by:
getInputOrBuilderin interfaceExchangeRelOrBuilder
-
getPartitionCount
public int getPartitionCount()int32 partition_count = 3;- Specified by:
getPartitionCountin interfaceExchangeRelOrBuilder- Returns:
- The partitionCount.
-
getTargetsList
repeated .substrait.ExchangeRel.ExchangeTarget targets = 4;- Specified by:
getTargetsListin interfaceExchangeRelOrBuilder
-
getTargetsOrBuilderList
repeated .substrait.ExchangeRel.ExchangeTarget targets = 4;- Specified by:
getTargetsOrBuilderListin interfaceExchangeRelOrBuilder
-
getTargetsCount
public int getTargetsCount()repeated .substrait.ExchangeRel.ExchangeTarget targets = 4;- Specified by:
getTargetsCountin interfaceExchangeRelOrBuilder
-
getTargets
repeated .substrait.ExchangeRel.ExchangeTarget targets = 4;- Specified by:
getTargetsin interfaceExchangeRelOrBuilder
-
getTargetsOrBuilder
repeated .substrait.ExchangeRel.ExchangeTarget targets = 4;- Specified by:
getTargetsOrBuilderin interfaceExchangeRelOrBuilder
-
hasScatterByFields
public boolean hasScatterByFields().substrait.ExchangeRel.ScatterFields scatter_by_fields = 5;- Specified by:
hasScatterByFieldsin interfaceExchangeRelOrBuilder- Returns:
- Whether the scatterByFields field is set.
-
getScatterByFields
.substrait.ExchangeRel.ScatterFields scatter_by_fields = 5;- Specified by:
getScatterByFieldsin interfaceExchangeRelOrBuilder- Returns:
- The scatterByFields.
-
getScatterByFieldsOrBuilder
.substrait.ExchangeRel.ScatterFields scatter_by_fields = 5;- Specified by:
getScatterByFieldsOrBuilderin interfaceExchangeRelOrBuilder
-
hasSingleTarget
public boolean hasSingleTarget().substrait.ExchangeRel.SingleBucketExpression single_target = 6;- Specified by:
hasSingleTargetin interfaceExchangeRelOrBuilder- Returns:
- Whether the singleTarget field is set.
-
getSingleTarget
.substrait.ExchangeRel.SingleBucketExpression single_target = 6;- Specified by:
getSingleTargetin interfaceExchangeRelOrBuilder- Returns:
- The singleTarget.
-
getSingleTargetOrBuilder
.substrait.ExchangeRel.SingleBucketExpression single_target = 6;- Specified by:
getSingleTargetOrBuilderin interfaceExchangeRelOrBuilder
-
hasMultiTarget
public boolean hasMultiTarget().substrait.ExchangeRel.MultiBucketExpression multi_target = 7;- Specified by:
hasMultiTargetin interfaceExchangeRelOrBuilder- Returns:
- Whether the multiTarget field is set.
-
getMultiTarget
.substrait.ExchangeRel.MultiBucketExpression multi_target = 7;- Specified by:
getMultiTargetin interfaceExchangeRelOrBuilder- Returns:
- The multiTarget.
-
getMultiTargetOrBuilder
.substrait.ExchangeRel.MultiBucketExpression multi_target = 7;- Specified by:
getMultiTargetOrBuilderin interfaceExchangeRelOrBuilder
-
hasRoundRobin
public boolean hasRoundRobin().substrait.ExchangeRel.RoundRobin round_robin = 8;- Specified by:
hasRoundRobinin interfaceExchangeRelOrBuilder- Returns:
- Whether the roundRobin field is set.
-
getRoundRobin
.substrait.ExchangeRel.RoundRobin round_robin = 8;- Specified by:
getRoundRobinin interfaceExchangeRelOrBuilder- Returns:
- The roundRobin.
-
getRoundRobinOrBuilder
.substrait.ExchangeRel.RoundRobin round_robin = 8;- Specified by:
getRoundRobinOrBuilderin interfaceExchangeRelOrBuilder
-
hasBroadcast
public boolean hasBroadcast().substrait.ExchangeRel.Broadcast broadcast = 9;- Specified by:
hasBroadcastin interfaceExchangeRelOrBuilder- Returns:
- Whether the broadcast field is set.
-
getBroadcast
.substrait.ExchangeRel.Broadcast broadcast = 9;- Specified by:
getBroadcastin interfaceExchangeRelOrBuilder- Returns:
- The broadcast.
-
getBroadcastOrBuilder
.substrait.ExchangeRel.Broadcast broadcast = 9;- Specified by:
getBroadcastOrBuilderin interfaceExchangeRelOrBuilder
-
hasAdvancedExtension
public boolean hasAdvancedExtension().substrait.extensions.AdvancedExtension advanced_extension = 10;- Specified by:
hasAdvancedExtensionin interfaceExchangeRelOrBuilder- Returns:
- Whether the advancedExtension field is set.
-
getAdvancedExtension
.substrait.extensions.AdvancedExtension advanced_extension = 10;- Specified by:
getAdvancedExtensionin interfaceExchangeRelOrBuilder- Returns:
- The advancedExtension.
-
getAdvancedExtensionOrBuilder
.substrait.extensions.AdvancedExtension advanced_extension = 10;- Specified by:
getAdvancedExtensionOrBuilderin interfaceExchangeRelOrBuilder
-
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 ExchangeRel parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ExchangeRel parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ExchangeRel parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ExchangeRel parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ExchangeRel parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ExchangeRel parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ExchangeRel parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ExchangeRel parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ExchangeRel 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 ExchangeRel.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
-