public class QueryTopHitsAggregation extends QueryAggregation
Modifier and Type | Field and Description |
---|---|
protected QueryTopHitsAggregationResult |
hits |
protected java.lang.Long |
size |
discriminatorMapping, discriminatorPropertyName, type
Constructor and Description |
---|
QueryTopHitsAggregation() |
Modifier and Type | Method and Description |
---|---|
QueryTopHitsAggregationResult |
getHits()
Gets the hits.
|
java.lang.Long |
getSize()
Gets the size.
|
getType
protected java.lang.Long size
protected QueryTopHitsAggregationResult hits
public java.lang.Long getSize()
public QueryTopHitsAggregationResult getHits()