Class ModeStrategyUtils
java.lang.Object
org.apache.hadoop.hbase.hbtop.mode.ModeStrategyUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaggregateRecords
(List<Record> records, Field groupBy) Group by records on the basis of supplied groupBy field and Aggregate records usingRecord.combine(Record)
applyFilterAndGet
(List<Record> records, List<RecordFilter> filters) Filter records as per the supplied filters,
-
Constructor Details
-
ModeStrategyUtils
private ModeStrategyUtils()
-
-
Method Details
-
applyFilterAndGet
Filter records as per the supplied filters,- Parameters:
records
- records to be processedfilters
- List of filters- Returns:
- filtered records
-
aggregateRecords
Group by records on the basis of supplied groupBy field and Aggregate records usingRecord.combine(Record)
- Parameters:
records
- records needs to be processedgroupBy
- Field to be used for group by- Returns:
- aggregated records
-