Package io.substrait.proto
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 Summary
Modifier and TypeMethodDescriptionaddAllArgs(Iterable<? extends Expression> values) Deprecated.addAllArguments(Iterable<? extends FunctionArgument> values) The arguments to be bound to the function.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.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.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.addArgs(int index, Expression value) Deprecated.addArgs(int index, Expression.Builder builderForValue) Deprecated.addArgs(Expression value) Deprecated.addArgs(Expression.Builder builderForValue) Deprecated.Deprecated.addArgsBuilder(int index) Deprecated.addArguments(int index, FunctionArgument value) The arguments to be bound to the function.addArguments(int index, FunctionArgument.Builder builderForValue) The arguments to be bound to the function.addArguments(FunctionArgument value) The arguments to be bound to the function.addArguments(FunctionArgument.Builder builderForValue) The arguments to be bound to the function.The arguments to be bound to the function.addArgumentsBuilder(int index) The arguments to be bound to the function.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.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.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.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.Options to specify behavior for corner cases, or leave behavior unspecified if the consumer does not need specific behavior in these cases.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.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.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.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.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 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.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.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object 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.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.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.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.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.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.build()clear()Deprecated.The arguments to be bound to the function.Defines the bounds type: ROWS, RANGEclearField(com.google.protobuf.Descriptors.FieldDescriptor field) Points to a function_anchor defined in this plan.Specifies whether equivalent records are merged before being aggregated.Defines the record relative to the current record from which the window extends.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Options to specify behavior for corner cases, or leave behavior unspecified if the consumer does not need specific behavior in these cases.Must be set to the return type of the function, exactly as derived using the declaration in the extension.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.Describes which part of the window function to perform within the context of distributed algorithms.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.Defines the record relative to the current record up to which the window extends.clone()getArgs(int index) Deprecated.getArgsBuilder(int index) Deprecated.Deprecated.intDeprecated.Deprecated.getArgsOrBuilder(int index) Deprecated.List<? extends ExpressionOrBuilder>Deprecated.getArguments(int index) The arguments to be bound to the function.getArgumentsBuilder(int index) The arguments to be bound to the function.The arguments to be bound to the function.intThe arguments to be bound to the function.The arguments to be bound to the function.getArgumentsOrBuilder(int index) The arguments to be bound to the function.List<? extends FunctionArgumentOrBuilder>The arguments to be bound to the function.Defines the bounds type: ROWS, RANGEintDefines the bounds type: ROWS, RANGEstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorintPoints to a function_anchor defined in this plan.Specifies whether equivalent records are merged before being aggregated.intSpecifies whether equivalent records are merged before being aggregated.Defines the record relative to the current record from which the window extends.Defines the record relative to the current record from which the window extends.Defines the record relative to the current record from which the window extends.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.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.Options to specify behavior for corner cases, or leave behavior unspecified if the consumer does not need specific behavior in these cases.intOptions to specify behavior for corner cases, or leave behavior unspecified if the consumer does not need specific behavior in these cases.Options to specify behavior for corner cases, or leave behavior unspecified if the consumer does not need specific behavior in these cases.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.List<? extends FunctionOptionOrBuilder>Options to specify behavior for corner cases, or leave behavior unspecified if the consumer does not need specific behavior in these cases.Must be set to the return type of the function, exactly as derived using the declaration in the extension.Must be set to the return type of the function, exactly as derived using the declaration in the extension.Must be set to the return type of the function, exactly as derived using the declaration in the extension.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.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 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.intWhen 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 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.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.List<? extends ExpressionOrBuilder>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.getPhase()Describes which part of the window function to perform within the context of distributed algorithms.intDescribes which part of the window function to perform within the context of distributed algorithms.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.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.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.intIf 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.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.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.List<? extends SortFieldOrBuilder>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.Defines the record relative to the current record up to which the window extends.Defines the record relative to the current record up to which the window extends.Defines the record relative to the current record up to which the window extends.booleanDefines the record relative to the current record from which the window extends.booleanMust be set to the return type of the function, exactly as derived using the declaration in the extension.booleanDefines the record relative to the current record up to which the window extends.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Defines the record relative to the current record from which the window extends.mergeOutputType(Type value) Must be set to the return type of the function, exactly as derived using the declaration in the extension.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Defines the record relative to the current record up to which the window extends.removeArgs(int index) Deprecated.removeArguments(int index) The arguments to be bound to the function.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.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.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.setArgs(int index, Expression value) Deprecated.setArgs(int index, Expression.Builder builderForValue) Deprecated.setArguments(int index, FunctionArgument value) The arguments to be bound to the function.setArguments(int index, FunctionArgument.Builder builderForValue) The arguments to be bound to the function.Defines the bounds type: ROWS, RANGEsetBoundsTypeValue(int value) Defines the bounds type: ROWS, RANGEsetFunctionReference(int value) Points to a function_anchor defined in this plan.Specifies whether equivalent records are merged before being aggregated.setInvocationValue(int value) Specifies whether equivalent records are merged before being aggregated.Defines the record relative to the current record from which the window extends.setLowerBound(Expression.WindowFunction.Bound.Builder builderForValue) Defines the record relative to the current record from which the window extends.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.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.setOutputType(Type value) Must be set to the return type of the function, exactly as derived using the declaration in the extension.setOutputType(Type.Builder builderForValue) Must be set to the return type of the function, exactly as derived using the declaration in the extension.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.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.setPhase(AggregationPhase value) Describes which part of the window function to perform within the context of distributed algorithms.setPhaseValue(int value) Describes which part of the window function to perform within the context of distributed algorithms.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object 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.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.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Defines the record relative to the current record up to which the window extends.setUpperBound(Expression.WindowFunction.Bound.Builder builderForValue) Defines the record relative to the current record up to which the window extends.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Expression.WindowFunction.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Expression.WindowFunction.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Expression.WindowFunction.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Expression.WindowFunction.Builder>
-
setField
public Expression.WindowFunction.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Expression.WindowFunction.Builder>
-
clearField
public Expression.WindowFunction.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Expression.WindowFunction.Builder>
-
clearOneof
public Expression.WindowFunction.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Expression.WindowFunction.Builder>
-
addRepeatedField
public Expression.WindowFunction.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Expression.WindowFunction.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Expression.WindowFunction.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.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:
getFunctionReferencein interfaceExpression.WindowFunctionOrBuilder- Returns:
- The functionReference.
-
setFunctionReference
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
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
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:
getArgumentsListin interfaceExpression.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:
getArgumentsCountin interfaceExpression.WindowFunctionOrBuilder
-
getArguments
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:
getArgumentsin interfaceExpression.WindowFunctionOrBuilder
-
setArguments
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
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.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
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
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
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
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:
getArgumentsOrBuilderin interfaceExpression.WindowFunctionOrBuilder
-
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:
getArgumentsOrBuilderListin interfaceExpression.WindowFunctionOrBuilder
-
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
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
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
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:
getOptionsListin interfaceExpression.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:
getOptionsCountin interfaceExpression.WindowFunctionOrBuilder
-
getOptions
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:
getOptionsin interfaceExpression.WindowFunctionOrBuilder
-
setOptions
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
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.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
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
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
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
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
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:
getOptionsOrBuilderin interfaceExpression.WindowFunctionOrBuilder
-
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:
getOptionsOrBuilderListin interfaceExpression.WindowFunctionOrBuilder
-
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
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
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:
hasOutputTypein interfaceExpression.WindowFunctionOrBuilder- Returns:
- Whether the outputType field is set.
-
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:
getOutputTypein interfaceExpression.WindowFunctionOrBuilder- Returns:
- The outputType.
-
setOutputType
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
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
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
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
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
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:
getOutputTypeOrBuilderin interfaceExpression.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:
getPhaseValuein interfaceExpression.WindowFunctionOrBuilder- Returns:
- The enum numeric value on the wire for phase.
-
setPhaseValue
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
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:
getPhasein interfaceExpression.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
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
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:
getSortsListin interfaceExpression.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:
getSortsCountin interfaceExpression.WindowFunctionOrBuilder
-
getSorts
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:
getSortsin interfaceExpression.WindowFunctionOrBuilder
-
setSorts
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
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
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
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
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
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
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
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
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:
getSortsOrBuilderin interfaceExpression.WindowFunctionOrBuilder
-
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:
getSortsOrBuilderListin interfaceExpression.WindowFunctionOrBuilder
-
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
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
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:
getInvocationValuein interfaceExpression.WindowFunctionOrBuilder- Returns:
- The enum numeric value on the wire for invocation.
-
setInvocationValue
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:
getInvocationin interfaceExpression.WindowFunctionOrBuilder- Returns:
- The invocation.
-
setInvocation
public Expression.WindowFunction.Builder setInvocation(AggregateFunction.AggregationInvocation value) 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
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
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:
getPartitionsListin interfaceExpression.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:
getPartitionsCountin interfaceExpression.WindowFunctionOrBuilder
-
getPartitions
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:
getPartitionsin interfaceExpression.WindowFunctionOrBuilder
-
setPartitions
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
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
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
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
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
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
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
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
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:
getPartitionsOrBuilderin interfaceExpression.WindowFunctionOrBuilder
-
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:
getPartitionsOrBuilderListin interfaceExpression.WindowFunctionOrBuilder
-
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
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
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:
getBoundsTypeValuein interfaceExpression.WindowFunctionOrBuilder- Returns:
- The enum numeric value on the wire for boundsType.
-
setBoundsTypeValue
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
Defines the bounds type: ROWS, RANGE
.substrait.Expression.WindowFunction.BoundsType bounds_type = 12;- Specified by:
getBoundsTypein interfaceExpression.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
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:
hasLowerBoundin interfaceExpression.WindowFunctionOrBuilder- Returns:
- Whether the lowerBound field is set.
-
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:
getLowerBoundin interfaceExpression.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
public Expression.WindowFunction.Builder setLowerBound(Expression.WindowFunction.Bound.Builder builderForValue) 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
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
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
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:
getLowerBoundOrBuilderin interfaceExpression.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:
hasUpperBoundin interfaceExpression.WindowFunctionOrBuilder- Returns:
- Whether the upperBound field is set.
-
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:
getUpperBoundin interfaceExpression.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
public Expression.WindowFunction.Builder setUpperBound(Expression.WindowFunction.Bound.Builder builderForValue) 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
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
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
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:
getUpperBoundOrBuilderin interfaceExpression.WindowFunctionOrBuilder
-
getArgsList
Deprecated.Deprecated; use arguments instead.
repeated .substrait.Expression args = 8 [deprecated = true];- Specified by:
getArgsListin interfaceExpression.WindowFunctionOrBuilder
-
getArgsCount
Deprecated.Deprecated; use arguments instead.
repeated .substrait.Expression args = 8 [deprecated = true];- Specified by:
getArgsCountin interfaceExpression.WindowFunctionOrBuilder
-
getArgs
Deprecated.Deprecated; use arguments instead.
repeated .substrait.Expression args = 8 [deprecated = true];- Specified by:
getArgsin interfaceExpression.WindowFunctionOrBuilder
-
setArgs
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.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.Deprecated; use arguments instead.
repeated .substrait.Expression args = 8 [deprecated = true]; -
getArgsBuilder
Deprecated.Deprecated; use arguments instead.
repeated .substrait.Expression args = 8 [deprecated = true]; -
getArgsOrBuilder
Deprecated.Deprecated; use arguments instead.
repeated .substrait.Expression args = 8 [deprecated = true];- Specified by:
getArgsOrBuilderin interfaceExpression.WindowFunctionOrBuilder
-
getArgsOrBuilderList
Deprecated.Deprecated; use arguments instead.
repeated .substrait.Expression args = 8 [deprecated = true];- Specified by:
getArgsOrBuilderListin interfaceExpression.WindowFunctionOrBuilder
-
addArgsBuilder
Deprecated.Deprecated; use arguments instead.
repeated .substrait.Expression args = 8 [deprecated = true]; -
addArgsBuilder
Deprecated.Deprecated; use arguments instead.
repeated .substrait.Expression args = 8 [deprecated = true]; -
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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Expression.WindowFunction.Builder>
-
mergeUnknownFields
public final Expression.WindowFunction.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Expression.WindowFunction.Builder>
-