use of org.apache.beam.sdk.extensions.sql.impl.rel.BeamMatchRel in project beam by apache.
the class BeamMatchRule method convert.
@Override
public RelNode convert(RelNode rel) {
Match match = (Match) rel;
final RelNode input = match.getInput();
return new BeamMatchRel(match.getCluster(), match.getTraitSet().replace(BeamLogicalConvention.INSTANCE), convert(input, input.getTraitSet().replace(BeamLogicalConvention.INSTANCE)), match.getRowType(), match.getPattern(), match.isStrictStart(), match.isStrictEnd(), match.getPatternDefinitions(), match.getMeasures(), match.getAfter(), match.getSubsets(), match.isAllRows(), match.getPartitionKeys(), match.getOrderKeys(), match.getInterval());
}
Aggregations