public abstract static class GroupingDataset.Group extends Object implements Serializable
Constructor and Description |
---|
Group() |
Modifier and Type | Method and Description |
---|---|
abstract LinkedHashMap<Object,List<Object>> |
group(List<Object> records)
Groups given list of records by some value, e.g.
|
public abstract LinkedHashMap<Object,List<Object>> group(List<Object> records)
records
- a list of records, never null, may be empty.records
list. Also, the map keys should be ordered the same way.
Must never return null, may return an empty map. May contain null key, therefore ImmutableSortedMap cannot be used.Copyright © 2007-2018 Whitestein Technologies. All Rights Reserved.