Class AggregationUsageService
java.lang.Object
org.elasticsearch.search.aggregations.support.AggregationUsageService
- All Implemented Interfaces:
ReportingService<AggregationInfo>
public class AggregationUsageService extends java.lang.Object implements ReportingService<AggregationInfo>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AggregationUsageService.Builder
Nested classes/interfaces inherited from interface org.elasticsearch.node.ReportingService
ReportingService.Info
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
OTHER_SUBTYPE
-
Method Summary
Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>
getUsageStats()
void
incAggregationUsage(java.lang.String aggregationName, java.lang.String valuesSourceType)
AggregationInfo
info()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
OTHER_SUBTYPE
public static final java.lang.String OTHER_SUBTYPE- See Also:
- Constant Field Values
-
-
Method Details
-
incAggregationUsage
public void incAggregationUsage(java.lang.String aggregationName, java.lang.String valuesSourceType) -
getUsageStats
public java.util.Map<java.lang.String,java.lang.Object> getUsageStats() -
info
- Specified by:
info
in interfaceReportingService<AggregationInfo>
-