use of com.apple.foundationdb.record.query.plan.temp.CascadesPlanner in project fdb-record-layer by FoundationDB.
the class QueryPlanFullySortedTest method setup.
protected void setup(@Nullable RecordMetaDataHook hook) {
RecordMetaDataBuilder builder = RecordMetaData.newBuilder().setRecords(TestRecords1Proto.getDescriptor());
if (hook != null) {
hook.apply(builder);
}
metaData = builder.getRecordMetaData();
planner = useRewritePlanner ? new CascadesPlanner(metaData, new RecordStoreState(null, null)) : new RecordQueryPlanner(metaData, new RecordStoreState(null, null));
}
Aggregations