class DefaultModelQueryExecutor extends ModelExecutorBase implements ModelQueryExecutor {

    protected void expand(ModelExecutionContext context, ResolvedExpand expand, List<Record> records) {
        if (records == null || records.size() == 0) {
            return;
        }
        if (expand.isRemoteRest()) {
            expandByRest(context, expand, records);
        } else {
            expandByDb(context, expand, records);
        }
    }

    public  DefaultModelQueryExecutor(ModelExecutorContext context);
    public  DefaultModelQueryExecutor(ModelExecutorContext context, ModelQueryExtension ex);

}