Package io.substrait.proto
Class Expression.WindowFunction
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.substrait.proto.Expression.WindowFunction
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Expression.WindowFunctionOrBuilder,Serializable
- Enclosing class:
- Expression
public static final class Expression.WindowFunction
extends com.google.protobuf.GeneratedMessageV3
implements Expression.WindowFunctionOrBuilder
A window function call.Protobuf type
substrait.Expression.WindowFunction- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDefines one of the two boundaries for the window of a window function.static interfacestatic enumProtobuf enumsubstrait.Expression.WindowFunction.BoundsTypestatic final classA window function call.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetArgs(int index) Deprecated.intDeprecated.Deprecated.getArgsOrBuilder(int index) Deprecated.List<? extends ExpressionOrBuilder>Deprecated.getArguments(int index) 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 Expression.WindowFunctionstatic final com.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.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.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.com.google.protobuf.Parser<Expression.WindowFunction>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.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.intgetSorts(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.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.inthashCode()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 booleannewBuilder(Expression.WindowFunction prototype) protected Expression.WindowFunction.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static Expression.WindowFunctionparseDelimitedFrom(InputStream input) static Expression.WindowFunctionparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Expression.WindowFunctionparseFrom(byte[] data) static Expression.WindowFunctionparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Expression.WindowFunctionparseFrom(com.google.protobuf.ByteString data) static Expression.WindowFunctionparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Expression.WindowFunctionparseFrom(com.google.protobuf.CodedInputStream input) static Expression.WindowFunctionparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Expression.WindowFunctionparseFrom(InputStream input) static Expression.WindowFunctionparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Expression.WindowFunctionparseFrom(ByteBuffer data) static Expression.WindowFunctionparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Expression.WindowFunction>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
FUNCTION_REFERENCE_FIELD_NUMBER
public static final int FUNCTION_REFERENCE_FIELD_NUMBER- See Also:
-
ARGUMENTS_FIELD_NUMBER
public static final int ARGUMENTS_FIELD_NUMBER- See Also:
-
OPTIONS_FIELD_NUMBER
public static final int OPTIONS_FIELD_NUMBER- See Also:
-
OUTPUT_TYPE_FIELD_NUMBER
public static final int OUTPUT_TYPE_FIELD_NUMBER- See Also:
-
PHASE_FIELD_NUMBER
public static final int PHASE_FIELD_NUMBER- See Also:
-
SORTS_FIELD_NUMBER
public static final int SORTS_FIELD_NUMBER- See Also:
-
INVOCATION_FIELD_NUMBER
public static final int INVOCATION_FIELD_NUMBER- See Also:
-
PARTITIONS_FIELD_NUMBER
public static final int PARTITIONS_FIELD_NUMBER- See Also:
-
BOUNDS_TYPE_FIELD_NUMBER
public static final int BOUNDS_TYPE_FIELD_NUMBER- See Also:
-
LOWER_BOUND_FIELD_NUMBER
public static final int LOWER_BOUND_FIELD_NUMBER- See Also:
-
UPPER_BOUND_FIELD_NUMBER
public static final int UPPER_BOUND_FIELD_NUMBER- See Also:
-
ARGS_FIELD_NUMBER
public static final int ARGS_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
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.
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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.
-
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.
-
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.
-
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
-
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
-
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
-
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
-
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.
-
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.
-
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
-
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
-
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
-
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
-
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.
-
getBoundsType
Defines the bounds type: ROWS, RANGE
.substrait.Expression.WindowFunction.BoundsType bounds_type = 12;- Specified by:
getBoundsTypein interfaceExpression.WindowFunctionOrBuilder- Returns:
- The boundsType.
-
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.
-
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.
-
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
-
getArgsOrBuilderList
Deprecated.Deprecated; use arguments instead.
repeated .substrait.Expression args = 8 [deprecated = true];- Specified by:
getArgsOrBuilderListin 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
-
getArgsOrBuilder
Deprecated.Deprecated; use arguments instead.
repeated .substrait.Expression args = 8 [deprecated = true];- Specified by:
getArgsOrBuilderin interfaceExpression.WindowFunctionOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Expression.WindowFunction parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Expression.WindowFunction parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Expression.WindowFunction parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Expression.WindowFunction parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Expression.WindowFunction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Expression.WindowFunction parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Expression.WindowFunction parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Expression.WindowFunction parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Expression.WindowFunction parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Expression.WindowFunction parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Expression.WindowFunction.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-