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 operation
 
Protobuf type substrait.ExchangeRel
See Also:
  • 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

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getExchangeKindCase

      public ExchangeRel.ExchangeKindCase getExchangeKindCase()
      Specified by:
      getExchangeKindCase in interface ExchangeRelOrBuilder
    • hasCommon

      public boolean hasCommon()
      .substrait.RelCommon common = 1;
      Specified by:
      hasCommon in interface ExchangeRelOrBuilder
      Returns:
      Whether the common field is set.
    • getCommon

      public RelCommon getCommon()
      .substrait.RelCommon common = 1;
      Specified by:
      getCommon in interface ExchangeRelOrBuilder
      Returns:
      The common.
    • getCommonOrBuilder

      public RelCommonOrBuilder getCommonOrBuilder()
      .substrait.RelCommon common = 1;
      Specified by:
      getCommonOrBuilder in interface ExchangeRelOrBuilder
    • hasInput

      public boolean hasInput()
      .substrait.Rel input = 2;
      Specified by:
      hasInput in interface ExchangeRelOrBuilder
      Returns:
      Whether the input field is set.
    • getInput

      public Rel getInput()
      .substrait.Rel input = 2;
      Specified by:
      getInput in interface ExchangeRelOrBuilder
      Returns:
      The input.
    • getInputOrBuilder

      public RelOrBuilder getInputOrBuilder()
      .substrait.Rel input = 2;
      Specified by:
      getInputOrBuilder in interface ExchangeRelOrBuilder
    • getPartitionCount

      public int getPartitionCount()
      int32 partition_count = 3;
      Specified by:
      getPartitionCount in interface ExchangeRelOrBuilder
      Returns:
      The partitionCount.
    • getTargetsList

      public List<ExchangeRel.ExchangeTarget> getTargetsList()
      repeated .substrait.ExchangeRel.ExchangeTarget targets = 4;
      Specified by:
      getTargetsList in interface ExchangeRelOrBuilder
    • getTargetsOrBuilderList

      public List<? extends ExchangeRel.ExchangeTargetOrBuilder> getTargetsOrBuilderList()
      repeated .substrait.ExchangeRel.ExchangeTarget targets = 4;
      Specified by:
      getTargetsOrBuilderList in interface ExchangeRelOrBuilder
    • getTargetsCount

      public int getTargetsCount()
      repeated .substrait.ExchangeRel.ExchangeTarget targets = 4;
      Specified by:
      getTargetsCount in interface ExchangeRelOrBuilder
    • getTargets

      public ExchangeRel.ExchangeTarget getTargets(int index)
      repeated .substrait.ExchangeRel.ExchangeTarget targets = 4;
      Specified by:
      getTargets in interface ExchangeRelOrBuilder
    • getTargetsOrBuilder

      public ExchangeRel.ExchangeTargetOrBuilder getTargetsOrBuilder(int index)
      repeated .substrait.ExchangeRel.ExchangeTarget targets = 4;
      Specified by:
      getTargetsOrBuilder in interface ExchangeRelOrBuilder
    • hasScatterByFields

      public boolean hasScatterByFields()
      .substrait.ExchangeRel.ScatterFields scatter_by_fields = 5;
      Specified by:
      hasScatterByFields in interface ExchangeRelOrBuilder
      Returns:
      Whether the scatterByFields field is set.
    • getScatterByFields

      public ExchangeRel.ScatterFields getScatterByFields()
      .substrait.ExchangeRel.ScatterFields scatter_by_fields = 5;
      Specified by:
      getScatterByFields in interface ExchangeRelOrBuilder
      Returns:
      The scatterByFields.
    • getScatterByFieldsOrBuilder

      public ExchangeRel.ScatterFieldsOrBuilder getScatterByFieldsOrBuilder()
      .substrait.ExchangeRel.ScatterFields scatter_by_fields = 5;
      Specified by:
      getScatterByFieldsOrBuilder in interface ExchangeRelOrBuilder
    • hasSingleTarget

      public boolean hasSingleTarget()
      .substrait.ExchangeRel.SingleBucketExpression single_target = 6;
      Specified by:
      hasSingleTarget in interface ExchangeRelOrBuilder
      Returns:
      Whether the singleTarget field is set.
    • getSingleTarget

      public ExchangeRel.SingleBucketExpression getSingleTarget()
      .substrait.ExchangeRel.SingleBucketExpression single_target = 6;
      Specified by:
      getSingleTarget in interface ExchangeRelOrBuilder
      Returns:
      The singleTarget.
    • getSingleTargetOrBuilder

      public ExchangeRel.SingleBucketExpressionOrBuilder getSingleTargetOrBuilder()
      .substrait.ExchangeRel.SingleBucketExpression single_target = 6;
      Specified by:
      getSingleTargetOrBuilder in interface ExchangeRelOrBuilder
    • hasMultiTarget

      public boolean hasMultiTarget()
      .substrait.ExchangeRel.MultiBucketExpression multi_target = 7;
      Specified by:
      hasMultiTarget in interface ExchangeRelOrBuilder
      Returns:
      Whether the multiTarget field is set.
    • getMultiTarget

      public ExchangeRel.MultiBucketExpression getMultiTarget()
      .substrait.ExchangeRel.MultiBucketExpression multi_target = 7;
      Specified by:
      getMultiTarget in interface ExchangeRelOrBuilder
      Returns:
      The multiTarget.
    • getMultiTargetOrBuilder

      public ExchangeRel.MultiBucketExpressionOrBuilder getMultiTargetOrBuilder()
      .substrait.ExchangeRel.MultiBucketExpression multi_target = 7;
      Specified by:
      getMultiTargetOrBuilder in interface ExchangeRelOrBuilder
    • hasRoundRobin

      public boolean hasRoundRobin()
      .substrait.ExchangeRel.RoundRobin round_robin = 8;
      Specified by:
      hasRoundRobin in interface ExchangeRelOrBuilder
      Returns:
      Whether the roundRobin field is set.
    • getRoundRobin

      public ExchangeRel.RoundRobin getRoundRobin()
      .substrait.ExchangeRel.RoundRobin round_robin = 8;
      Specified by:
      getRoundRobin in interface ExchangeRelOrBuilder
      Returns:
      The roundRobin.
    • getRoundRobinOrBuilder

      public ExchangeRel.RoundRobinOrBuilder getRoundRobinOrBuilder()
      .substrait.ExchangeRel.RoundRobin round_robin = 8;
      Specified by:
      getRoundRobinOrBuilder in interface ExchangeRelOrBuilder
    • hasBroadcast

      public boolean hasBroadcast()
      .substrait.ExchangeRel.Broadcast broadcast = 9;
      Specified by:
      hasBroadcast in interface ExchangeRelOrBuilder
      Returns:
      Whether the broadcast field is set.
    • getBroadcast

      public ExchangeRel.Broadcast getBroadcast()
      .substrait.ExchangeRel.Broadcast broadcast = 9;
      Specified by:
      getBroadcast in interface ExchangeRelOrBuilder
      Returns:
      The broadcast.
    • getBroadcastOrBuilder

      public ExchangeRel.BroadcastOrBuilder getBroadcastOrBuilder()
      .substrait.ExchangeRel.Broadcast broadcast = 9;
      Specified by:
      getBroadcastOrBuilder in interface ExchangeRelOrBuilder
    • hasAdvancedExtension

      public boolean hasAdvancedExtension()
      .substrait.extensions.AdvancedExtension advanced_extension = 10;
      Specified by:
      hasAdvancedExtension in interface ExchangeRelOrBuilder
      Returns:
      Whether the advancedExtension field is set.
    • getAdvancedExtension

      public AdvancedExtension getAdvancedExtension()
      .substrait.extensions.AdvancedExtension advanced_extension = 10;
      Specified by:
      getAdvancedExtension in interface ExchangeRelOrBuilder
      Returns:
      The advancedExtension.
    • getAdvancedExtensionOrBuilder

      public AdvancedExtensionOrBuilder getAdvancedExtensionOrBuilder()
      .substrait.extensions.AdvancedExtension advanced_extension = 10;
      Specified by:
      getAdvancedExtensionOrBuilder in interface ExchangeRelOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static ExchangeRel parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ExchangeRel parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ExchangeRel parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ExchangeRel parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ExchangeRel parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ExchangeRel parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public ExchangeRel.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static ExchangeRel.Builder newBuilder()
    • newBuilder

      public static ExchangeRel.Builder newBuilder(ExchangeRel prototype)
    • toBuilder

      public ExchangeRel.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected ExchangeRel.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static ExchangeRel getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ExchangeRel> parser()
    • getParserForType

      public com.google.protobuf.Parser<ExchangeRel> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public ExchangeRel getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder