Class Expression.WindowFunction.Builder

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

public static final class Expression.WindowFunction.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Expression.WindowFunction.Builder> implements Expression.WindowFunctionOrBuilder
 A window function call.
 
Protobuf type substrait.Expression.WindowFunction
  • 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<Expression.WindowFunction.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<Expression.WindowFunction.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<Expression.WindowFunction.Builder>
    • getDefaultInstanceForType

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

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

      public Expression.WindowFunction buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.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<Expression.WindowFunction.Builder>
    • setField

      public Expression.WindowFunction.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<Expression.WindowFunction.Builder>
    • clearField

      public Expression.WindowFunction.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<Expression.WindowFunction.Builder>
    • clearOneof

      public Expression.WindowFunction.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<Expression.WindowFunction.Builder>
    • setRepeatedField

      public Expression.WindowFunction.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<Expression.WindowFunction.Builder>
    • addRepeatedField

      public Expression.WindowFunction.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<Expression.WindowFunction.Builder>
    • mergeFrom

      public Expression.WindowFunction.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<Expression.WindowFunction.Builder>
    • mergeFrom

    • isInitialized

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

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

      public int getFunctionReference()
       Points to a function_anchor defined in this plan. The function must be:
        - a window function
        - an aggregate function
      
       An aggregate function referenced here should be treated as a window
       function with Window Type STREAMING
      
       Required; 0 is considered to be a valid anchor/reference.
       
      uint32 function_reference = 1;
      Specified by:
      getFunctionReference in interface Expression.WindowFunctionOrBuilder
      Returns:
      The functionReference.
    • setFunctionReference

      public Expression.WindowFunction.Builder setFunctionReference(int value)
       Points to a function_anchor defined in this plan. The function must be:
        - a window function
        - an aggregate function
      
       An aggregate function referenced here should be treated as a window
       function with Window Type STREAMING
      
       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 Expression.WindowFunction.Builder clearFunctionReference()
       Points to a function_anchor defined in this plan. The function must be:
        - a window function
        - an aggregate function
      
       An aggregate function referenced here should be treated as a window
       function with Window Type STREAMING
      
       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.
       
      repeated .substrait.FunctionArgument arguments = 9;
      Specified by:
      getArgumentsList in interface Expression.WindowFunctionOrBuilder
    • 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.
       
      repeated .substrait.FunctionArgument arguments = 9;
      Specified by:
      getArgumentsCount in interface Expression.WindowFunctionOrBuilder
    • 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.
       
      repeated .substrait.FunctionArgument arguments = 9;
      Specified by:
      getArguments in interface Expression.WindowFunctionOrBuilder
    • setArguments

      public Expression.WindowFunction.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.
       
      repeated .substrait.FunctionArgument arguments = 9;
    • setArguments

      public Expression.WindowFunction.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.
       
      repeated .substrait.FunctionArgument arguments = 9;
    • addArguments

       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.
       
      repeated .substrait.FunctionArgument arguments = 9;
    • addArguments

      public Expression.WindowFunction.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.
       
      repeated .substrait.FunctionArgument arguments = 9;
    • addArguments

      public Expression.WindowFunction.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.
       
      repeated .substrait.FunctionArgument arguments = 9;
    • addArguments

      public Expression.WindowFunction.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.
       
      repeated .substrait.FunctionArgument arguments = 9;
    • addAllArguments

      public Expression.WindowFunction.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.
       
      repeated .substrait.FunctionArgument arguments = 9;
    • clearArguments

      public Expression.WindowFunction.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.
       
      repeated .substrait.FunctionArgument arguments = 9;
    • removeArguments

      public Expression.WindowFunction.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.
       
      repeated .substrait.FunctionArgument arguments = 9;
    • 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.
       
      repeated .substrait.FunctionArgument arguments = 9;
    • 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.
       
      repeated .substrait.FunctionArgument arguments = 9;
      Specified by:
      getArgumentsOrBuilder in interface Expression.WindowFunctionOrBuilder
    • 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.
       
      repeated .substrait.FunctionArgument arguments = 9;
      Specified by:
      getArgumentsOrBuilderList in interface Expression.WindowFunctionOrBuilder
    • 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.
       
      repeated .substrait.FunctionArgument arguments = 9;
    • 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.
       
      repeated .substrait.FunctionArgument arguments = 9;
    • 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.
       
      repeated .substrait.FunctionArgument arguments = 9;
    • 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 = 11;
      Specified by:
      getOptionsList in interface Expression.WindowFunctionOrBuilder
    • 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 = 11;
      Specified by:
      getOptionsCount in interface Expression.WindowFunctionOrBuilder
    • 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 = 11;
      Specified by:
      getOptions in interface Expression.WindowFunctionOrBuilder
    • setOptions

      public Expression.WindowFunction.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 = 11;
    • setOptions

      public Expression.WindowFunction.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 = 11;
    • addOptions

       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 = 11;
    • addOptions

      public Expression.WindowFunction.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 = 11;
    • addOptions

      public Expression.WindowFunction.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 = 11;
    • addOptions

      public Expression.WindowFunction.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 = 11;
    • addAllOptions

      public Expression.WindowFunction.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 = 11;
    • clearOptions

      public Expression.WindowFunction.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 = 11;
    • removeOptions

      public Expression.WindowFunction.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 = 11;
    • 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 = 11;
    • 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 = 11;
      Specified by:
      getOptionsOrBuilder in interface Expression.WindowFunctionOrBuilder
    • 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 = 11;
      Specified by:
      getOptionsOrBuilderList in interface Expression.WindowFunctionOrBuilder
    • 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 = 11;
    • 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 = 11;
    • 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 = 11;
    • 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 = 7;
      Specified by:
      hasOutputType in interface Expression.WindowFunctionOrBuilder
      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 = 7;
      Specified by:
      getOutputType in interface Expression.WindowFunctionOrBuilder
      Returns:
      The outputType.
    • setOutputType

      public Expression.WindowFunction.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 = 7;
    • setOutputType

      public Expression.WindowFunction.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 = 7;
    • mergeOutputType

      public Expression.WindowFunction.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 = 7;
    • clearOutputType

      public Expression.WindowFunction.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 = 7;
    • 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 = 7;
    • 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 = 7;
      Specified by:
      getOutputTypeOrBuilder in interface Expression.WindowFunctionOrBuilder
    • getPhaseValue

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

      public Expression.WindowFunction.Builder setPhaseValue(int value)
       Describes which part of the window function to perform within the
       context of distributed algorithms. Required. Must be set to
       INITIAL_TO_RESULT for window functions that are not decomposable.
       
      .substrait.AggregationPhase phase = 6;
      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 window function to perform within the
       context of distributed algorithms. Required. Must be set to
       INITIAL_TO_RESULT for window functions that are not decomposable.
       
      .substrait.AggregationPhase phase = 6;
      Specified by:
      getPhase in interface Expression.WindowFunctionOrBuilder
      Returns:
      The phase.
    • setPhase

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

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

      public List<SortField> getSortsList()
       If specified, the records that are part of the window defined by
       upper_bound and lower_bound 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, and is only allowed
       if the window function is defined to support sorting.
       
      repeated .substrait.SortField sorts = 3;
      Specified by:
      getSortsList in interface Expression.WindowFunctionOrBuilder
    • getSortsCount

      public int getSortsCount()
       If specified, the records that are part of the window defined by
       upper_bound and lower_bound 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, and is only allowed
       if the window function is defined to support sorting.
       
      repeated .substrait.SortField sorts = 3;
      Specified by:
      getSortsCount in interface Expression.WindowFunctionOrBuilder
    • getSorts

      public SortField getSorts(int index)
       If specified, the records that are part of the window defined by
       upper_bound and lower_bound 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, and is only allowed
       if the window function is defined to support sorting.
       
      repeated .substrait.SortField sorts = 3;
      Specified by:
      getSorts in interface Expression.WindowFunctionOrBuilder
    • setSorts

      public Expression.WindowFunction.Builder setSorts(int index, SortField value)
       If specified, the records that are part of the window defined by
       upper_bound and lower_bound 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, and is only allowed
       if the window function is defined to support sorting.
       
      repeated .substrait.SortField sorts = 3;
    • setSorts

      public Expression.WindowFunction.Builder setSorts(int index, SortField.Builder builderForValue)
       If specified, the records that are part of the window defined by
       upper_bound and lower_bound 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, and is only allowed
       if the window function is defined to support sorting.
       
      repeated .substrait.SortField sorts = 3;
    • addSorts

       If specified, the records that are part of the window defined by
       upper_bound and lower_bound 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, and is only allowed
       if the window function is defined to support sorting.
       
      repeated .substrait.SortField sorts = 3;
    • addSorts

      public Expression.WindowFunction.Builder addSorts(int index, SortField value)
       If specified, the records that are part of the window defined by
       upper_bound and lower_bound 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, and is only allowed
       if the window function is defined to support sorting.
       
      repeated .substrait.SortField sorts = 3;
    • addSorts

      public Expression.WindowFunction.Builder addSorts(SortField.Builder builderForValue)
       If specified, the records that are part of the window defined by
       upper_bound and lower_bound 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, and is only allowed
       if the window function is defined to support sorting.
       
      repeated .substrait.SortField sorts = 3;
    • addSorts

      public Expression.WindowFunction.Builder addSorts(int index, SortField.Builder builderForValue)
       If specified, the records that are part of the window defined by
       upper_bound and lower_bound 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, and is only allowed
       if the window function is defined to support sorting.
       
      repeated .substrait.SortField sorts = 3;
    • addAllSorts

      public Expression.WindowFunction.Builder addAllSorts(Iterable<? extends SortField> values)
       If specified, the records that are part of the window defined by
       upper_bound and lower_bound 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, and is only allowed
       if the window function is defined to support sorting.
       
      repeated .substrait.SortField sorts = 3;
    • clearSorts

      public Expression.WindowFunction.Builder clearSorts()
       If specified, the records that are part of the window defined by
       upper_bound and lower_bound 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, and is only allowed
       if the window function is defined to support sorting.
       
      repeated .substrait.SortField sorts = 3;
    • removeSorts

      public Expression.WindowFunction.Builder removeSorts(int index)
       If specified, the records that are part of the window defined by
       upper_bound and lower_bound 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, and is only allowed
       if the window function is defined to support sorting.
       
      repeated .substrait.SortField sorts = 3;
    • getSortsBuilder

      public SortField.Builder getSortsBuilder(int index)
       If specified, the records that are part of the window defined by
       upper_bound and lower_bound 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, and is only allowed
       if the window function is defined to support sorting.
       
      repeated .substrait.SortField sorts = 3;
    • getSortsOrBuilder

      public SortFieldOrBuilder getSortsOrBuilder(int index)
       If specified, the records that are part of the window defined by
       upper_bound and lower_bound 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, and is only allowed
       if the window function is defined to support sorting.
       
      repeated .substrait.SortField sorts = 3;
      Specified by:
      getSortsOrBuilder in interface Expression.WindowFunctionOrBuilder
    • getSortsOrBuilderList

      public List<? extends SortFieldOrBuilder> getSortsOrBuilderList()
       If specified, the records that are part of the window defined by
       upper_bound and lower_bound 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, and is only allowed
       if the window function is defined to support sorting.
       
      repeated .substrait.SortField sorts = 3;
      Specified by:
      getSortsOrBuilderList in interface Expression.WindowFunctionOrBuilder
    • addSortsBuilder

      public SortField.Builder addSortsBuilder()
       If specified, the records that are part of the window defined by
       upper_bound and lower_bound 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, and is only allowed
       if the window function is defined to support sorting.
       
      repeated .substrait.SortField sorts = 3;
    • addSortsBuilder

      public SortField.Builder addSortsBuilder(int index)
       If specified, the records that are part of the window defined by
       upper_bound and lower_bound 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, and is only allowed
       if the window function is defined to support sorting.
       
      repeated .substrait.SortField sorts = 3;
    • getSortsBuilderList

      public List<SortField.Builder> getSortsBuilderList()
       If specified, the records that are part of the window defined by
       upper_bound and lower_bound 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, and is only allowed
       if the window function is defined to support sorting.
       
      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 = 10;
      Specified by:
      getInvocationValue in interface Expression.WindowFunctionOrBuilder
      Returns:
      The enum numeric value on the wire for invocation.
    • setInvocationValue

      public Expression.WindowFunction.Builder setInvocationValue(int value)
       Specifies whether equivalent records are merged before being aggregated.
       Optional, defaults to AGGREGATION_INVOCATION_ALL.
       
      .substrait.AggregateFunction.AggregationInvocation invocation = 10;
      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 = 10;
      Specified by:
      getInvocation in interface Expression.WindowFunctionOrBuilder
      Returns:
      The invocation.
    • setInvocation

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

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

      public List<Expression> getPartitionsList()
       When one or more partition expressions are specified, two records are
       considered to be in the same partition if and only if these expressions
       yield an equal record of values for both. When computing the window
       function, only the subset of records within the bounds that are also in
       the same partition as the current record are aggregated.
       
      repeated .substrait.Expression partitions = 2;
      Specified by:
      getPartitionsList in interface Expression.WindowFunctionOrBuilder
    • getPartitionsCount

      public int getPartitionsCount()
       When one or more partition expressions are specified, two records are
       considered to be in the same partition if and only if these expressions
       yield an equal record of values for both. When computing the window
       function, only the subset of records within the bounds that are also in
       the same partition as the current record are aggregated.
       
      repeated .substrait.Expression partitions = 2;
      Specified by:
      getPartitionsCount in interface Expression.WindowFunctionOrBuilder
    • getPartitions

      public Expression getPartitions(int index)
       When one or more partition expressions are specified, two records are
       considered to be in the same partition if and only if these expressions
       yield an equal record of values for both. When computing the window
       function, only the subset of records within the bounds that are also in
       the same partition as the current record are aggregated.
       
      repeated .substrait.Expression partitions = 2;
      Specified by:
      getPartitions in interface Expression.WindowFunctionOrBuilder
    • setPartitions

      public Expression.WindowFunction.Builder setPartitions(int index, Expression value)
       When one or more partition expressions are specified, two records are
       considered to be in the same partition if and only if these expressions
       yield an equal record of values for both. When computing the window
       function, only the subset of records within the bounds that are also in
       the same partition as the current record are aggregated.
       
      repeated .substrait.Expression partitions = 2;
    • setPartitions

      public Expression.WindowFunction.Builder setPartitions(int index, Expression.Builder builderForValue)
       When one or more partition expressions are specified, two records are
       considered to be in the same partition if and only if these expressions
       yield an equal record of values for both. When computing the window
       function, only the subset of records within the bounds that are also in
       the same partition as the current record are aggregated.
       
      repeated .substrait.Expression partitions = 2;
    • addPartitions

      public Expression.WindowFunction.Builder addPartitions(Expression value)
       When one or more partition expressions are specified, two records are
       considered to be in the same partition if and only if these expressions
       yield an equal record of values for both. When computing the window
       function, only the subset of records within the bounds that are also in
       the same partition as the current record are aggregated.
       
      repeated .substrait.Expression partitions = 2;
    • addPartitions

      public Expression.WindowFunction.Builder addPartitions(int index, Expression value)
       When one or more partition expressions are specified, two records are
       considered to be in the same partition if and only if these expressions
       yield an equal record of values for both. When computing the window
       function, only the subset of records within the bounds that are also in
       the same partition as the current record are aggregated.
       
      repeated .substrait.Expression partitions = 2;
    • addPartitions

      public Expression.WindowFunction.Builder addPartitions(Expression.Builder builderForValue)
       When one or more partition expressions are specified, two records are
       considered to be in the same partition if and only if these expressions
       yield an equal record of values for both. When computing the window
       function, only the subset of records within the bounds that are also in
       the same partition as the current record are aggregated.
       
      repeated .substrait.Expression partitions = 2;
    • addPartitions

      public Expression.WindowFunction.Builder addPartitions(int index, Expression.Builder builderForValue)
       When one or more partition expressions are specified, two records are
       considered to be in the same partition if and only if these expressions
       yield an equal record of values for both. When computing the window
       function, only the subset of records within the bounds that are also in
       the same partition as the current record are aggregated.
       
      repeated .substrait.Expression partitions = 2;
    • addAllPartitions

      public Expression.WindowFunction.Builder addAllPartitions(Iterable<? extends Expression> values)
       When one or more partition expressions are specified, two records are
       considered to be in the same partition if and only if these expressions
       yield an equal record of values for both. When computing the window
       function, only the subset of records within the bounds that are also in
       the same partition as the current record are aggregated.
       
      repeated .substrait.Expression partitions = 2;
    • clearPartitions

      public Expression.WindowFunction.Builder clearPartitions()
       When one or more partition expressions are specified, two records are
       considered to be in the same partition if and only if these expressions
       yield an equal record of values for both. When computing the window
       function, only the subset of records within the bounds that are also in
       the same partition as the current record are aggregated.
       
      repeated .substrait.Expression partitions = 2;
    • removePartitions

      public Expression.WindowFunction.Builder removePartitions(int index)
       When one or more partition expressions are specified, two records are
       considered to be in the same partition if and only if these expressions
       yield an equal record of values for both. When computing the window
       function, only the subset of records within the bounds that are also in
       the same partition as the current record are aggregated.
       
      repeated .substrait.Expression partitions = 2;
    • getPartitionsBuilder

      public Expression.Builder getPartitionsBuilder(int index)
       When one or more partition expressions are specified, two records are
       considered to be in the same partition if and only if these expressions
       yield an equal record of values for both. When computing the window
       function, only the subset of records within the bounds that are also in
       the same partition as the current record are aggregated.
       
      repeated .substrait.Expression partitions = 2;
    • getPartitionsOrBuilder

      public ExpressionOrBuilder getPartitionsOrBuilder(int index)
       When one or more partition expressions are specified, two records are
       considered to be in the same partition if and only if these expressions
       yield an equal record of values for both. When computing the window
       function, only the subset of records within the bounds that are also in
       the same partition as the current record are aggregated.
       
      repeated .substrait.Expression partitions = 2;
      Specified by:
      getPartitionsOrBuilder in interface Expression.WindowFunctionOrBuilder
    • getPartitionsOrBuilderList

      public List<? extends ExpressionOrBuilder> getPartitionsOrBuilderList()
       When one or more partition expressions are specified, two records are
       considered to be in the same partition if and only if these expressions
       yield an equal record of values for both. When computing the window
       function, only the subset of records within the bounds that are also in
       the same partition as the current record are aggregated.
       
      repeated .substrait.Expression partitions = 2;
      Specified by:
      getPartitionsOrBuilderList in interface Expression.WindowFunctionOrBuilder
    • addPartitionsBuilder

      public Expression.Builder addPartitionsBuilder()
       When one or more partition expressions are specified, two records are
       considered to be in the same partition if and only if these expressions
       yield an equal record of values for both. When computing the window
       function, only the subset of records within the bounds that are also in
       the same partition as the current record are aggregated.
       
      repeated .substrait.Expression partitions = 2;
    • addPartitionsBuilder

      public Expression.Builder addPartitionsBuilder(int index)
       When one or more partition expressions are specified, two records are
       considered to be in the same partition if and only if these expressions
       yield an equal record of values for both. When computing the window
       function, only the subset of records within the bounds that are also in
       the same partition as the current record are aggregated.
       
      repeated .substrait.Expression partitions = 2;
    • getPartitionsBuilderList

      public List<Expression.Builder> getPartitionsBuilderList()
       When one or more partition expressions are specified, two records are
       considered to be in the same partition if and only if these expressions
       yield an equal record of values for both. When computing the window
       function, only the subset of records within the bounds that are also in
       the same partition as the current record are aggregated.
       
      repeated .substrait.Expression partitions = 2;
    • getBoundsTypeValue

      public int getBoundsTypeValue()
       Defines the bounds type: ROWS, RANGE
       
      .substrait.Expression.WindowFunction.BoundsType bounds_type = 12;
      Specified by:
      getBoundsTypeValue in interface Expression.WindowFunctionOrBuilder
      Returns:
      The enum numeric value on the wire for boundsType.
    • setBoundsTypeValue

      public Expression.WindowFunction.Builder setBoundsTypeValue(int value)
       Defines the bounds type: ROWS, RANGE
       
      .substrait.Expression.WindowFunction.BoundsType bounds_type = 12;
      Parameters:
      value - The enum numeric value on the wire for boundsType to set.
      Returns:
      This builder for chaining.
    • getBoundsType

      public Expression.WindowFunction.BoundsType getBoundsType()
       Defines the bounds type: ROWS, RANGE
       
      .substrait.Expression.WindowFunction.BoundsType bounds_type = 12;
      Specified by:
      getBoundsType in interface Expression.WindowFunctionOrBuilder
      Returns:
      The boundsType.
    • setBoundsType

       Defines the bounds type: ROWS, RANGE
       
      .substrait.Expression.WindowFunction.BoundsType bounds_type = 12;
      Parameters:
      value - The boundsType to set.
      Returns:
      This builder for chaining.
    • clearBoundsType

      public Expression.WindowFunction.Builder clearBoundsType()
       Defines the bounds type: ROWS, RANGE
       
      .substrait.Expression.WindowFunction.BoundsType bounds_type = 12;
      Returns:
      This builder for chaining.
    • hasLowerBound

      public boolean hasLowerBound()
       Defines the record relative to the current record from which the window
       extends. The bound is inclusive. If the lower bound indexes a record
       greater than the upper bound, TODO (null range/no records passed?
       wrapping around as if lower/upper were swapped? error? null?).
       Optional; defaults to the start of the partition.
       
      .substrait.Expression.WindowFunction.Bound lower_bound = 5;
      Specified by:
      hasLowerBound in interface Expression.WindowFunctionOrBuilder
      Returns:
      Whether the lowerBound field is set.
    • getLowerBound

      public Expression.WindowFunction.Bound getLowerBound()
       Defines the record relative to the current record from which the window
       extends. The bound is inclusive. If the lower bound indexes a record
       greater than the upper bound, TODO (null range/no records passed?
       wrapping around as if lower/upper were swapped? error? null?).
       Optional; defaults to the start of the partition.
       
      .substrait.Expression.WindowFunction.Bound lower_bound = 5;
      Specified by:
      getLowerBound in interface Expression.WindowFunctionOrBuilder
      Returns:
      The lowerBound.
    • setLowerBound

       Defines the record relative to the current record from which the window
       extends. The bound is inclusive. If the lower bound indexes a record
       greater than the upper bound, TODO (null range/no records passed?
       wrapping around as if lower/upper were swapped? error? null?).
       Optional; defaults to the start of the partition.
       
      .substrait.Expression.WindowFunction.Bound lower_bound = 5;
    • setLowerBound

       Defines the record relative to the current record from which the window
       extends. The bound is inclusive. If the lower bound indexes a record
       greater than the upper bound, TODO (null range/no records passed?
       wrapping around as if lower/upper were swapped? error? null?).
       Optional; defaults to the start of the partition.
       
      .substrait.Expression.WindowFunction.Bound lower_bound = 5;
    • mergeLowerBound

       Defines the record relative to the current record from which the window
       extends. The bound is inclusive. If the lower bound indexes a record
       greater than the upper bound, TODO (null range/no records passed?
       wrapping around as if lower/upper were swapped? error? null?).
       Optional; defaults to the start of the partition.
       
      .substrait.Expression.WindowFunction.Bound lower_bound = 5;
    • clearLowerBound

      public Expression.WindowFunction.Builder clearLowerBound()
       Defines the record relative to the current record from which the window
       extends. The bound is inclusive. If the lower bound indexes a record
       greater than the upper bound, TODO (null range/no records passed?
       wrapping around as if lower/upper were swapped? error? null?).
       Optional; defaults to the start of the partition.
       
      .substrait.Expression.WindowFunction.Bound lower_bound = 5;
    • getLowerBoundBuilder

      public Expression.WindowFunction.Bound.Builder getLowerBoundBuilder()
       Defines the record relative to the current record from which the window
       extends. The bound is inclusive. If the lower bound indexes a record
       greater than the upper bound, TODO (null range/no records passed?
       wrapping around as if lower/upper were swapped? error? null?).
       Optional; defaults to the start of the partition.
       
      .substrait.Expression.WindowFunction.Bound lower_bound = 5;
    • getLowerBoundOrBuilder

      public Expression.WindowFunction.BoundOrBuilder getLowerBoundOrBuilder()
       Defines the record relative to the current record from which the window
       extends. The bound is inclusive. If the lower bound indexes a record
       greater than the upper bound, TODO (null range/no records passed?
       wrapping around as if lower/upper were swapped? error? null?).
       Optional; defaults to the start of the partition.
       
      .substrait.Expression.WindowFunction.Bound lower_bound = 5;
      Specified by:
      getLowerBoundOrBuilder in interface Expression.WindowFunctionOrBuilder
    • hasUpperBound

      public boolean hasUpperBound()
       Defines the record relative to the current record up to which the window
       extends. The bound is inclusive. If the upper bound indexes a record
       less than the lower bound, TODO (null range/no records passed?
       wrapping around as if lower/upper were swapped? error? null?).
       Optional; defaults to the end of the partition.
       
      .substrait.Expression.WindowFunction.Bound upper_bound = 4;
      Specified by:
      hasUpperBound in interface Expression.WindowFunctionOrBuilder
      Returns:
      Whether the upperBound field is set.
    • getUpperBound

      public Expression.WindowFunction.Bound getUpperBound()
       Defines the record relative to the current record up to which the window
       extends. The bound is inclusive. If the upper bound indexes a record
       less than the lower bound, TODO (null range/no records passed?
       wrapping around as if lower/upper were swapped? error? null?).
       Optional; defaults to the end of the partition.
       
      .substrait.Expression.WindowFunction.Bound upper_bound = 4;
      Specified by:
      getUpperBound in interface Expression.WindowFunctionOrBuilder
      Returns:
      The upperBound.
    • setUpperBound

       Defines the record relative to the current record up to which the window
       extends. The bound is inclusive. If the upper bound indexes a record
       less than the lower bound, TODO (null range/no records passed?
       wrapping around as if lower/upper were swapped? error? null?).
       Optional; defaults to the end of the partition.
       
      .substrait.Expression.WindowFunction.Bound upper_bound = 4;
    • setUpperBound

       Defines the record relative to the current record up to which the window
       extends. The bound is inclusive. If the upper bound indexes a record
       less than the lower bound, TODO (null range/no records passed?
       wrapping around as if lower/upper were swapped? error? null?).
       Optional; defaults to the end of the partition.
       
      .substrait.Expression.WindowFunction.Bound upper_bound = 4;
    • mergeUpperBound

       Defines the record relative to the current record up to which the window
       extends. The bound is inclusive. If the upper bound indexes a record
       less than the lower bound, TODO (null range/no records passed?
       wrapping around as if lower/upper were swapped? error? null?).
       Optional; defaults to the end of the partition.
       
      .substrait.Expression.WindowFunction.Bound upper_bound = 4;
    • clearUpperBound

      public Expression.WindowFunction.Builder clearUpperBound()
       Defines the record relative to the current record up to which the window
       extends. The bound is inclusive. If the upper bound indexes a record
       less than the lower bound, TODO (null range/no records passed?
       wrapping around as if lower/upper were swapped? error? null?).
       Optional; defaults to the end of the partition.
       
      .substrait.Expression.WindowFunction.Bound upper_bound = 4;
    • getUpperBoundBuilder

      public Expression.WindowFunction.Bound.Builder getUpperBoundBuilder()
       Defines the record relative to the current record up to which the window
       extends. The bound is inclusive. If the upper bound indexes a record
       less than the lower bound, TODO (null range/no records passed?
       wrapping around as if lower/upper were swapped? error? null?).
       Optional; defaults to the end of the partition.
       
      .substrait.Expression.WindowFunction.Bound upper_bound = 4;
    • getUpperBoundOrBuilder

      public Expression.WindowFunction.BoundOrBuilder getUpperBoundOrBuilder()
       Defines the record relative to the current record up to which the window
       extends. The bound is inclusive. If the upper bound indexes a record
       less than the lower bound, TODO (null range/no records passed?
       wrapping around as if lower/upper were swapped? error? null?).
       Optional; defaults to the end of the partition.
       
      .substrait.Expression.WindowFunction.Bound upper_bound = 4;
      Specified by:
      getUpperBoundOrBuilder in interface Expression.WindowFunctionOrBuilder
    • getArgsList

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public final Expression.WindowFunction.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<Expression.WindowFunction.Builder>
    • mergeUnknownFields

      public final Expression.WindowFunction.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<Expression.WindowFunction.Builder>