public class DimensionRow extends LinkedHashMap<DimensionField,String> implements Comparable<DimensionRow>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
DimensionRow(DimensionField key,
Map<DimensionField,String> fieldValueMap)
Build a dimension row with a key field value and a map of field values.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(DimensionRow that) |
String |
getKeyValue()
Getter.
|
Map<String,String> |
getRowMap()
Get DimensionRows as a map of Field Name and Value.
|
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, valuesclone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizeequals, hashCode, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizepublic DimensionRow(@NotNull
DimensionField key,
Map<DimensionField,String> fieldValueMap)
key - the field which will be used as a the data source key for this dimensionfieldValueMap - A map of all values on this row, keyed by fieldpublic String getKeyValue()
public int compareTo(DimensionRow that)
compareTo in interface Comparable<DimensionRow>Copyright © 2016–2018 Yahoo! Inc.. All rights reserved.