Package io.substrait.relation
Class ConsistentPartitionWindow.WindowRelFunctionInvocation
java.lang.Object
io.substrait.relation.ConsistentPartitionWindow.WindowRelFunctionInvocation
- Direct Known Subclasses:
ImmutableConsistentPartitionWindow.WindowRelFunctionInvocation
- Enclosing class:
- ConsistentPartitionWindow
@Immutable
public abstract static class ConsistentPartitionWindow.WindowRelFunctionInvocation
extends Object
A single window function invocation with its arguments, options, output type, phase/invocation,
and window bounds.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Expression.AggregationPhaseReturns the aggregation phase (e.g., initial, intermediate, final).abstract List<FunctionArg>Returns the ordered list of function arguments.abstract Expression.WindowBoundsTypeReturns the bounds type (e.g., ROWS or RANGE).builder()Creates a builder forConsistentPartitionWindow.WindowRelFunctionInvocation.Returns the window function variant declaration.abstract Expression.AggregationInvocationReturns the aggregation invocation semantics (e.g., aggregate, merge).abstract WindowBoundReturns the inclusive lower bound of the window frame.abstract List<FunctionOption>options()Returns the options applied to the function invocation.abstract TypeReturns the type produced by this invocation.abstract WindowBoundReturns the inclusive upper bound of the window frame.
-
Constructor Details
-
WindowRelFunctionInvocation
public WindowRelFunctionInvocation()
-
-
Method Details
-
declaration
Returns the window function variant declaration.- Returns:
- the function variant declaration
-
arguments
Returns the ordered list of function arguments.- Returns:
- list of function arguments
-
options
Returns the options applied to the function invocation.- Returns:
- list of function options
-
outputType
Returns the type produced by this invocation.- Returns:
- output type of the window function
-
aggregationPhase
Returns the aggregation phase (e.g., initial, intermediate, final).- Returns:
- aggregation phase
-
invocation
Returns the aggregation invocation semantics (e.g., aggregate, merge).- Returns:
- aggregation invocation
-
lowerBound
Returns the inclusive lower bound of the window frame.- Returns:
- lower window bound
-
upperBound
Returns the inclusive upper bound of the window frame.- Returns:
- upper window bound
-
boundsType
Returns the bounds type (e.g., ROWS or RANGE).- Returns:
- window bounds type
-
builder
Creates a builder forConsistentPartitionWindow.WindowRelFunctionInvocation.- Returns:
- a new immutable builder
-