Package com.linkedin.venice.client.store
Class AvroComputeAggregationResponse<K>
java.lang.Object
com.linkedin.venice.client.store.AvroComputeAggregationResponse<K>
- All Implemented Interfaces:
- ComputeAggregationResponse
Implementation of 
ComputeAggregationResponse that handles the results of count-by-value and count-by-bucket aggregations.- 
Constructor SummaryConstructorsConstructorDescriptionAvroComputeAggregationResponse(Map<K, ComputeGenericRecord> computeResults, Map<String, Integer> fieldTopKMap) AvroComputeAggregationResponse(Map<K, ComputeGenericRecord> computeResults, Map<String, Integer> fieldTopKMap, Map<String, Map<String, Predicate>> fieldBucketMap) 
- 
Method SummaryModifier and TypeMethodDescriptiongetBucketNameToCount(String fieldName) getValueToCount(String field) 
- 
Constructor Details- 
AvroComputeAggregationResponse
- 
AvroComputeAggregationResponse
 
- 
- 
Method Details- 
getValueToCount- Specified by:
- getValueToCountin interface- ComputeAggregationResponse
- Parameters:
- field- for which to get the value -> count map
- Returns:
- the value counts as defined by ComputeAggregationRequestBuilder.countGroupByValue(int, String...)
 
- 
getBucketNameToCount- Specified by:
- getBucketNameToCountin interface- ComputeAggregationResponse
- Parameters:
- fieldName- for which to get the bucket -> count map
- Returns:
- the bucket counts as defined by ComputeAggregationRequestBuilder.countGroupByBucket(Map, String...)
 
 
-