Package io.trino.operator.window.pattern
Class MeasureComputation
- java.lang.Object
-
- io.trino.operator.window.pattern.MeasureComputation
-
public class MeasureComputation extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMeasureComputation.MeasureComputationSupplier
-
Constructor Summary
Constructors Constructor Description MeasureComputation(PageProjection projection, List<PhysicalValuePointer> expectedLayout, Type type, List<String> labelNames, ConnectorSession session)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Blockcompute(int currentRow, ArrayView matchedLabels, int partitionStart, int partitionEnd, int patternStart, long matchNumber, WindowIndex windowIndex)BlockcomputeEmpty(long matchNumber)TypegetType()
-
-
-
Constructor Detail
-
MeasureComputation
public MeasureComputation(PageProjection projection, List<PhysicalValuePointer> expectedLayout, Type type, List<String> labelNames, ConnectorSession session)
-
-
Method Detail
-
getType
public Type getType()
-
compute
public Block compute(int currentRow, ArrayView matchedLabels, int partitionStart, int partitionEnd, int patternStart, long matchNumber, WindowIndex windowIndex)
-
computeEmpty
public Block computeEmpty(long matchNumber)
-
-