public static SelectResults getEmptySelectResults(ObjectType objectType,
      CachePerfStats statsOrNull) {
    SelectResults emptyResults = null;
    if (objectType instanceof StructType) {
      emptyResults = new StructBag((StructTypeImpl) objectType, statsOrNull);
    } else {
      emptyResults = new ResultsBag(objectType, statsOrNull);
    }
    return emptyResults;
  }
Returns an appropriate, empty {@code SelectResults}

@param objectType The {@code ObjectType} of the query results
@return an appropriate, empty {@code SelectResults}
geode-core/src/main/java/org/apache/geode/cache/query/internal/QueryUtils.java