Package io.trino.operator.window
Class PatternRecognitionPartition
java.lang.Object
io.trino.operator.window.PatternRecognitionPartition
- All Implemented Interfaces:
WindowPartition
-
Constructor Summary
ConstructorsConstructorDescriptionPatternRecognitionPartition(PagesIndex pagesIndex, int partitionStart, int partitionEnd, int[] outputChannels, List<WindowFunction> windowFunctions, PagesHashStrategy peerGroupHashStrategy, AggregatedMemoryContext memoryContext, 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 TypeMethodDescriptionintintbooleanhasNext()voidprocessNextRow(PageBuilder pageBuilder)
-
Constructor Details
-
PatternRecognitionPartition
public PatternRecognitionPartition(PagesIndex pagesIndex, int partitionStart, int partitionEnd, int[] outputChannels, List<WindowFunction> windowFunctions, PagesHashStrategy peerGroupHashStrategy, AggregatedMemoryContext memoryContext, 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
-
getPartitionStart
public int getPartitionStart()- Specified by:
getPartitionStartin interfaceWindowPartition
-
getPartitionEnd
public int getPartitionEnd()- Specified by:
getPartitionEndin interfaceWindowPartition
-
hasNext
public boolean hasNext()- Specified by:
hasNextin interfaceWindowPartition
-
processNextRow
- Specified by:
processNextRowin interfaceWindowPartition
-