Package io.trino.operator.window.pattern
Class MeasureComputation
java.lang.Object
io.trino.operator.window.pattern.MeasureComputation
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionMeasureComputation(PageProjection projection, List<PhysicalValueAccessor> expectedLayout, List<MatchAggregation> aggregations, Type type, List<String> labelNames, ConnectorSession session) -
Method Summary
Modifier and TypeMethodDescriptioncompute(int currentRow, ArrayView matchedLabels, int partitionStart, int searchStart, int searchEnd, int patternStart, long matchNumber, ProjectingPagesWindowIndex windowIndex) static Blockcompute(int currentRow, ArrayView matchedLabels, MatchAggregation[] aggregations, int partitionStart, int searchStart, int searchEnd, int patternStart, long matchNumber, ProjectingPagesWindowIndex windowIndex, PageProjection projection, List<PhysicalValueAccessor> expectedLayout, Block[] nulls, List<String> labelNames, ConnectorSession session) computeEmpty(long matchNumber) getType()static Block[]precomputeNulls(List<PhysicalValueAccessor> expectedLayout)
-
Constructor Details
-
MeasureComputation
public MeasureComputation(PageProjection projection, List<PhysicalValueAccessor> expectedLayout, List<MatchAggregation> aggregations, Type type, List<String> labelNames, ConnectorSession session)
-
-
Method Details
-
getType
-
compute
public Block compute(int currentRow, ArrayView matchedLabels, int partitionStart, int searchStart, int searchEnd, int patternStart, long matchNumber, ProjectingPagesWindowIndex windowIndex) -
computeEmpty
-
compute
public static Block compute(int currentRow, ArrayView matchedLabels, MatchAggregation[] aggregations, int partitionStart, int searchStart, int searchEnd, int patternStart, long matchNumber, ProjectingPagesWindowIndex windowIndex, PageProjection projection, List<PhysicalValueAccessor> expectedLayout, Block[] nulls, List<String> labelNames, ConnectorSession session) -
precomputeNulls
-