Package io.trino.operator.window
Class PatternRecognitionPartitioner
java.lang.Object
io.trino.operator.window.PatternRecognitionPartitioner
- All Implemented Interfaces:
Partitioner
-
Constructor Summary
ConstructorsConstructorDescriptionPatternRecognitionPartitioner(List<MeasureComputation> measures, List<MatchAggregation> measureAggregations, List<ArgumentComputation> measureComputationsAggregationArguments, Optional<FrameInfo> commonBaseFrame, PatternRecognitionRelation.RowsPerMatch rowsPerMatch, Optional<LogicalIndexNavigation> skipToNavigation, SkipTo.Position skipToPosition, boolean initial, Matcher matcher, List<LabelEvaluator.Evaluation> labelEvaluations, List<ArgumentComputation> labelEvaluationsAggregationArguments, List<String> labelNames) -
Method Summary
Modifier and TypeMethodDescriptioncreatePartition(PagesIndex pagesIndex, int partitionStart, int partitionEnd, int[] outputChannels, List<WindowFunction> windowFunctions, List<FrameInfo> frames, PagesHashStrategy peerGroupHashStrategy, Map<WindowOperator.FrameBoundKey, PagesIndexComparator> frameBoundComparators, AggregatedMemoryContext memoryContext)
-
Constructor Details
-
PatternRecognitionPartitioner
public PatternRecognitionPartitioner(List<MeasureComputation> measures, List<MatchAggregation> measureAggregations, List<ArgumentComputation> measureComputationsAggregationArguments, Optional<FrameInfo> commonBaseFrame, PatternRecognitionRelation.RowsPerMatch rowsPerMatch, Optional<LogicalIndexNavigation> skipToNavigation, SkipTo.Position skipToPosition, boolean initial, Matcher matcher, List<LabelEvaluator.Evaluation> labelEvaluations, List<ArgumentComputation> labelEvaluationsAggregationArguments, List<String> labelNames)
-
-
Method Details
-
createPartition
public WindowPartition createPartition(PagesIndex pagesIndex, int partitionStart, int partitionEnd, int[] outputChannels, List<WindowFunction> windowFunctions, List<FrameInfo> frames, PagesHashStrategy peerGroupHashStrategy, Map<WindowOperator.FrameBoundKey, PagesIndexComparator> frameBoundComparators, AggregatedMemoryContext memoryContext) - Specified by:
createPartitionin interfacePartitioner
-