Package io.substrait.proto
Class AggregateFunction.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<AggregateFunction.Builder>
io.substrait.proto.AggregateFunction.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,AggregateFunctionOrBuilder,Cloneable
- Enclosing class:
- AggregateFunction
public static final class AggregateFunction.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<AggregateFunction.Builder>
implements AggregateFunctionOrBuilder
An aggregate function.Protobuf type
substrait.AggregateFunction-
Method 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.addAllSorts(Iterable<? extends SortField> values) If specified, the aggregated records 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.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) If specified, the aggregated records are ordered according to this list before they are aggregated.addSorts(int index, SortField.Builder builderForValue) If specified, the aggregated records are ordered according to this list before they are aggregated.If specified, the aggregated records are ordered according to this list before they are aggregated.addSorts(SortField.Builder builderForValue) If specified, the aggregated records are ordered according to this list before they are aggregated.If specified, the aggregated records are ordered according to this list before they are aggregated.addSortsBuilder(int index) If specified, the aggregated records are ordered according to this list before they are aggregated.build()clear()Deprecated.The arguments to be bound to the function.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Points to a function_anchor defined in this plan, which must refer to an aggregate function in the associated YAML file.Specifies whether equivalent records are merged before being aggregated.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.Describes which part of the aggregation to perform within the context of distributed algorithms.If specified, the aggregated records are ordered according to this list before they are aggregated.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.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorintPoints to a function_anchor defined in this plan, which must refer to an aggregate function in the associated YAML file.Specifies whether equivalent records are merged before being aggregated.intSpecifies whether equivalent records are merged before being aggregated.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.getPhase()Describes which part of the aggregation to perform within the context of distributed algorithms.intDescribes which part of the aggregation to perform within the context of distributed algorithms.getSorts(int index) If specified, the aggregated records are ordered according to this list before they are aggregated.getSortsBuilder(int index) If specified, the aggregated records are ordered according to this list before they are aggregated.If specified, the aggregated records are ordered according to this list before they are aggregated.intIf specified, the aggregated records are ordered according to this list before they are aggregated.If specified, the aggregated records are ordered according to this list before they are aggregated.getSortsOrBuilder(int index) If specified, the aggregated records are ordered according to this list before they are aggregated.List<? extends SortFieldOrBuilder>If specified, the aggregated records are ordered according to this list before they are aggregated.booleanMust be set to the return type of the function, exactly as derived using the declaration in the extension.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(AggregateFunction other) 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) 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.removeSorts(int index) If specified, the aggregated records 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.setFunctionReference(int value) Points to a function_anchor defined in this plan, which must refer to an aggregate function in the associated YAML file.Specifies whether equivalent records are merged before being aggregated.setInvocationValue(int value) Specifies whether equivalent records are merged before being aggregated.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.setPhase(AggregationPhase value) Describes which part of the aggregation to perform within the context of distributed algorithms.setPhaseValue(int value) Describes which part of the aggregation to perform within the context of distributed algorithms.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) If specified, the aggregated records are ordered according to this list before they are aggregated.setSorts(int index, SortField.Builder builderForValue) If specified, the aggregated records are ordered according to this list before they are aggregated.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) 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<AggregateFunction.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<AggregateFunction.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<AggregateFunction.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<AggregateFunction.Builder>
-
setField
public AggregateFunction.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<AggregateFunction.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AggregateFunction.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<AggregateFunction.Builder>
-
setRepeatedField
public AggregateFunction.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<AggregateFunction.Builder>
-
addRepeatedField
public AggregateFunction.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<AggregateFunction.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AggregateFunction.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<AggregateFunction.Builder>
-
mergeFrom
public AggregateFunction.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AggregateFunction.Builder>- Throws:
IOException
-
getFunctionReference
public int getFunctionReference()Points to a function_anchor defined in this plan, which must refer to an aggregate function in the associated YAML file. Required; 0 is considered to be a valid anchor/reference.
uint32 function_reference = 1;- Specified by:
getFunctionReferencein interfaceAggregateFunctionOrBuilder- Returns:
- The functionReference.
-
setFunctionReference
Points to a function_anchor defined in this plan, which must refer to an aggregate function in the associated YAML file. Required; 0 is considered to be a valid anchor/reference.
uint32 function_reference = 1;- Parameters:
value- The functionReference to set.- Returns:
- This builder for chaining.
-
clearFunctionReference
Points to a function_anchor defined in this plan, which must refer to an aggregate function in the associated YAML file. Required; 0 is considered to be a valid anchor/reference.
uint32 function_reference = 1;- Returns:
- This builder for chaining.
-
getArgumentsList
The arguments to be bound to the function. This must have exactly the number of arguments specified in the function definition, and the argument types must also match exactly: - Value arguments must be bound using FunctionArgument.value, and the expression in that must yield a value of a type that a function overload is defined for. - Type arguments must be bound using FunctionArgument.type, and a function overload must be defined for that type. - Enum arguments must be bound using FunctionArgument.enum followed by Enum.specified, with a string that case-insensitively matches one of the allowed options. - Optional enum arguments must be bound using FunctionArgument.enum followed by either Enum.specified or Enum.unspecified. If specified, the string must case-insensitively match one of the allowed options.repeated .substrait.FunctionArgument arguments = 7;- Specified by:
getArgumentsListin interfaceAggregateFunctionOrBuilder
-
getArgumentsCount
public int getArgumentsCount()The arguments to be bound to the function. This must have exactly the number of arguments specified in the function definition, and the argument types must also match exactly: - Value arguments must be bound using FunctionArgument.value, and the expression in that must yield a value of a type that a function overload is defined for. - Type arguments must be bound using FunctionArgument.type, and a function overload must be defined for that type. - Enum arguments must be bound using FunctionArgument.enum followed by Enum.specified, with a string that case-insensitively matches one of the allowed options. - Optional enum arguments must be bound using FunctionArgument.enum followed by either Enum.specified or Enum.unspecified. If specified, the string must case-insensitively match one of the allowed options.repeated .substrait.FunctionArgument arguments = 7;- Specified by:
getArgumentsCountin interfaceAggregateFunctionOrBuilder
-
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. - Optional enum arguments must be bound using FunctionArgument.enum followed by either Enum.specified or Enum.unspecified. If specified, the string must case-insensitively match one of the allowed options.repeated .substrait.FunctionArgument arguments = 7;- Specified by:
getArgumentsin interfaceAggregateFunctionOrBuilder
-
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. - Optional enum arguments must be bound using FunctionArgument.enum followed by either Enum.specified or Enum.unspecified. If specified, the string must case-insensitively match one of the allowed options.repeated .substrait.FunctionArgument arguments = 7; -
setArguments
The arguments to be bound to the function. This must have exactly the number of arguments specified in the function definition, and the argument types must also match exactly: - Value arguments must be bound using FunctionArgument.value, and the expression in that must yield a value of a type that a function overload is defined for. - Type arguments must be bound using FunctionArgument.type, and a function overload must be defined for that type. - Enum arguments must be bound using FunctionArgument.enum followed by Enum.specified, with a string that case-insensitively matches one of the allowed options. - Optional enum arguments must be bound using FunctionArgument.enum followed by either Enum.specified or Enum.unspecified. If specified, the string must case-insensitively match one of the allowed options.repeated .substrait.FunctionArgument arguments = 7; -
addArguments
The arguments to be bound to the function. This must have exactly the number of arguments specified in the function definition, and the argument types must also match exactly: - Value arguments must be bound using FunctionArgument.value, and the expression in that must yield a value of a type that a function overload is defined for. - Type arguments must be bound using FunctionArgument.type, and a function overload must be defined for that type. - Enum arguments must be bound using FunctionArgument.enum followed by Enum.specified, with a string that case-insensitively matches one of the allowed options. - Optional enum arguments must be bound using FunctionArgument.enum followed by either Enum.specified or Enum.unspecified. If specified, the string must case-insensitively match one of the allowed options.repeated .substrait.FunctionArgument arguments = 7; -
addArguments
The arguments to be bound to the function. This must have exactly the number of arguments specified in the function definition, and the argument types must also match exactly: - Value arguments must be bound using FunctionArgument.value, and the expression in that must yield a value of a type that a function overload is defined for. - Type arguments must be bound using FunctionArgument.type, and a function overload must be defined for that type. - Enum arguments must be bound using FunctionArgument.enum followed by Enum.specified, with a string that case-insensitively matches one of the allowed options. - Optional enum arguments must be bound using FunctionArgument.enum followed by either Enum.specified or Enum.unspecified. If specified, the string must case-insensitively match one of the allowed options.repeated .substrait.FunctionArgument arguments = 7; -
addArguments
The arguments to be bound to the function. This must have exactly the number of arguments specified in the function definition, and the argument types must also match exactly: - Value arguments must be bound using FunctionArgument.value, and the expression in that must yield a value of a type that a function overload is defined for. - Type arguments must be bound using FunctionArgument.type, and a function overload must be defined for that type. - Enum arguments must be bound using FunctionArgument.enum followed by Enum.specified, with a string that case-insensitively matches one of the allowed options. - Optional enum arguments must be bound using FunctionArgument.enum followed by either Enum.specified or Enum.unspecified. If specified, the string must case-insensitively match one of the allowed options.repeated .substrait.FunctionArgument arguments = 7; -
addArguments
The arguments to be bound to the function. This must have exactly the number of arguments specified in the function definition, and the argument types must also match exactly: - Value arguments must be bound using FunctionArgument.value, and the expression in that must yield a value of a type that a function overload is defined for. - Type arguments must be bound using FunctionArgument.type, and a function overload must be defined for that type. - Enum arguments must be bound using FunctionArgument.enum followed by Enum.specified, with a string that case-insensitively matches one of the allowed options. - Optional enum arguments must be bound using FunctionArgument.enum followed by either Enum.specified or Enum.unspecified. If specified, the string must case-insensitively match one of the allowed options.repeated .substrait.FunctionArgument arguments = 7; -
addAllArguments
The arguments to be bound to the function. This must have exactly the number of arguments specified in the function definition, and the argument types must also match exactly: - Value arguments must be bound using FunctionArgument.value, and the expression in that must yield a value of a type that a function overload is defined for. - Type arguments must be bound using FunctionArgument.type, and a function overload must be defined for that type. - Enum arguments must be bound using FunctionArgument.enum followed by Enum.specified, with a string that case-insensitively matches one of the allowed options. - Optional enum arguments must be bound using FunctionArgument.enum followed by either Enum.specified or Enum.unspecified. If specified, the string must case-insensitively match one of the allowed options.repeated .substrait.FunctionArgument arguments = 7; -
clearArguments
The arguments to be bound to the function. This must have exactly the number of arguments specified in the function definition, and the argument types must also match exactly: - Value arguments must be bound using FunctionArgument.value, and the expression in that must yield a value of a type that a function overload is defined for. - Type arguments must be bound using FunctionArgument.type, and a function overload must be defined for that type. - Enum arguments must be bound using FunctionArgument.enum followed by Enum.specified, with a string that case-insensitively matches one of the allowed options. - Optional enum arguments must be bound using FunctionArgument.enum followed by either Enum.specified or Enum.unspecified. If specified, the string must case-insensitively match one of the allowed options.repeated .substrait.FunctionArgument arguments = 7; -
removeArguments
The arguments to be bound to the function. This must have exactly the number of arguments specified in the function definition, and the argument types must also match exactly: - Value arguments must be bound using FunctionArgument.value, and the expression in that must yield a value of a type that a function overload is defined for. - Type arguments must be bound using FunctionArgument.type, and a function overload must be defined for that type. - Enum arguments must be bound using FunctionArgument.enum followed by Enum.specified, with a string that case-insensitively matches one of the allowed options. - Optional enum arguments must be bound using FunctionArgument.enum followed by either Enum.specified or Enum.unspecified. If specified, the string must case-insensitively match one of the allowed options.repeated .substrait.FunctionArgument arguments = 7; -
getArgumentsBuilder
The arguments to be bound to the function. This must have exactly the number of arguments specified in the function definition, and the argument types must also match exactly: - Value arguments must be bound using FunctionArgument.value, and the expression in that must yield a value of a type that a function overload is defined for. - Type arguments must be bound using FunctionArgument.type, and a function overload must be defined for that type. - Enum arguments must be bound using FunctionArgument.enum followed by Enum.specified, with a string that case-insensitively matches one of the allowed options. - Optional enum arguments must be bound using FunctionArgument.enum followed by either Enum.specified or Enum.unspecified. If specified, the string must case-insensitively match one of the allowed options.repeated .substrait.FunctionArgument arguments = 7; -
getArgumentsOrBuilder
The arguments to be bound to the function. This must have exactly the number of arguments specified in the function definition, and the argument types must also match exactly: - Value arguments must be bound using FunctionArgument.value, and the expression in that must yield a value of a type that a function overload is defined for. - Type arguments must be bound using FunctionArgument.type, and a function overload must be defined for that type. - Enum arguments must be bound using FunctionArgument.enum followed by Enum.specified, with a string that case-insensitively matches one of the allowed options. - Optional enum arguments must be bound using FunctionArgument.enum followed by either Enum.specified or Enum.unspecified. If specified, the string must case-insensitively match one of the allowed options.repeated .substrait.FunctionArgument arguments = 7;- Specified by:
getArgumentsOrBuilderin interfaceAggregateFunctionOrBuilder
-
getArgumentsOrBuilderList
The arguments to be bound to the function. This must have exactly the number of arguments specified in the function definition, and the argument types must also match exactly: - Value arguments must be bound using FunctionArgument.value, and the expression in that must yield a value of a type that a function overload is defined for. - Type arguments must be bound using FunctionArgument.type, and a function overload must be defined for that type. - Enum arguments must be bound using FunctionArgument.enum followed by Enum.specified, with a string that case-insensitively matches one of the allowed options. - Optional enum arguments must be bound using FunctionArgument.enum followed by either Enum.specified or Enum.unspecified. If specified, the string must case-insensitively match one of the allowed options.repeated .substrait.FunctionArgument arguments = 7;- Specified by:
getArgumentsOrBuilderListin interfaceAggregateFunctionOrBuilder
-
addArgumentsBuilder
The arguments to be bound to the function. This must have exactly the number of arguments specified in the function definition, and the argument types must also match exactly: - Value arguments must be bound using FunctionArgument.value, and the expression in that must yield a value of a type that a function overload is defined for. - Type arguments must be bound using FunctionArgument.type, and a function overload must be defined for that type. - Enum arguments must be bound using FunctionArgument.enum followed by Enum.specified, with a string that case-insensitively matches one of the allowed options. - Optional enum arguments must be bound using FunctionArgument.enum followed by either Enum.specified or Enum.unspecified. If specified, the string must case-insensitively match one of the allowed options.repeated .substrait.FunctionArgument arguments = 7; -
addArgumentsBuilder
The arguments to be bound to the function. This must have exactly the number of arguments specified in the function definition, and the argument types must also match exactly: - Value arguments must be bound using FunctionArgument.value, and the expression in that must yield a value of a type that a function overload is defined for. - Type arguments must be bound using FunctionArgument.type, and a function overload must be defined for that type. - Enum arguments must be bound using FunctionArgument.enum followed by Enum.specified, with a string that case-insensitively matches one of the allowed options. - Optional enum arguments must be bound using FunctionArgument.enum followed by either Enum.specified or Enum.unspecified. If specified, the string must case-insensitively match one of the allowed options.repeated .substrait.FunctionArgument arguments = 7; -
getArgumentsBuilderList
The arguments to be bound to the function. This must have exactly the number of arguments specified in the function definition, and the argument types must also match exactly: - Value arguments must be bound using FunctionArgument.value, and the expression in that must yield a value of a type that a function overload is defined for. - Type arguments must be bound using FunctionArgument.type, and a function overload must be defined for that type. - Enum arguments must be bound using FunctionArgument.enum followed by Enum.specified, with a string that case-insensitively matches one of the allowed options. - Optional enum arguments must be bound using FunctionArgument.enum followed by either Enum.specified or Enum.unspecified. If specified, the string must case-insensitively match one of the allowed options.repeated .substrait.FunctionArgument arguments = 7; -
getOptionsList
Options to specify behavior for corner cases, or leave behavior unspecified if the consumer does not need specific behavior in these cases.
repeated .substrait.FunctionOption options = 8;- Specified by:
getOptionsListin interfaceAggregateFunctionOrBuilder
-
getOptionsCount
public int getOptionsCount()Options to specify behavior for corner cases, or leave behavior unspecified if the consumer does not need specific behavior in these cases.
repeated .substrait.FunctionOption options = 8;- Specified by:
getOptionsCountin interfaceAggregateFunctionOrBuilder
-
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 = 8;- Specified by:
getOptionsin interfaceAggregateFunctionOrBuilder
-
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 = 8; -
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 = 8; -
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 = 8; -
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 = 8; -
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 = 8; -
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 = 8; -
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 = 8; -
clearOptions
Options to specify behavior for corner cases, or leave behavior unspecified if the consumer does not need specific behavior in these cases.
repeated .substrait.FunctionOption options = 8; -
removeOptions
Options to specify behavior for corner cases, or leave behavior unspecified if the consumer does not need specific behavior in these cases.
repeated .substrait.FunctionOption options = 8; -
getOptionsBuilder
Options to specify behavior for corner cases, or leave behavior unspecified if the consumer does not need specific behavior in these cases.
repeated .substrait.FunctionOption options = 8; -
getOptionsOrBuilder
Options to specify behavior for corner cases, or leave behavior unspecified if the consumer does not need specific behavior in these cases.
repeated .substrait.FunctionOption options = 8;- Specified by:
getOptionsOrBuilderin interfaceAggregateFunctionOrBuilder
-
getOptionsOrBuilderList
Options to specify behavior for corner cases, or leave behavior unspecified if the consumer does not need specific behavior in these cases.
repeated .substrait.FunctionOption options = 8;- Specified by:
getOptionsOrBuilderListin interfaceAggregateFunctionOrBuilder
-
addOptionsBuilder
Options to specify behavior for corner cases, or leave behavior unspecified if the consumer does not need specific behavior in these cases.
repeated .substrait.FunctionOption options = 8; -
addOptionsBuilder
Options to specify behavior for corner cases, or leave behavior unspecified if the consumer does not need specific behavior in these cases.
repeated .substrait.FunctionOption options = 8; -
getOptionsBuilderList
Options to specify behavior for corner cases, or leave behavior unspecified if the consumer does not need specific behavior in these cases.
repeated .substrait.FunctionOption options = 8; -
hasOutputType
public boolean hasOutputType()Must be set to the return type of the function, exactly as derived using the declaration in the extension.
.substrait.Type output_type = 5;- Specified by:
hasOutputTypein interfaceAggregateFunctionOrBuilder- 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 = 5;- Specified by:
getOutputTypein interfaceAggregateFunctionOrBuilder- 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 = 5; -
setOutputType
Must be set to the return type of the function, exactly as derived using the declaration in the extension.
.substrait.Type output_type = 5; -
mergeOutputType
Must be set to the return type of the function, exactly as derived using the declaration in the extension.
.substrait.Type output_type = 5; -
clearOutputType
Must be set to the return type of the function, exactly as derived using the declaration in the extension.
.substrait.Type output_type = 5; -
getOutputTypeBuilder
Must be set to the return type of the function, exactly as derived using the declaration in the extension.
.substrait.Type output_type = 5; -
getOutputTypeOrBuilder
Must be set to the return type of the function, exactly as derived using the declaration in the extension.
.substrait.Type output_type = 5;- Specified by:
getOutputTypeOrBuilderin interfaceAggregateFunctionOrBuilder
-
getPhaseValue
public int getPhaseValue()Describes which part of the aggregation to perform within the context of distributed algorithms. Required. Must be set to INITIAL_TO_RESULT for aggregate functions that are not decomposable.
.substrait.AggregationPhase phase = 4;- Specified by:
getPhaseValuein interfaceAggregateFunctionOrBuilder- Returns:
- The enum numeric value on the wire for phase.
-
setPhaseValue
Describes which part of the aggregation to perform within the context of distributed algorithms. Required. Must be set to INITIAL_TO_RESULT for aggregate functions that are not decomposable.
.substrait.AggregationPhase phase = 4;- Parameters:
value- The enum numeric value on the wire for phase to set.- Returns:
- This builder for chaining.
-
getPhase
Describes which part of the aggregation to perform within the context of distributed algorithms. Required. Must be set to INITIAL_TO_RESULT for aggregate functions that are not decomposable.
.substrait.AggregationPhase phase = 4;- Specified by:
getPhasein interfaceAggregateFunctionOrBuilder- Returns:
- The phase.
-
setPhase
Describes which part of the aggregation to perform within the context of distributed algorithms. Required. Must be set to INITIAL_TO_RESULT for aggregate functions that are not decomposable.
.substrait.AggregationPhase phase = 4;- Parameters:
value- The phase to set.- Returns:
- This builder for chaining.
-
clearPhase
Describes which part of the aggregation to perform within the context of distributed algorithms. Required. Must be set to INITIAL_TO_RESULT for aggregate functions that are not decomposable.
.substrait.AggregationPhase phase = 4;- Returns:
- This builder for chaining.
-
getSortsList
If specified, the aggregated records are ordered according to this list before they are aggregated. The first sort field has the highest priority; only if a sort field determines two records to be equivalent is the next field queried. This field is optional.
repeated .substrait.SortField sorts = 3;- Specified by:
getSortsListin interfaceAggregateFunctionOrBuilder
-
getSortsCount
public int getSortsCount()If specified, the aggregated records are ordered according to this list before they are aggregated. The first sort field has the highest priority; only if a sort field determines two records to be equivalent is the next field queried. This field is optional.
repeated .substrait.SortField sorts = 3;- Specified by:
getSortsCountin interfaceAggregateFunctionOrBuilder
-
getSorts
If specified, the aggregated records are ordered according to this list before they are aggregated. The first sort field has the highest priority; only if a sort field determines two records to be equivalent is the next field queried. This field is optional.
repeated .substrait.SortField sorts = 3;- Specified by:
getSortsin interfaceAggregateFunctionOrBuilder
-
setSorts
If specified, the aggregated records are ordered according to this list before they are aggregated. The first sort field has the highest priority; only if a sort field determines two records to be equivalent is the next field queried. This field is optional.
repeated .substrait.SortField sorts = 3; -
setSorts
If specified, the aggregated records are ordered according to this list before they are aggregated. The first sort field has the highest priority; only if a sort field determines two records to be equivalent is the next field queried. This field is optional.
repeated .substrait.SortField sorts = 3; -
addSorts
If specified, the aggregated records are ordered according to this list before they are aggregated. The first sort field has the highest priority; only if a sort field determines two records to be equivalent is the next field queried. This field is optional.
repeated .substrait.SortField sorts = 3; -
addSorts
If specified, the aggregated records are ordered according to this list before they are aggregated. The first sort field has the highest priority; only if a sort field determines two records to be equivalent is the next field queried. This field is optional.
repeated .substrait.SortField sorts = 3; -
addSorts
If specified, the aggregated records are ordered according to this list before they are aggregated. The first sort field has the highest priority; only if a sort field determines two records to be equivalent is the next field queried. This field is optional.
repeated .substrait.SortField sorts = 3; -
addSorts
If specified, the aggregated records are ordered according to this list before they are aggregated. The first sort field has the highest priority; only if a sort field determines two records to be equivalent is the next field queried. This field is optional.
repeated .substrait.SortField sorts = 3; -
addAllSorts
If specified, the aggregated records are ordered according to this list before they are aggregated. The first sort field has the highest priority; only if a sort field determines two records to be equivalent is the next field queried. This field is optional.
repeated .substrait.SortField sorts = 3; -
clearSorts
If specified, the aggregated records are ordered according to this list before they are aggregated. The first sort field has the highest priority; only if a sort field determines two records to be equivalent is the next field queried. This field is optional.
repeated .substrait.SortField sorts = 3; -
removeSorts
If specified, the aggregated records are ordered according to this list before they are aggregated. The first sort field has the highest priority; only if a sort field determines two records to be equivalent is the next field queried. This field is optional.
repeated .substrait.SortField sorts = 3; -
getSortsBuilder
If specified, the aggregated records are ordered according to this list before they are aggregated. The first sort field has the highest priority; only if a sort field determines two records to be equivalent is the next field queried. This field is optional.
repeated .substrait.SortField sorts = 3; -
getSortsOrBuilder
If specified, the aggregated records are ordered according to this list before they are aggregated. The first sort field has the highest priority; only if a sort field determines two records to be equivalent is the next field queried. This field is optional.
repeated .substrait.SortField sorts = 3;- Specified by:
getSortsOrBuilderin interfaceAggregateFunctionOrBuilder
-
getSortsOrBuilderList
If specified, the aggregated records are ordered according to this list before they are aggregated. The first sort field has the highest priority; only if a sort field determines two records to be equivalent is the next field queried. This field is optional.
repeated .substrait.SortField sorts = 3;- Specified by:
getSortsOrBuilderListin interfaceAggregateFunctionOrBuilder
-
addSortsBuilder
If specified, the aggregated records are ordered according to this list before they are aggregated. The first sort field has the highest priority; only if a sort field determines two records to be equivalent is the next field queried. This field is optional.
repeated .substrait.SortField sorts = 3; -
addSortsBuilder
If specified, the aggregated records are ordered according to this list before they are aggregated. The first sort field has the highest priority; only if a sort field determines two records to be equivalent is the next field queried. This field is optional.
repeated .substrait.SortField sorts = 3; -
getSortsBuilderList
If specified, the aggregated records are ordered according to this list before they are aggregated. The first sort field has the highest priority; only if a sort field determines two records to be equivalent is the next field queried. This field is optional.
repeated .substrait.SortField sorts = 3; -
getInvocationValue
public int getInvocationValue()Specifies whether equivalent records are merged before being aggregated. Optional, defaults to AGGREGATION_INVOCATION_ALL.
.substrait.AggregateFunction.AggregationInvocation invocation = 6;- Specified by:
getInvocationValuein interfaceAggregateFunctionOrBuilder- 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 = 6;- Parameters:
value- The enum numeric value on the wire for invocation to set.- Returns:
- This builder for chaining.
-
getInvocation
Specifies whether equivalent records are merged before being aggregated. Optional, defaults to AGGREGATION_INVOCATION_ALL.
.substrait.AggregateFunction.AggregationInvocation invocation = 6;- Specified by:
getInvocationin interfaceAggregateFunctionOrBuilder- Returns:
- The invocation.
-
setInvocation
Specifies whether equivalent records are merged before being aggregated. Optional, defaults to AGGREGATION_INVOCATION_ALL.
.substrait.AggregateFunction.AggregationInvocation invocation = 6;- Parameters:
value- The invocation to set.- Returns:
- This builder for chaining.
-
clearInvocation
Specifies whether equivalent records are merged before being aggregated. Optional, defaults to AGGREGATION_INVOCATION_ALL.
.substrait.AggregateFunction.AggregationInvocation invocation = 6;- Returns:
- This builder for chaining.
-
getArgsList
Deprecated.deprecated; use arguments instead
repeated .substrait.Expression args = 2 [deprecated = true];- Specified by:
getArgsListin interfaceAggregateFunctionOrBuilder
-
getArgsCount
Deprecated.deprecated; use arguments instead
repeated .substrait.Expression args = 2 [deprecated = true];- Specified by:
getArgsCountin interfaceAggregateFunctionOrBuilder
-
getArgs
Deprecated.deprecated; use arguments instead
repeated .substrait.Expression args = 2 [deprecated = true];- Specified by:
getArgsin interfaceAggregateFunctionOrBuilder
-
setArgs
Deprecated.deprecated; use arguments instead
repeated .substrait.Expression args = 2 [deprecated = true]; -
setArgs
Deprecated.deprecated; use arguments instead
repeated .substrait.Expression args = 2 [deprecated = true]; -
addArgs
Deprecated.deprecated; use arguments instead
repeated .substrait.Expression args = 2 [deprecated = true]; -
addArgs
Deprecated.deprecated; use arguments instead
repeated .substrait.Expression args = 2 [deprecated = true]; -
addArgs
Deprecated.deprecated; use arguments instead
repeated .substrait.Expression args = 2 [deprecated = true]; -
addArgs
Deprecated.deprecated; use arguments instead
repeated .substrait.Expression args = 2 [deprecated = true]; -
addAllArgs
Deprecated.deprecated; use arguments instead
repeated .substrait.Expression args = 2 [deprecated = true]; -
clearArgs
Deprecated.deprecated; use arguments instead
repeated .substrait.Expression args = 2 [deprecated = true]; -
removeArgs
Deprecated.deprecated; use arguments instead
repeated .substrait.Expression args = 2 [deprecated = true]; -
getArgsBuilder
Deprecated.deprecated; use arguments instead
repeated .substrait.Expression args = 2 [deprecated = true]; -
getArgsOrBuilder
Deprecated.deprecated; use arguments instead
repeated .substrait.Expression args = 2 [deprecated = true];- Specified by:
getArgsOrBuilderin interfaceAggregateFunctionOrBuilder
-
getArgsOrBuilderList
Deprecated.deprecated; use arguments instead
repeated .substrait.Expression args = 2 [deprecated = true];- Specified by:
getArgsOrBuilderListin interfaceAggregateFunctionOrBuilder
-
addArgsBuilder
Deprecated.deprecated; use arguments instead
repeated .substrait.Expression args = 2 [deprecated = true]; -
addArgsBuilder
Deprecated.deprecated; use arguments instead
repeated .substrait.Expression args = 2 [deprecated = true]; -
getArgsBuilderList
Deprecated.deprecated; use arguments instead
repeated .substrait.Expression args = 2 [deprecated = true]; -
setUnknownFields
public final AggregateFunction.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AggregateFunction.Builder>
-
mergeUnknownFields
public final AggregateFunction.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AggregateFunction.Builder>
-