java.lang.Object
org.apache.flink.table.planner.plan.nodes.exec.spec.MatchSpec

public class MatchSpec extends Object
MatchSpec describes the MATCH_RECOGNIZE info, see Match.
  • Field Details

  • Constructor Details

    • MatchSpec

      public MatchSpec(org.apache.calcite.rex.RexNode pattern, Map<String,org.apache.calcite.rex.RexNode> patternDefinitions, Map<String,org.apache.calcite.rex.RexNode> measures, org.apache.calcite.rex.RexNode after, Map<String,SortedSet<String>> subsets, boolean allRows, PartitionSpec partition, SortSpec orderKeys, @Nullable org.apache.calcite.rex.RexNode interval)
  • Method Details

    • getPattern

      public org.apache.calcite.rex.RexNode getPattern()
    • getPatternDefinitions

      public Map<String,org.apache.calcite.rex.RexNode> getPatternDefinitions()
    • getMeasures

      public Map<String,org.apache.calcite.rex.RexNode> getMeasures()
    • getAfter

      public org.apache.calcite.rex.RexNode getAfter()
    • getSubsets

      public Map<String,SortedSet<String>> getSubsets()
    • isAllRows

      public boolean isAllRows()
    • getPartition

      public PartitionSpec getPartition()
    • getOrderKeys

      public SortSpec getOrderKeys()
    • getInterval

      public Optional<org.apache.calcite.rex.RexNode> getInterval()
    • toString

      public String toString()
      Overrides:
      toString in class Object