Package uk.gov.gchq.gaffer.store.library
Class NoGraphLibrary
- java.lang.Object
-
- uk.gov.gchq.gaffer.store.library.GraphLibrary
-
- uk.gov.gchq.gaffer.store.library.NoGraphLibrary
-
public class NoGraphLibrary extends GraphLibrary
ANoGraphLibrary
will not store any relationships between graphIds, storePropertiesIds or schemaIds.
-
-
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 NoGraphLibrary()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Pair<String,String>
getIds(String graphId)
Gets the Schema Id and StoreProperties Id related to the graphId.void
initialise(String path)
-
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
-
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.
-
-