use of com.apple.foundationdb.record.query.plan.temp.expressions.IndexScanExpression in project fdb-record-layer by FoundationDB.
the class ImplementIndexScanRule method onMatch.
@Override
public void onMatch(@Nonnull PlannerRuleCall call) {
final IndexScanExpression logical = call.get(root);
final IndexScanParameters scan = new IndexScanComparisons(logical.getScanType(), logical.scanComparisons());
call.yield(call.ref(new RecordQueryIndexPlan(Objects.requireNonNull(logical.getIndexName()), scan, logical.isReverse())));
}
Aggregations