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, values
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
equals, hashCode, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
public 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.