Package uk.gov.gchq.gaffer.data.element
Class GroupedProperties
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<String,Object>
-
- uk.gov.gchq.gaffer.data.element.Properties
-
- uk.gov.gchq.gaffer.data.element.GroupedProperties
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<String,Object>
public class GroupedProperties extends Properties
GroupedProperties are justProperties
with the Element group attached. This allows the property serialisers to be looked up in the schema according to the element group. So, this class can be used in place of the normal Properties class when serialising and deserialising is required. See GroupedPropertiesSerialiser in the store module.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Constructor Summary
Constructors Constructor Description GroupedProperties()
GroupedProperties(String group)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getGroup()
int
hashCode()
void
setGroup(String group)
-
Methods inherited from class uk.gov.gchq.gaffer.data.element.Properties
clone, keepOnly, put, remove, toString
-
Methods inherited from class java.util.HashMap
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
-