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
AHashMapGraphLibrarystores aGraphLibrarywithin 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 voidclear()Pair<String,String>getIds(String graphId)Gets the Schema Id and StoreProperties Id related to the graphId.voidinitialise(String path)StringtoString()-
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:
initialisein classGraphLibrary
-
getIds
public Pair<String,String> getIds(String graphId)
Description copied from class:GraphLibraryGets the Schema Id and StoreProperties Id related to the graphId.- Specified by:
getIdsin classGraphLibrary- Parameters:
graphId- The graphId.- Returns:
- A
uk.gov.gchq.gaffer.commonutil.paircontaining related Schema Id and StoreProperties Id.
-
-