Class PlanProtocol.OrderedAggOperator.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.OrderedAggOperator.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.OrderedAggOperator.Builder>
      • getDefaultInstanceForType

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

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

        public PlanProtocol.OrderedAggOperator 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.OrderedAggOperator.Builder>
      • getKeysList

        public com.google.protobuf.ProtocolStringList getKeysList()
        The GROUP BY columns - can't be empty
         
        repeated string keys = 1;
        Specified by:
        getKeysList in interface PlanProtocol.OrderedAggOperatorOrBuilder
        Returns:
        A list containing the keys.
      • getKeys

        public String getKeys​(int index)
        The GROUP BY columns - can't be empty
         
        repeated string keys = 1;
        Specified by:
        getKeys in interface PlanProtocol.OrderedAggOperatorOrBuilder
        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 GROUP BY columns - can't be empty
         
        repeated string keys = 1;
        Specified by:
        getKeysBytes in interface PlanProtocol.OrderedAggOperatorOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the keys at the given index.
      • setKeys

        public PlanProtocol.OrderedAggOperator.Builder setKeys​(int index,
                                                               String value)
        The GROUP BY columns - can't be empty
         
        repeated string keys = 1;
        Parameters:
        index - The index to set the value at.
        value - The keys to set.
        Returns:
        This builder for chaining.
      • addKeysBytes

        public PlanProtocol.OrderedAggOperator.Builder addKeysBytes​(com.google.protobuf.ByteString value)
        The GROUP BY columns - can't be empty
         
        repeated string keys = 1;
        Parameters:
        value - The bytes of the keys to add.
        Returns:
        This builder for chaining.
      • getOpsCount

        public int getOpsCount()
        The aggregation operations to perform
         
        repeated .xg.db.sqlPlans.AggregationOperator.AggregationOp ops = 2;
        Specified by:
        getOpsCount in interface PlanProtocol.OrderedAggOperatorOrBuilder
        Returns:
        The count of ops.
      • clearOps

        public PlanProtocol.OrderedAggOperator.Builder clearOps()
        The aggregation operations to perform
         
        repeated .xg.db.sqlPlans.AggregationOperator.AggregationOp ops = 2;
        Returns:
        This builder for chaining.
      • getOpsValue

        public int getOpsValue​(int index)
        The aggregation operations to perform
         
        repeated .xg.db.sqlPlans.AggregationOperator.AggregationOp ops = 2;
        Specified by:
        getOpsValue in interface PlanProtocol.OrderedAggOperatorOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The enum numeric value on the wire of ops at the given index.
      • setOpsValue

        public PlanProtocol.OrderedAggOperator.Builder setOpsValue​(int index,
                                                                   int value)
        The aggregation operations to perform
         
        repeated .xg.db.sqlPlans.AggregationOperator.AggregationOp ops = 2;
        Parameters:
        index - The index of the value to return.
        Returns:
        The enum numeric value on the wire of ops at the given index.
      • addOpsValue

        public PlanProtocol.OrderedAggOperator.Builder addOpsValue​(int value)
        The aggregation operations to perform
         
        repeated .xg.db.sqlPlans.AggregationOperator.AggregationOp ops = 2;
        Parameters:
        value - The enum numeric value on the wire for ops to add.
        Returns:
        This builder for chaining.
      • addAllOpsValue

        public PlanProtocol.OrderedAggOperator.Builder addAllOpsValue​(Iterable<Integer> values)
        The aggregation operations to perform
         
        repeated .xg.db.sqlPlans.AggregationOperator.AggregationOp ops = 2;
        Parameters:
        values - The enum numeric values on the wire for ops to add.
        Returns:
        This builder for chaining.
      • getInputColsList

        public com.google.protobuf.ProtocolStringList getInputColsList()
        The columns to perform each aggregation on
        In the same order as ops (and same size)
        AGG_OP_COUNT_STAR has no input - so a value in that position is garbage
         
        repeated string inputCols = 3;
        Specified by:
        getInputColsList in interface PlanProtocol.OrderedAggOperatorOrBuilder
        Returns:
        A list containing the inputCols.
      • getInputColsCount

        public int getInputColsCount()
        The columns to perform each aggregation on
        In the same order as ops (and same size)
        AGG_OP_COUNT_STAR has no input - so a value in that position is garbage
         
        repeated string inputCols = 3;
        Specified by:
        getInputColsCount in interface PlanProtocol.OrderedAggOperatorOrBuilder
        Returns:
        The count of inputCols.
      • getInputCols

        public String getInputCols​(int index)
        The columns to perform each aggregation on
        In the same order as ops (and same size)
        AGG_OP_COUNT_STAR has no input - so a value in that position is garbage
         
        repeated string inputCols = 3;
        Specified by:
        getInputCols in interface PlanProtocol.OrderedAggOperatorOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The inputCols at the given index.
      • getInputColsBytes

        public com.google.protobuf.ByteString getInputColsBytes​(int index)
        The columns to perform each aggregation on
        In the same order as ops (and same size)
        AGG_OP_COUNT_STAR has no input - so a value in that position is garbage
         
        repeated string inputCols = 3;
        Specified by:
        getInputColsBytes in interface PlanProtocol.OrderedAggOperatorOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the inputCols at the given index.
      • setInputCols

        public PlanProtocol.OrderedAggOperator.Builder setInputCols​(int index,
                                                                    String value)
        The columns to perform each aggregation on
        In the same order as ops (and same size)
        AGG_OP_COUNT_STAR has no input - so a value in that position is garbage
         
        repeated string inputCols = 3;
        Parameters:
        index - The index to set the value at.
        value - The inputCols to set.
        Returns:
        This builder for chaining.
      • addInputCols

        public PlanProtocol.OrderedAggOperator.Builder addInputCols​(String value)
        The columns to perform each aggregation on
        In the same order as ops (and same size)
        AGG_OP_COUNT_STAR has no input - so a value in that position is garbage
         
        repeated string inputCols = 3;
        Parameters:
        value - The inputCols to add.
        Returns:
        This builder for chaining.
      • addAllInputCols

        public PlanProtocol.OrderedAggOperator.Builder addAllInputCols​(Iterable<String> values)
        The columns to perform each aggregation on
        In the same order as ops (and same size)
        AGG_OP_COUNT_STAR has no input - so a value in that position is garbage
         
        repeated string inputCols = 3;
        Parameters:
        values - The inputCols to add.
        Returns:
        This builder for chaining.
      • clearInputCols

        public PlanProtocol.OrderedAggOperator.Builder clearInputCols()
        The columns to perform each aggregation on
        In the same order as ops (and same size)
        AGG_OP_COUNT_STAR has no input - so a value in that position is garbage
         
        repeated string inputCols = 3;
        Returns:
        This builder for chaining.
      • addInputColsBytes

        public PlanProtocol.OrderedAggOperator.Builder addInputColsBytes​(com.google.protobuf.ByteString value)
        The columns to perform each aggregation on
        In the same order as ops (and same size)
        AGG_OP_COUNT_STAR has no input - so a value in that position is garbage
         
        repeated string inputCols = 3;
        Parameters:
        value - The bytes of the inputCols to add.
        Returns:
        This builder for chaining.
      • getOutputColsList

        public com.google.protobuf.ProtocolStringList getOutputColsList()
        The name to give to the columns created by each aggregation operation
         
        repeated string outputCols = 4;
        Specified by:
        getOutputColsList in interface PlanProtocol.OrderedAggOperatorOrBuilder
        Returns:
        A list containing the outputCols.
      • getOutputCols

        public String getOutputCols​(int index)
        The name to give to the columns created by each aggregation operation
         
        repeated string outputCols = 4;
        Specified by:
        getOutputCols in interface PlanProtocol.OrderedAggOperatorOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The outputCols at the given index.
      • getOutputColsBytes

        public com.google.protobuf.ByteString getOutputColsBytes​(int index)
        The name to give to the columns created by each aggregation operation
         
        repeated string outputCols = 4;
        Specified by:
        getOutputColsBytes in interface PlanProtocol.OrderedAggOperatorOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the outputCols at the given index.
      • setOutputCols

        public PlanProtocol.OrderedAggOperator.Builder setOutputCols​(int index,
                                                                     String value)
        The name to give to the columns created by each aggregation operation
         
        repeated string outputCols = 4;
        Parameters:
        index - The index to set the value at.
        value - The outputCols to set.
        Returns:
        This builder for chaining.
      • addOutputCols

        public PlanProtocol.OrderedAggOperator.Builder addOutputCols​(String value)
        The name to give to the columns created by each aggregation operation
         
        repeated string outputCols = 4;
        Parameters:
        value - The outputCols to add.
        Returns:
        This builder for chaining.
      • addAllOutputCols

        public PlanProtocol.OrderedAggOperator.Builder addAllOutputCols​(Iterable<String> values)
        The name to give to the columns created by each aggregation operation
         
        repeated string outputCols = 4;
        Parameters:
        values - The outputCols to add.
        Returns:
        This builder for chaining.
      • clearOutputCols

        public PlanProtocol.OrderedAggOperator.Builder clearOutputCols()
        The name to give to the columns created by each aggregation operation
         
        repeated string outputCols = 4;
        Returns:
        This builder for chaining.
      • addOutputColsBytes

        public PlanProtocol.OrderedAggOperator.Builder addOutputColsBytes​(com.google.protobuf.ByteString value)
        The name to give to the columns created by each aggregation operation
         
        repeated string outputCols = 4;
        Parameters:
        value - The bytes of the outputCols to add.
        Returns:
        This builder for chaining.
      • getOutputColsTypesList

        public com.google.protobuf.ProtocolStringList getOutputColsTypesList()
        The types for the outputCols, in the same order
         
        repeated string outputColsTypes = 5;
        Specified by:
        getOutputColsTypesList in interface PlanProtocol.OrderedAggOperatorOrBuilder
        Returns:
        A list containing the outputColsTypes.
      • getOutputColsTypes

        public String getOutputColsTypes​(int index)
        The types for the outputCols, in the same order
         
        repeated string outputColsTypes = 5;
        Specified by:
        getOutputColsTypes in interface PlanProtocol.OrderedAggOperatorOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The outputColsTypes at the given index.
      • getOutputColsTypesBytes

        public com.google.protobuf.ByteString getOutputColsTypesBytes​(int index)
        The types for the outputCols, in the same order
         
        repeated string outputColsTypes = 5;
        Specified by:
        getOutputColsTypesBytes in interface PlanProtocol.OrderedAggOperatorOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the outputColsTypes at the given index.
      • setOutputColsTypes

        public PlanProtocol.OrderedAggOperator.Builder setOutputColsTypes​(int index,
                                                                          String value)
        The types for the outputCols, in the same order
         
        repeated string outputColsTypes = 5;
        Parameters:
        index - The index to set the value at.
        value - The outputColsTypes to set.
        Returns:
        This builder for chaining.
      • addOutputColsTypes

        public PlanProtocol.OrderedAggOperator.Builder addOutputColsTypes​(String value)
        The types for the outputCols, in the same order
         
        repeated string outputColsTypes = 5;
        Parameters:
        value - The outputColsTypes to add.
        Returns:
        This builder for chaining.
      • addAllOutputColsTypes

        public PlanProtocol.OrderedAggOperator.Builder addAllOutputColsTypes​(Iterable<String> values)
        The types for the outputCols, in the same order
         
        repeated string outputColsTypes = 5;
        Parameters:
        values - The outputColsTypes to add.
        Returns:
        This builder for chaining.
      • clearOutputColsTypes

        public PlanProtocol.OrderedAggOperator.Builder clearOutputColsTypes()
        The types for the outputCols, in the same order
         
        repeated string outputColsTypes = 5;
        Returns:
        This builder for chaining.
      • addOutputColsTypesBytes

        public PlanProtocol.OrderedAggOperator.Builder addOutputColsTypesBytes​(com.google.protobuf.ByteString value)
        The types for the outputCols, in the same order
         
        repeated string outputColsTypes = 5;
        Parameters:
        value - The bytes of the outputColsTypes to add.
        Returns:
        This builder for chaining.
      • setLevelValue

        public PlanProtocol.OrderedAggOperator.Builder setLevelValue​(int value)
        .xg.db.sqlPlans.GatherLevel level = 6;
        Parameters:
        value - The enum numeric value on the wire for level to set.
        Returns:
        This builder for chaining.