Class SearchRequest
- java.lang.Object
-
- zipkin2.elasticsearch.internal.client.SearchRequest
-
public final class SearchRequest extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SearchRequest.Filters
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SearchRequest
addAggregation(Aggregation agg)
static SearchRequest
create(java.util.List<java.lang.String> indices)
static SearchRequest
create(java.util.List<java.lang.String> indices, java.lang.String type)
SearchRequest
filters(SearchRequest.Filters filters)
java.lang.Boolean
get_source()
java.util.Map<java.lang.String,Aggregation>
getAggs()
java.lang.Object
getQuery()
java.lang.Integer
getSize()
SearchRequest
term(java.lang.String field, java.lang.String value)
SearchRequest
terms(java.lang.String field, java.util.Collection<java.lang.String> values)
-
-
-
Method Detail
-
create
public static SearchRequest create(java.util.List<java.lang.String> indices)
-
create
public static SearchRequest create(java.util.List<java.lang.String> indices, java.lang.String type)
-
filters
public SearchRequest filters(SearchRequest.Filters filters)
-
term
public SearchRequest term(java.lang.String field, java.lang.String value)
-
terms
public SearchRequest terms(java.lang.String field, java.util.Collection<java.lang.String> values)
-
addAggregation
public SearchRequest addAggregation(Aggregation agg)
-
getSize
public java.lang.Integer getSize()
-
get_source
public java.lang.Boolean get_source()
-
getQuery
public java.lang.Object getQuery()
-
getAggs
public java.util.Map<java.lang.String,Aggregation> getAggs()
-
-