use of io.druid.query.Druids.SearchQueryBuilder in project druid by druid-io.
the class SearchBenchmark method setupQueries.
private void setupQueries() {
// queries for the basic schema
final Map<String, SearchQueryBuilder> basicQueries = new LinkedHashMap<>();
final BenchmarkSchemaInfo basicSchema = BenchmarkSchemas.SCHEMA_MAP.get("basic");
final List<String> queryTypes = ImmutableList.of("A", "B", "C", "D");
for (final String eachType : queryTypes) {
basicQueries.put(eachType, makeQuery(eachType, basicSchema));
}
SCHEMA_QUERY_MAP.put("basic", basicQueries);
}
Aggregations