use of org.apache.calcite.adapter.cassandra.CassandraLimit in project drill by apache.
the class DrillCassandraLimitRule method convert.
public RelNode convert(RelNode relNode) {
DrillLimitRelBase limit = (DrillLimitRelBase) relNode;
final RelTraitSet traitSet = limit.getTraitSet().replace(CassandraRel.CONVENTION);
return new CassandraLimit(limit.getCluster(), traitSet, convert(limit.getInput(), CassandraRel.CONVENTION), limit.getOffset(), limit.getFetch());
}
Aggregations