Class AggregateFunction.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<AggregateFunction.Builder>
io.substrait.proto.AggregateFunction.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, AggregateFunctionOrBuilder, Cloneable
Enclosing class:
AggregateFunction

public static final class AggregateFunction.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AggregateFunction.Builder> implements AggregateFunctionOrBuilder
 An aggregate function.
 
Protobuf type substrait.AggregateFunction
  • Method Details

    • 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<AggregateFunction.Builder>
    • clear

      public AggregateFunction.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<AggregateFunction.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<AggregateFunction.Builder>
    • getDefaultInstanceForType

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

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

      public AggregateFunction buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public AggregateFunction.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<AggregateFunction.Builder>
    • setField

      public AggregateFunction.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<AggregateFunction.Builder>
    • clearField

      public AggregateFunction.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<AggregateFunction.Builder>
    • clearOneof

      public AggregateFunction.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AggregateFunction.Builder>
    • setRepeatedField

      public AggregateFunction.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AggregateFunction.Builder>
    • addRepeatedField

      public AggregateFunction.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AggregateFunction.Builder>
    • mergeFrom

      public AggregateFunction.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AggregateFunction.Builder>
    • mergeFrom

      public AggregateFunction.Builder mergeFrom(AggregateFunction other)
    • isInitialized

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

      public AggregateFunction.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<AggregateFunction.Builder>
      Throws:
      IOException
    • getFunctionReference

      public int getFunctionReference()
       Points to a function_anchor defined in this plan, which must refer
       to an aggregate function in the associated YAML file. Required; 0 is
       considered to be a valid anchor/reference.
       
      uint32 function_reference = 1;
      Specified by:
      getFunctionReference in interface AggregateFunctionOrBuilder
      Returns:
      The functionReference.
    • setFunctionReference

      public AggregateFunction.Builder setFunctionReference(int value)
       Points to a function_anchor defined in this plan, which must refer
       to an aggregate function in the associated YAML file. Required; 0 is
       considered to be a valid anchor/reference.
       
      uint32 function_reference = 1;
      Parameters:
      value - The functionReference to set.
      Returns:
      This builder for chaining.
    • clearFunctionReference

      public AggregateFunction.Builder clearFunctionReference()
       Points to a function_anchor defined in this plan, which must refer
       to an aggregate function in the associated YAML file. Required; 0 is
       considered to be a valid anchor/reference.
       
      uint32 function_reference = 1;
      Returns:
      This builder for chaining.
    • getArgumentsList

      public List<FunctionArgument> getArgumentsList()
       The arguments to be bound to the function. This must have exactly the
       number of arguments specified in the function definition, and the
       argument types must also match exactly:
      
        - Value arguments must be bound using FunctionArgument.value, and
          the expression in that must yield a value of a type that a function
          overload is defined for.
        - Type arguments must be bound using FunctionArgument.type, and a
          function overload must be defined for that type.
        - Enum arguments must be bound using FunctionArgument.enum
          followed by Enum.specified, with a string that case-insensitively
          matches one of the allowed options.
        - Optional enum arguments must be bound using FunctionArgument.enum
          followed by either Enum.specified or Enum.unspecified. If specified,
          the string must case-insensitively match one of the allowed options.
       
      repeated .substrait.FunctionArgument arguments = 7;
      Specified by:
      getArgumentsList in interface AggregateFunctionOrBuilder
    • getArgumentsCount

      public int getArgumentsCount()
       The arguments to be bound to the function. This must have exactly the
       number of arguments specified in the function definition, and the
       argument types must also match exactly:
      
        - Value arguments must be bound using FunctionArgument.value, and
          the expression in that must yield a value of a type that a function
          overload is defined for.
        - Type arguments must be bound using FunctionArgument.type, and a
          function overload must be defined for that type.
        - Enum arguments must be bound using FunctionArgument.enum
          followed by Enum.specified, with a string that case-insensitively
          matches one of the allowed options.
        - Optional enum arguments must be bound using FunctionArgument.enum
          followed by either Enum.specified or Enum.unspecified. If specified,
          the string must case-insensitively match one of the allowed options.
       
      repeated .substrait.FunctionArgument arguments = 7;
      Specified by:
      getArgumentsCount in interface AggregateFunctionOrBuilder
    • getArguments

      public FunctionArgument getArguments(int index)
       The arguments to be bound to the function. This must have exactly the
       number of arguments specified in the function definition, and the
       argument types must also match exactly:
      
        - Value arguments must be bound using FunctionArgument.value, and
          the expression in that must yield a value of a type that a function
          overload is defined for.
        - Type arguments must be bound using FunctionArgument.type, and a
          function overload must be defined for that type.
        - Enum arguments must be bound using FunctionArgument.enum
          followed by Enum.specified, with a string that case-insensitively
          matches one of the allowed options.
        - Optional enum arguments must be bound using FunctionArgument.enum
          followed by either Enum.specified or Enum.unspecified. If specified,
          the string must case-insensitively match one of the allowed options.
       
      repeated .substrait.FunctionArgument arguments = 7;
      Specified by:
      getArguments in interface AggregateFunctionOrBuilder
    • setArguments

      public AggregateFunction.Builder setArguments(int index, FunctionArgument value)
       The arguments to be bound to the function. This must have exactly the
       number of arguments specified in the function definition, and the
       argument types must also match exactly:
      
        - Value arguments must be bound using FunctionArgument.value, and
          the expression in that must yield a value of a type that a function
          overload is defined for.
        - Type arguments must be bound using FunctionArgument.type, and a
          function overload must be defined for that type.
        - Enum arguments must be bound using FunctionArgument.enum
          followed by Enum.specified, with a string that case-insensitively
          matches one of the allowed options.
        - Optional enum arguments must be bound using FunctionArgument.enum
          followed by either Enum.specified or Enum.unspecified. If specified,
          the string must case-insensitively match one of the allowed options.
       
      repeated .substrait.FunctionArgument arguments = 7;
    • setArguments

      public AggregateFunction.Builder setArguments(int index, FunctionArgument.Builder builderForValue)
       The arguments to be bound to the function. This must have exactly the
       number of arguments specified in the function definition, and the
       argument types must also match exactly:
      
        - Value arguments must be bound using FunctionArgument.value, and
          the expression in that must yield a value of a type that a function
          overload is defined for.
        - Type arguments must be bound using FunctionArgument.type, and a
          function overload must be defined for that type.
        - Enum arguments must be bound using FunctionArgument.enum
          followed by Enum.specified, with a string that case-insensitively
          matches one of the allowed options.
        - Optional enum arguments must be bound using FunctionArgument.enum
          followed by either Enum.specified or Enum.unspecified. If specified,
          the string must case-insensitively match one of the allowed options.
       
      repeated .substrait.FunctionArgument arguments = 7;
    • addArguments

      public AggregateFunction.Builder addArguments(FunctionArgument value)
       The arguments to be bound to the function. This must have exactly the
       number of arguments specified in the function definition, and the
       argument types must also match exactly:
      
        - Value arguments must be bound using FunctionArgument.value, and
          the expression in that must yield a value of a type that a function
          overload is defined for.
        - Type arguments must be bound using FunctionArgument.type, and a
          function overload must be defined for that type.
        - Enum arguments must be bound using FunctionArgument.enum
          followed by Enum.specified, with a string that case-insensitively
          matches one of the allowed options.
        - Optional enum arguments must be bound using FunctionArgument.enum
          followed by either Enum.specified or Enum.unspecified. If specified,
          the string must case-insensitively match one of the allowed options.
       
      repeated .substrait.FunctionArgument arguments = 7;
    • addArguments

      public AggregateFunction.Builder addArguments(int index, FunctionArgument value)
       The arguments to be bound to the function. This must have exactly the
       number of arguments specified in the function definition, and the
       argument types must also match exactly:
      
        - Value arguments must be bound using FunctionArgument.value, and
          the expression in that must yield a value of a type that a function
          overload is defined for.
        - Type arguments must be bound using FunctionArgument.type, and a
          function overload must be defined for that type.
        - Enum arguments must be bound using FunctionArgument.enum
          followed by Enum.specified, with a string that case-insensitively
          matches one of the allowed options.
        - Optional enum arguments must be bound using FunctionArgument.enum
          followed by either Enum.specified or Enum.unspecified. If specified,
          the string must case-insensitively match one of the allowed options.
       
      repeated .substrait.FunctionArgument arguments = 7;
    • addArguments

      public AggregateFunction.Builder addArguments(FunctionArgument.Builder builderForValue)
       The arguments to be bound to the function. This must have exactly the
       number of arguments specified in the function definition, and the
       argument types must also match exactly:
      
        - Value arguments must be bound using FunctionArgument.value, and
          the expression in that must yield a value of a type that a function
          overload is defined for.
        - Type arguments must be bound using FunctionArgument.type, and a
          function overload must be defined for that type.
        - Enum arguments must be bound using FunctionArgument.enum
          followed by Enum.specified, with a string that case-insensitively
          matches one of the allowed options.
        - Optional enum arguments must be bound using FunctionArgument.enum
          followed by either Enum.specified or Enum.unspecified. If specified,
          the string must case-insensitively match one of the allowed options.
       
      repeated .substrait.FunctionArgument arguments = 7;
    • addArguments

      public AggregateFunction.Builder addArguments(int index, FunctionArgument.Builder builderForValue)
       The arguments to be bound to the function. This must have exactly the
       number of arguments specified in the function definition, and the
       argument types must also match exactly:
      
        - Value arguments must be bound using FunctionArgument.value, and
          the expression in that must yield a value of a type that a function
          overload is defined for.
        - Type arguments must be bound using FunctionArgument.type, and a
          function overload must be defined for that type.
        - Enum arguments must be bound using FunctionArgument.enum
          followed by Enum.specified, with a string that case-insensitively
          matches one of the allowed options.
        - Optional enum arguments must be bound using FunctionArgument.enum
          followed by either Enum.specified or Enum.unspecified. If specified,
          the string must case-insensitively match one of the allowed options.
       
      repeated .substrait.FunctionArgument arguments = 7;
    • addAllArguments

      public AggregateFunction.Builder addAllArguments(Iterable<? extends FunctionArgument> values)
       The arguments to be bound to the function. This must have exactly the
       number of arguments specified in the function definition, and the
       argument types must also match exactly:
      
        - Value arguments must be bound using FunctionArgument.value, and
          the expression in that must yield a value of a type that a function
          overload is defined for.
        - Type arguments must be bound using FunctionArgument.type, and a
          function overload must be defined for that type.
        - Enum arguments must be bound using FunctionArgument.enum
          followed by Enum.specified, with a string that case-insensitively
          matches one of the allowed options.
        - Optional enum arguments must be bound using FunctionArgument.enum
          followed by either Enum.specified or Enum.unspecified. If specified,
          the string must case-insensitively match one of the allowed options.
       
      repeated .substrait.FunctionArgument arguments = 7;
    • clearArguments

      public AggregateFunction.Builder clearArguments()
       The arguments to be bound to the function. This must have exactly the
       number of arguments specified in the function definition, and the
       argument types must also match exactly:
      
        - Value arguments must be bound using FunctionArgument.value, and
          the expression in that must yield a value of a type that a function
          overload is defined for.
        - Type arguments must be bound using FunctionArgument.type, and a
          function overload must be defined for that type.
        - Enum arguments must be bound using FunctionArgument.enum
          followed by Enum.specified, with a string that case-insensitively
          matches one of the allowed options.
        - Optional enum arguments must be bound using FunctionArgument.enum
          followed by either Enum.specified or Enum.unspecified. If specified,
          the string must case-insensitively match one of the allowed options.
       
      repeated .substrait.FunctionArgument arguments = 7;
    • removeArguments

      public AggregateFunction.Builder removeArguments(int index)
       The arguments to be bound to the function. This must have exactly the
       number of arguments specified in the function definition, and the
       argument types must also match exactly:
      
        - Value arguments must be bound using FunctionArgument.value, and
          the expression in that must yield a value of a type that a function
          overload is defined for.
        - Type arguments must be bound using FunctionArgument.type, and a
          function overload must be defined for that type.
        - Enum arguments must be bound using FunctionArgument.enum
          followed by Enum.specified, with a string that case-insensitively
          matches one of the allowed options.
        - Optional enum arguments must be bound using FunctionArgument.enum
          followed by either Enum.specified or Enum.unspecified. If specified,
          the string must case-insensitively match one of the allowed options.
       
      repeated .substrait.FunctionArgument arguments = 7;
    • getArgumentsBuilder

      public FunctionArgument.Builder getArgumentsBuilder(int index)
       The arguments to be bound to the function. This must have exactly the
       number of arguments specified in the function definition, and the
       argument types must also match exactly:
      
        - Value arguments must be bound using FunctionArgument.value, and
          the expression in that must yield a value of a type that a function
          overload is defined for.
        - Type arguments must be bound using FunctionArgument.type, and a
          function overload must be defined for that type.
        - Enum arguments must be bound using FunctionArgument.enum
          followed by Enum.specified, with a string that case-insensitively
          matches one of the allowed options.
        - Optional enum arguments must be bound using FunctionArgument.enum
          followed by either Enum.specified or Enum.unspecified. If specified,
          the string must case-insensitively match one of the allowed options.
       
      repeated .substrait.FunctionArgument arguments = 7;
    • getArgumentsOrBuilder

      public FunctionArgumentOrBuilder getArgumentsOrBuilder(int index)
       The arguments to be bound to the function. This must have exactly the
       number of arguments specified in the function definition, and the
       argument types must also match exactly:
      
        - Value arguments must be bound using FunctionArgument.value, and
          the expression in that must yield a value of a type that a function
          overload is defined for.
        - Type arguments must be bound using FunctionArgument.type, and a
          function overload must be defined for that type.
        - Enum arguments must be bound using FunctionArgument.enum
          followed by Enum.specified, with a string that case-insensitively
          matches one of the allowed options.
        - Optional enum arguments must be bound using FunctionArgument.enum
          followed by either Enum.specified or Enum.unspecified. If specified,
          the string must case-insensitively match one of the allowed options.
       
      repeated .substrait.FunctionArgument arguments = 7;
      Specified by:
      getArgumentsOrBuilder in interface AggregateFunctionOrBuilder
    • getArgumentsOrBuilderList

      public List<? extends FunctionArgumentOrBuilder> getArgumentsOrBuilderList()
       The arguments to be bound to the function. This must have exactly the
       number of arguments specified in the function definition, and the
       argument types must also match exactly:
      
        - Value arguments must be bound using FunctionArgument.value, and
          the expression in that must yield a value of a type that a function
          overload is defined for.
        - Type arguments must be bound using FunctionArgument.type, and a
          function overload must be defined for that type.
        - Enum arguments must be bound using FunctionArgument.enum
          followed by Enum.specified, with a string that case-insensitively
          matches one of the allowed options.
        - Optional enum arguments must be bound using FunctionArgument.enum
          followed by either Enum.specified or Enum.unspecified. If specified,
          the string must case-insensitively match one of the allowed options.
       
      repeated .substrait.FunctionArgument arguments = 7;
      Specified by:
      getArgumentsOrBuilderList in interface AggregateFunctionOrBuilder
    • addArgumentsBuilder

      public FunctionArgument.Builder addArgumentsBuilder()
       The arguments to be bound to the function. This must have exactly the
       number of arguments specified in the function definition, and the
       argument types must also match exactly:
      
        - Value arguments must be bound using FunctionArgument.value, and
          the expression in that must yield a value of a type that a function
          overload is defined for.
        - Type arguments must be bound using FunctionArgument.type, and a
          function overload must be defined for that type.
        - Enum arguments must be bound using FunctionArgument.enum
          followed by Enum.specified, with a string that case-insensitively
          matches one of the allowed options.
        - Optional enum arguments must be bound using FunctionArgument.enum
          followed by either Enum.specified or Enum.unspecified. If specified,
          the string must case-insensitively match one of the allowed options.
       
      repeated .substrait.FunctionArgument arguments = 7;
    • addArgumentsBuilder

      public FunctionArgument.Builder addArgumentsBuilder(int index)
       The arguments to be bound to the function. This must have exactly the
       number of arguments specified in the function definition, and the
       argument types must also match exactly:
      
        - Value arguments must be bound using FunctionArgument.value, and
          the expression in that must yield a value of a type that a function
          overload is defined for.
        - Type arguments must be bound using FunctionArgument.type, and a
          function overload must be defined for that type.
        - Enum arguments must be bound using FunctionArgument.enum
          followed by Enum.specified, with a string that case-insensitively
          matches one of the allowed options.
        - Optional enum arguments must be bound using FunctionArgument.enum
          followed by either Enum.specified or Enum.unspecified. If specified,
          the string must case-insensitively match one of the allowed options.
       
      repeated .substrait.FunctionArgument arguments = 7;
    • getArgumentsBuilderList

      public List<FunctionArgument.Builder> getArgumentsBuilderList()
       The arguments to be bound to the function. This must have exactly the
       number of arguments specified in the function definition, and the
       argument types must also match exactly:
      
        - Value arguments must be bound using FunctionArgument.value, and
          the expression in that must yield a value of a type that a function
          overload is defined for.
        - Type arguments must be bound using FunctionArgument.type, and a
          function overload must be defined for that type.
        - Enum arguments must be bound using FunctionArgument.enum
          followed by Enum.specified, with a string that case-insensitively
          matches one of the allowed options.
        - Optional enum arguments must be bound using FunctionArgument.enum
          followed by either Enum.specified or Enum.unspecified. If specified,
          the string must case-insensitively match one of the allowed options.
       
      repeated .substrait.FunctionArgument arguments = 7;
    • getOptionsList

      public List<FunctionOption> getOptionsList()
       Options to specify behavior for corner cases, or leave behavior
       unspecified if the consumer does not need specific behavior in these
       cases.
       
      repeated .substrait.FunctionOption options = 8;
      Specified by:
      getOptionsList in interface AggregateFunctionOrBuilder
    • getOptionsCount

      public int getOptionsCount()
       Options to specify behavior for corner cases, or leave behavior
       unspecified if the consumer does not need specific behavior in these
       cases.
       
      repeated .substrait.FunctionOption options = 8;
      Specified by:
      getOptionsCount in interface AggregateFunctionOrBuilder
    • getOptions

      public FunctionOption getOptions(int index)
       Options to specify behavior for corner cases, or leave behavior
       unspecified if the consumer does not need specific behavior in these
       cases.
       
      repeated .substrait.FunctionOption options = 8;
      Specified by:
      getOptions in interface AggregateFunctionOrBuilder
    • setOptions

      public AggregateFunction.Builder setOptions(int index, FunctionOption value)
       Options to specify behavior for corner cases, or leave behavior
       unspecified if the consumer does not need specific behavior in these
       cases.
       
      repeated .substrait.FunctionOption options = 8;
    • setOptions

      public AggregateFunction.Builder setOptions(int index, FunctionOption.Builder builderForValue)
       Options to specify behavior for corner cases, or leave behavior
       unspecified if the consumer does not need specific behavior in these
       cases.
       
      repeated .substrait.FunctionOption options = 8;
    • addOptions

      public AggregateFunction.Builder addOptions(FunctionOption value)
       Options to specify behavior for corner cases, or leave behavior
       unspecified if the consumer does not need specific behavior in these
       cases.
       
      repeated .substrait.FunctionOption options = 8;
    • addOptions

      public AggregateFunction.Builder addOptions(int index, FunctionOption value)
       Options to specify behavior for corner cases, or leave behavior
       unspecified if the consumer does not need specific behavior in these
       cases.
       
      repeated .substrait.FunctionOption options = 8;
    • addOptions

      public AggregateFunction.Builder addOptions(FunctionOption.Builder builderForValue)
       Options to specify behavior for corner cases, or leave behavior
       unspecified if the consumer does not need specific behavior in these
       cases.
       
      repeated .substrait.FunctionOption options = 8;
    • addOptions

      public AggregateFunction.Builder addOptions(int index, FunctionOption.Builder builderForValue)
       Options to specify behavior for corner cases, or leave behavior
       unspecified if the consumer does not need specific behavior in these
       cases.
       
      repeated .substrait.FunctionOption options = 8;
    • addAllOptions

      public AggregateFunction.Builder addAllOptions(Iterable<? extends FunctionOption> values)
       Options to specify behavior for corner cases, or leave behavior
       unspecified if the consumer does not need specific behavior in these
       cases.
       
      repeated .substrait.FunctionOption options = 8;
    • clearOptions

      public AggregateFunction.Builder clearOptions()
       Options to specify behavior for corner cases, or leave behavior
       unspecified if the consumer does not need specific behavior in these
       cases.
       
      repeated .substrait.FunctionOption options = 8;
    • removeOptions

      public AggregateFunction.Builder removeOptions(int index)
       Options to specify behavior for corner cases, or leave behavior
       unspecified if the consumer does not need specific behavior in these
       cases.
       
      repeated .substrait.FunctionOption options = 8;
    • getOptionsBuilder

      public FunctionOption.Builder getOptionsBuilder(int index)
       Options to specify behavior for corner cases, or leave behavior
       unspecified if the consumer does not need specific behavior in these
       cases.
       
      repeated .substrait.FunctionOption options = 8;
    • getOptionsOrBuilder

      public FunctionOptionOrBuilder getOptionsOrBuilder(int index)
       Options to specify behavior for corner cases, or leave behavior
       unspecified if the consumer does not need specific behavior in these
       cases.
       
      repeated .substrait.FunctionOption options = 8;
      Specified by:
      getOptionsOrBuilder in interface AggregateFunctionOrBuilder
    • getOptionsOrBuilderList

      public List<? extends FunctionOptionOrBuilder> getOptionsOrBuilderList()
       Options to specify behavior for corner cases, or leave behavior
       unspecified if the consumer does not need specific behavior in these
       cases.
       
      repeated .substrait.FunctionOption options = 8;
      Specified by:
      getOptionsOrBuilderList in interface AggregateFunctionOrBuilder
    • addOptionsBuilder

      public FunctionOption.Builder addOptionsBuilder()
       Options to specify behavior for corner cases, or leave behavior
       unspecified if the consumer does not need specific behavior in these
       cases.
       
      repeated .substrait.FunctionOption options = 8;
    • addOptionsBuilder

      public FunctionOption.Builder addOptionsBuilder(int index)
       Options to specify behavior for corner cases, or leave behavior
       unspecified if the consumer does not need specific behavior in these
       cases.
       
      repeated .substrait.FunctionOption options = 8;
    • getOptionsBuilderList

      public List<FunctionOption.Builder> getOptionsBuilderList()
       Options to specify behavior for corner cases, or leave behavior
       unspecified if the consumer does not need specific behavior in these
       cases.
       
      repeated .substrait.FunctionOption options = 8;
    • hasOutputType

      public boolean hasOutputType()
       Must be set to the return type of the function, exactly as derived
       using the declaration in the extension.
       
      .substrait.Type output_type = 5;
      Specified by:
      hasOutputType in interface AggregateFunctionOrBuilder
      Returns:
      Whether the outputType field is set.
    • getOutputType

      public Type getOutputType()
       Must be set to the return type of the function, exactly as derived
       using the declaration in the extension.
       
      .substrait.Type output_type = 5;
      Specified by:
      getOutputType in interface AggregateFunctionOrBuilder
      Returns:
      The outputType.
    • setOutputType

      public AggregateFunction.Builder setOutputType(Type value)
       Must be set to the return type of the function, exactly as derived
       using the declaration in the extension.
       
      .substrait.Type output_type = 5;
    • setOutputType

      public AggregateFunction.Builder setOutputType(Type.Builder builderForValue)
       Must be set to the return type of the function, exactly as derived
       using the declaration in the extension.
       
      .substrait.Type output_type = 5;
    • mergeOutputType

      public AggregateFunction.Builder mergeOutputType(Type value)
       Must be set to the return type of the function, exactly as derived
       using the declaration in the extension.
       
      .substrait.Type output_type = 5;
    • clearOutputType

      public AggregateFunction.Builder clearOutputType()
       Must be set to the return type of the function, exactly as derived
       using the declaration in the extension.
       
      .substrait.Type output_type = 5;
    • getOutputTypeBuilder

      public Type.Builder getOutputTypeBuilder()
       Must be set to the return type of the function, exactly as derived
       using the declaration in the extension.
       
      .substrait.Type output_type = 5;
    • getOutputTypeOrBuilder

      public TypeOrBuilder getOutputTypeOrBuilder()
       Must be set to the return type of the function, exactly as derived
       using the declaration in the extension.
       
      .substrait.Type output_type = 5;
      Specified by:
      getOutputTypeOrBuilder in interface AggregateFunctionOrBuilder
    • getPhaseValue

      public int getPhaseValue()
       Describes which part of the aggregation to perform within the context of
       distributed algorithms. Required. Must be set to INITIAL_TO_RESULT for
       aggregate functions that are not decomposable.
       
      .substrait.AggregationPhase phase = 4;
      Specified by:
      getPhaseValue in interface AggregateFunctionOrBuilder
      Returns:
      The enum numeric value on the wire for phase.
    • setPhaseValue

      public AggregateFunction.Builder setPhaseValue(int value)
       Describes which part of the aggregation to perform within the context of
       distributed algorithms. Required. Must be set to INITIAL_TO_RESULT for
       aggregate functions that are not decomposable.
       
      .substrait.AggregationPhase phase = 4;
      Parameters:
      value - The enum numeric value on the wire for phase to set.
      Returns:
      This builder for chaining.
    • getPhase

      public AggregationPhase getPhase()
       Describes which part of the aggregation to perform within the context of
       distributed algorithms. Required. Must be set to INITIAL_TO_RESULT for
       aggregate functions that are not decomposable.
       
      .substrait.AggregationPhase phase = 4;
      Specified by:
      getPhase in interface AggregateFunctionOrBuilder
      Returns:
      The phase.
    • setPhase

       Describes which part of the aggregation to perform within the context of
       distributed algorithms. Required. Must be set to INITIAL_TO_RESULT for
       aggregate functions that are not decomposable.
       
      .substrait.AggregationPhase phase = 4;
      Parameters:
      value - The phase to set.
      Returns:
      This builder for chaining.
    • clearPhase

      public AggregateFunction.Builder clearPhase()
       Describes which part of the aggregation to perform within the context of
       distributed algorithms. Required. Must be set to INITIAL_TO_RESULT for
       aggregate functions that are not decomposable.
       
      .substrait.AggregationPhase phase = 4;
      Returns:
      This builder for chaining.
    • getSortsList

      public List<SortField> getSortsList()
       If specified, the aggregated records are ordered according to this list
       before they are aggregated. The first sort field has the highest
       priority; only if a sort field determines two records to be equivalent is
       the next field queried. This field is optional.
       
      repeated .substrait.SortField sorts = 3;
      Specified by:
      getSortsList in interface AggregateFunctionOrBuilder
    • getSortsCount

      public int getSortsCount()
       If specified, the aggregated records are ordered according to this list
       before they are aggregated. The first sort field has the highest
       priority; only if a sort field determines two records to be equivalent is
       the next field queried. This field is optional.
       
      repeated .substrait.SortField sorts = 3;
      Specified by:
      getSortsCount in interface AggregateFunctionOrBuilder
    • getSorts

      public SortField getSorts(int index)
       If specified, the aggregated records are ordered according to this list
       before they are aggregated. The first sort field has the highest
       priority; only if a sort field determines two records to be equivalent is
       the next field queried. This field is optional.
       
      repeated .substrait.SortField sorts = 3;
      Specified by:
      getSorts in interface AggregateFunctionOrBuilder
    • setSorts

      public AggregateFunction.Builder setSorts(int index, SortField value)
       If specified, the aggregated records are ordered according to this list
       before they are aggregated. The first sort field has the highest
       priority; only if a sort field determines two records to be equivalent is
       the next field queried. This field is optional.
       
      repeated .substrait.SortField sorts = 3;
    • setSorts

      public AggregateFunction.Builder setSorts(int index, SortField.Builder builderForValue)
       If specified, the aggregated records are ordered according to this list
       before they are aggregated. The first sort field has the highest
       priority; only if a sort field determines two records to be equivalent is
       the next field queried. This field is optional.
       
      repeated .substrait.SortField sorts = 3;
    • addSorts

      public AggregateFunction.Builder addSorts(SortField value)
       If specified, the aggregated records are ordered according to this list
       before they are aggregated. The first sort field has the highest
       priority; only if a sort field determines two records to be equivalent is
       the next field queried. This field is optional.
       
      repeated .substrait.SortField sorts = 3;
    • addSorts

      public AggregateFunction.Builder addSorts(int index, SortField value)
       If specified, the aggregated records are ordered according to this list
       before they are aggregated. The first sort field has the highest
       priority; only if a sort field determines two records to be equivalent is
       the next field queried. This field is optional.
       
      repeated .substrait.SortField sorts = 3;
    • addSorts

      public AggregateFunction.Builder addSorts(SortField.Builder builderForValue)
       If specified, the aggregated records are ordered according to this list
       before they are aggregated. The first sort field has the highest
       priority; only if a sort field determines two records to be equivalent is
       the next field queried. This field is optional.
       
      repeated .substrait.SortField sorts = 3;
    • addSorts

      public AggregateFunction.Builder addSorts(int index, SortField.Builder builderForValue)
       If specified, the aggregated records are ordered according to this list
       before they are aggregated. The first sort field has the highest
       priority; only if a sort field determines two records to be equivalent is
       the next field queried. This field is optional.
       
      repeated .substrait.SortField sorts = 3;
    • addAllSorts

      public AggregateFunction.Builder addAllSorts(Iterable<? extends SortField> values)
       If specified, the aggregated records are ordered according to this list
       before they are aggregated. The first sort field has the highest
       priority; only if a sort field determines two records to be equivalent is
       the next field queried. This field is optional.
       
      repeated .substrait.SortField sorts = 3;
    • clearSorts

      public AggregateFunction.Builder clearSorts()
       If specified, the aggregated records are ordered according to this list
       before they are aggregated. The first sort field has the highest
       priority; only if a sort field determines two records to be equivalent is
       the next field queried. This field is optional.
       
      repeated .substrait.SortField sorts = 3;
    • removeSorts

      public AggregateFunction.Builder removeSorts(int index)
       If specified, the aggregated records are ordered according to this list
       before they are aggregated. The first sort field has the highest
       priority; only if a sort field determines two records to be equivalent is
       the next field queried. This field is optional.
       
      repeated .substrait.SortField sorts = 3;
    • getSortsBuilder

      public SortField.Builder getSortsBuilder(int index)
       If specified, the aggregated records are ordered according to this list
       before they are aggregated. The first sort field has the highest
       priority; only if a sort field determines two records to be equivalent is
       the next field queried. This field is optional.
       
      repeated .substrait.SortField sorts = 3;
    • getSortsOrBuilder

      public SortFieldOrBuilder getSortsOrBuilder(int index)
       If specified, the aggregated records are ordered according to this list
       before they are aggregated. The first sort field has the highest
       priority; only if a sort field determines two records to be equivalent is
       the next field queried. This field is optional.
       
      repeated .substrait.SortField sorts = 3;
      Specified by:
      getSortsOrBuilder in interface AggregateFunctionOrBuilder
    • getSortsOrBuilderList

      public List<? extends SortFieldOrBuilder> getSortsOrBuilderList()
       If specified, the aggregated records are ordered according to this list
       before they are aggregated. The first sort field has the highest
       priority; only if a sort field determines two records to be equivalent is
       the next field queried. This field is optional.
       
      repeated .substrait.SortField sorts = 3;
      Specified by:
      getSortsOrBuilderList in interface AggregateFunctionOrBuilder
    • addSortsBuilder

      public SortField.Builder addSortsBuilder()
       If specified, the aggregated records are ordered according to this list
       before they are aggregated. The first sort field has the highest
       priority; only if a sort field determines two records to be equivalent is
       the next field queried. This field is optional.
       
      repeated .substrait.SortField sorts = 3;
    • addSortsBuilder

      public SortField.Builder addSortsBuilder(int index)
       If specified, the aggregated records are ordered according to this list
       before they are aggregated. The first sort field has the highest
       priority; only if a sort field determines two records to be equivalent is
       the next field queried. This field is optional.
       
      repeated .substrait.SortField sorts = 3;
    • getSortsBuilderList

      public List<SortField.Builder> getSortsBuilderList()
       If specified, the aggregated records are ordered according to this list
       before they are aggregated. The first sort field has the highest
       priority; only if a sort field determines two records to be equivalent is
       the next field queried. This field is optional.
       
      repeated .substrait.SortField sorts = 3;
    • getInvocationValue

      public int getInvocationValue()
       Specifies whether equivalent records are merged before being aggregated.
       Optional, defaults to AGGREGATION_INVOCATION_ALL.
       
      .substrait.AggregateFunction.AggregationInvocation invocation = 6;
      Specified by:
      getInvocationValue in interface AggregateFunctionOrBuilder
      Returns:
      The enum numeric value on the wire for invocation.
    • setInvocationValue

      public AggregateFunction.Builder setInvocationValue(int value)
       Specifies whether equivalent records are merged before being aggregated.
       Optional, defaults to AGGREGATION_INVOCATION_ALL.
       
      .substrait.AggregateFunction.AggregationInvocation invocation = 6;
      Parameters:
      value - The enum numeric value on the wire for invocation to set.
      Returns:
      This builder for chaining.
    • getInvocation

       Specifies whether equivalent records are merged before being aggregated.
       Optional, defaults to AGGREGATION_INVOCATION_ALL.
       
      .substrait.AggregateFunction.AggregationInvocation invocation = 6;
      Specified by:
      getInvocation in interface AggregateFunctionOrBuilder
      Returns:
      The invocation.
    • setInvocation

       Specifies whether equivalent records are merged before being aggregated.
       Optional, defaults to AGGREGATION_INVOCATION_ALL.
       
      .substrait.AggregateFunction.AggregationInvocation invocation = 6;
      Parameters:
      value - The invocation to set.
      Returns:
      This builder for chaining.
    • clearInvocation

      public AggregateFunction.Builder clearInvocation()
       Specifies whether equivalent records are merged before being aggregated.
       Optional, defaults to AGGREGATION_INVOCATION_ALL.
       
      .substrait.AggregateFunction.AggregationInvocation invocation = 6;
      Returns:
      This builder for chaining.
    • getArgsList

      @Deprecated public List<Expression> getArgsList()
      Deprecated.
       deprecated; use arguments instead
       
      repeated .substrait.Expression args = 2 [deprecated = true];
      Specified by:
      getArgsList in interface AggregateFunctionOrBuilder
    • getArgsCount

      @Deprecated public int getArgsCount()
      Deprecated.
       deprecated; use arguments instead
       
      repeated .substrait.Expression args = 2 [deprecated = true];
      Specified by:
      getArgsCount in interface AggregateFunctionOrBuilder
    • getArgs

      @Deprecated public Expression getArgs(int index)
      Deprecated.
       deprecated; use arguments instead
       
      repeated .substrait.Expression args = 2 [deprecated = true];
      Specified by:
      getArgs in interface AggregateFunctionOrBuilder
    • setArgs

      @Deprecated public AggregateFunction.Builder setArgs(int index, Expression value)
      Deprecated.
       deprecated; use arguments instead
       
      repeated .substrait.Expression args = 2 [deprecated = true];
    • setArgs

      @Deprecated public AggregateFunction.Builder setArgs(int index, Expression.Builder builderForValue)
      Deprecated.
       deprecated; use arguments instead
       
      repeated .substrait.Expression args = 2 [deprecated = true];
    • addArgs

      Deprecated.
       deprecated; use arguments instead
       
      repeated .substrait.Expression args = 2 [deprecated = true];
    • addArgs

      @Deprecated public AggregateFunction.Builder addArgs(int index, Expression value)
      Deprecated.
       deprecated; use arguments instead
       
      repeated .substrait.Expression args = 2 [deprecated = true];
    • addArgs

      @Deprecated public AggregateFunction.Builder addArgs(Expression.Builder builderForValue)
      Deprecated.
       deprecated; use arguments instead
       
      repeated .substrait.Expression args = 2 [deprecated = true];
    • addArgs

      @Deprecated public AggregateFunction.Builder addArgs(int index, Expression.Builder builderForValue)
      Deprecated.
       deprecated; use arguments instead
       
      repeated .substrait.Expression args = 2 [deprecated = true];
    • addAllArgs

      @Deprecated public AggregateFunction.Builder addAllArgs(Iterable<? extends Expression> values)
      Deprecated.
       deprecated; use arguments instead
       
      repeated .substrait.Expression args = 2 [deprecated = true];
    • clearArgs

      Deprecated.
       deprecated; use arguments instead
       
      repeated .substrait.Expression args = 2 [deprecated = true];
    • removeArgs

      @Deprecated public AggregateFunction.Builder removeArgs(int index)
      Deprecated.
       deprecated; use arguments instead
       
      repeated .substrait.Expression args = 2 [deprecated = true];
    • getArgsBuilder

      @Deprecated public Expression.Builder getArgsBuilder(int index)
      Deprecated.
       deprecated; use arguments instead
       
      repeated .substrait.Expression args = 2 [deprecated = true];
    • getArgsOrBuilder

      @Deprecated public ExpressionOrBuilder getArgsOrBuilder(int index)
      Deprecated.
       deprecated; use arguments instead
       
      repeated .substrait.Expression args = 2 [deprecated = true];
      Specified by:
      getArgsOrBuilder in interface AggregateFunctionOrBuilder
    • getArgsOrBuilderList

      @Deprecated public List<? extends ExpressionOrBuilder> getArgsOrBuilderList()
      Deprecated.
       deprecated; use arguments instead
       
      repeated .substrait.Expression args = 2 [deprecated = true];
      Specified by:
      getArgsOrBuilderList in interface AggregateFunctionOrBuilder
    • addArgsBuilder

      @Deprecated public Expression.Builder addArgsBuilder()
      Deprecated.
       deprecated; use arguments instead
       
      repeated .substrait.Expression args = 2 [deprecated = true];
    • addArgsBuilder

      @Deprecated public Expression.Builder addArgsBuilder(int index)
      Deprecated.
       deprecated; use arguments instead
       
      repeated .substrait.Expression args = 2 [deprecated = true];
    • getArgsBuilderList

      @Deprecated public List<Expression.Builder> getArgsBuilderList()
      Deprecated.
       deprecated; use arguments instead
       
      repeated .substrait.Expression args = 2 [deprecated = true];
    • setUnknownFields

      public final AggregateFunction.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AggregateFunction.Builder>
    • mergeUnknownFields

      public final AggregateFunction.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AggregateFunction.Builder>