Interface RankProcessStrategy
- All Known Implementing Classes:
RankProcessStrategy.AppendFastStrategy,RankProcessStrategy.RetractStrategy,RankProcessStrategy.UndefinedStrategy,RankProcessStrategy.UpdateFastStrategy
public interface RankProcessStrategy
Base class of Strategy to choose different rank process function.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classA strategy which only works when input only contains insertion changes.static classA strategy which works when input contains update or deletion changes.static classA placeholder strategy which will be inferred afterFlinkChangelogModeInferenceProgram.static classA strategy which only works when input shouldn't contains deletion changes and input should have the givenRankProcessStrategy.UpdateFastStrategy.primaryKeysand should be monotonic on the order by field. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final RankProcessStrategy.AppendFastStrategystatic final RankProcessStrategy.RetractStrategystatic final RankProcessStrategy.UndefinedStrategy -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic List<RankProcessStrategy>analyzeRankProcessStrategies(StreamPhysicalRel rank, org.apache.calcite.util.ImmutableBitSet partitionKey, org.apache.calcite.rel.RelCollation orderKey) GetsRankProcessStrategybased on input, partitionKey and orderKey.
-
Field Details
-
UNDEFINED_STRATEGY
-
APPEND_FAST_STRATEGY
-
RETRACT_STRATEGY
-
-
Method Details
-
analyzeRankProcessStrategies
static List<RankProcessStrategy> analyzeRankProcessStrategies(StreamPhysicalRel rank, org.apache.calcite.util.ImmutableBitSet partitionKey, org.apache.calcite.rel.RelCollation orderKey) GetsRankProcessStrategybased on input, partitionKey and orderKey.
-