Package io.trino.operator
Class WindowFunctionDefinition
java.lang.Object
io.trino.operator.WindowFunctionDefinition
-
Method Summary
Modifier and TypeMethodDescriptiongetType()static WindowFunctionDefinitionwindow(WindowFunctionSupplier functionSupplier, Type type, boolean ignoreNulls, List<Supplier<Object>> lambdaProviders, List<Integer> inputs) Create a WindowFunctionDefinition without the FrameInfo.static WindowFunctionDefinitionwindow(WindowFunctionSupplier functionSupplier, Type type, FrameInfo frameInfo, boolean ignoreNulls, List<Supplier<Object>> lambdaProviders, Integer... inputs) static WindowFunctionDefinitionwindow(WindowFunctionSupplier functionSupplier, Type type, FrameInfo frameInfo, boolean ignoreNulls, List<Supplier<Object>> lambdaProviders, List<Integer> inputs)
-
Method Details
-
window
public static WindowFunctionDefinition window(WindowFunctionSupplier functionSupplier, Type type, FrameInfo frameInfo, boolean ignoreNulls, List<Supplier<Object>> lambdaProviders, List<Integer> inputs) -
window
public static WindowFunctionDefinition window(WindowFunctionSupplier functionSupplier, Type type, FrameInfo frameInfo, boolean ignoreNulls, List<Supplier<Object>> lambdaProviders, Integer... inputs) -
window
public static WindowFunctionDefinition window(WindowFunctionSupplier functionSupplier, Type type, boolean ignoreNulls, List<Supplier<Object>> lambdaProviders, List<Integer> inputs) Create a WindowFunctionDefinition without the FrameInfo. This method is used for window functions in pattern recognition context. The corresponding FrameInfo is common to all window functions, and it is a property of PatternRecognitionPartition. -
getFrameInfo
-
getType
-
createWindowFunction
-