Package uk.gov.gchq.gaffer.store.library
Class HashMapGraphLibrary
- java.lang.Object
-
- uk.gov.gchq.gaffer.store.library.GraphLibrary
-
- uk.gov.gchq.gaffer.store.library.HashMapGraphLibrary
-
public class HashMapGraphLibrary extends GraphLibrary
AHashMapGraphLibrary
stores aGraphLibrary
within three HashMaps.
-
-
Field Summary
-
Fields inherited from class uk.gov.gchq.gaffer.store.library.GraphLibrary
A_GRAPH_LIBRARY_CAN_T_BE_ADDED_WITH_A_NULL_S_GRAPH_ID_S
-
-
Constructor Summary
Constructors Constructor Description HashMapGraphLibrary()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
clear()
Pair<String,String>
getIds(String graphId)
Gets the Schema Id and StoreProperties Id related to the graphId.void
initialise(String path)
String
toString()
-
Methods inherited from class uk.gov.gchq.gaffer.store.library.GraphLibrary
add, add, addOrUpdate, addOrUpdate, addOrUpdateProperties, addOrUpdateSchema, addProperties, addSchema, checkExisting, exists, get, getProperties, getSchema, resolveSchema, resolveStoreProperties
-
-
-
-
Method Detail
-
clear
public static void clear()
-
initialise
public void initialise(String path)
- Specified by:
initialise
in classGraphLibrary
-
getIds
public Pair<String,String> getIds(String graphId)
Description copied from class:GraphLibrary
Gets the Schema Id and StoreProperties Id related to the graphId.- Specified by:
getIds
in classGraphLibrary
- Parameters:
graphId
- The graphId.- Returns:
- A
uk.gov.gchq.gaffer.commonutil.pair
containing related Schema Id and StoreProperties Id.
-
-