Search in sources :

Example 1 with PrimaryScanExpression

use of com.apple.foundationdb.record.query.plan.temp.expressions.PrimaryScanExpression in project fdb-record-layer by FoundationDB.

the class ImplementPhysicalScanRule method onMatch.

@Override
public void onMatch(@Nonnull PlannerRuleCall call) {
    final PrimaryScanExpression logical = call.get(root);
    call.yield(call.ref(new RecordQueryScanPlan(logical.getRecordTypes(), logical.scanComparisons(), logical.isReverse())));
}
Also used : RecordQueryScanPlan(com.apple.foundationdb.record.query.plan.plans.RecordQueryScanPlan) PrimaryScanExpression(com.apple.foundationdb.record.query.plan.temp.expressions.PrimaryScanExpression)

Aggregations

RecordQueryScanPlan (com.apple.foundationdb.record.query.plan.plans.RecordQueryScanPlan)1 PrimaryScanExpression (com.apple.foundationdb.record.query.plan.temp.expressions.PrimaryScanExpression)1