Package io.trino.operator.window.pattern
Class LabelEvaluator
- java.lang.Object
-
- io.trino.operator.window.pattern.LabelEvaluator
-
public class LabelEvaluator extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLabelEvaluator.Evaluationstatic classLabelEvaluator.EvaluationSupplier
-
Constructor Summary
Constructors Constructor Description LabelEvaluator(long matchNumber, int patternStart, int partitionStart, int partitionEnd, List<LabelEvaluator.Evaluation> evaluations, WindowIndex windowIndex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanevaluateLabel(int label, ArrayView matchedLabels)intgetInputLength()booleanisMatchingAtPartitionStart()
-
-
-
Constructor Detail
-
LabelEvaluator
public LabelEvaluator(long matchNumber, int patternStart, int partitionStart, int partitionEnd, List<LabelEvaluator.Evaluation> evaluations, WindowIndex windowIndex)
-
-
Method Detail
-
getInputLength
public int getInputLength()
-
isMatchingAtPartitionStart
public boolean isMatchingAtPartitionStart()
-
evaluateLabel
public boolean evaluateLabel(int label, ArrayView matchedLabels)
-
-