Class PlanProtocol.ShuffleOperator.Builder

    • Method Detail

      • 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.Builder<PlanProtocol.ShuffleOperator.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.ShuffleOperator.Builder>
      • getDefaultInstanceForType

        public PlanProtocol.ShuffleOperator getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public PlanProtocol.ShuffleOperator build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public PlanProtocol.ShuffleOperator buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.ShuffleOperator.Builder>
      • mergeFrom

        public PlanProtocol.ShuffleOperator.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                       throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<PlanProtocol.ShuffleOperator.Builder>
        Throws:
        IOException
      • getKeysList

        public com.google.protobuf.ProtocolStringList getKeysList()
        The keys we are hashing by (in order) to determine the destination
         
        repeated string keys = 1;
        Specified by:
        getKeysList in interface PlanProtocol.ShuffleOperatorOrBuilder
        Returns:
        A list containing the keys.
      • getKeys

        public String getKeys​(int index)
        The keys we are hashing by (in order) to determine the destination
         
        repeated string keys = 1;
        Specified by:
        getKeys in interface PlanProtocol.ShuffleOperatorOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The keys at the given index.
      • getKeysBytes

        public com.google.protobuf.ByteString getKeysBytes​(int index)
        The keys we are hashing by (in order) to determine the destination
         
        repeated string keys = 1;
        Specified by:
        getKeysBytes in interface PlanProtocol.ShuffleOperatorOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the keys at the given index.
      • setKeys

        public PlanProtocol.ShuffleOperator.Builder setKeys​(int index,
                                                            String value)
        The keys we are hashing by (in order) to determine the destination
         
        repeated string keys = 1;
        Parameters:
        index - The index to set the value at.
        value - The keys to set.
        Returns:
        This builder for chaining.
      • addKeys

        public PlanProtocol.ShuffleOperator.Builder addKeys​(String value)
        The keys we are hashing by (in order) to determine the destination
         
        repeated string keys = 1;
        Parameters:
        value - The keys to add.
        Returns:
        This builder for chaining.
      • addAllKeys

        public PlanProtocol.ShuffleOperator.Builder addAllKeys​(Iterable<String> values)
        The keys we are hashing by (in order) to determine the destination
         
        repeated string keys = 1;
        Parameters:
        values - The keys to add.
        Returns:
        This builder for chaining.
      • clearKeys

        public PlanProtocol.ShuffleOperator.Builder clearKeys()
        The keys we are hashing by (in order) to determine the destination
         
        repeated string keys = 1;
        Returns:
        This builder for chaining.
      • addKeysBytes

        public PlanProtocol.ShuffleOperator.Builder addKeysBytes​(com.google.protobuf.ByteString value)
        The keys we are hashing by (in order) to determine the destination
         
        repeated string keys = 1;
        Parameters:
        value - The bytes of the keys to add.
        Returns:
        This builder for chaining.
      • setShuffleRotation

        public PlanProtocol.ShuffleOperator.Builder setShuffleRotation​(long value)
        uint64 shuffle_rotation = 2;
        Parameters:
        value - The shuffleRotation to set.
        Returns:
        This builder for chaining.