public static class Druids.SearchQueryBuilder extends Object
SearchQuery query = Druids.newSearchQueryBuilder()
.dataSource("Example")
.dimensions(listofEgDims)
.query(exampleQuery)
.intervals("2012-01-01/2012-01-02")
.build();
SearchQuery
Constructor and Description |
---|
Druids.SearchQueryBuilder() |
public SearchQuery build()
public Druids.SearchQueryBuilder copy(SearchQuery query)
public Druids.SearchQueryBuilder copy(Druids.SearchQueryBuilder builder)
public Druids.SearchQueryBuilder dataSource(String d)
public Druids.SearchQueryBuilder dataSource(DataSource d)
public Druids.SearchQueryBuilder filters(String dimensionName, String value)
public Druids.SearchQueryBuilder filters(String dimensionName, String value, String... values)
public Druids.SearchQueryBuilder filters(DimFilter f)
public Druids.SearchQueryBuilder granularity(String g)
public Druids.SearchQueryBuilder granularity(QueryGranularity g)
public Druids.SearchQueryBuilder limit(int l)
public Druids.SearchQueryBuilder intervals(QuerySegmentSpec q)
public Druids.SearchQueryBuilder intervals(String s)
public Druids.SearchQueryBuilder intervals(List<org.joda.time.Interval> l)
public Druids.SearchQueryBuilder dimensions(String d)
public Druids.SearchQueryBuilder dimensions(List<String> d)
public Druids.SearchQueryBuilder query(SearchQuerySpec s)
public Druids.SearchQueryBuilder query(String q)
public Druids.SearchQueryBuilder query(Map<String,Object> q)
public Druids.SearchQueryBuilder context(Map<String,Object> c)
Copyright © 2011–2015. All rights reserved.