Class GraphConfigurationService
- java.lang.Object
-
- uk.gov.gchq.gaffer.rest.service.v1.GraphConfigurationService
-
- All Implemented Interfaces:
IGraphConfigurationService
public class GraphConfigurationService extends Object implements IGraphConfigurationService
An implementation ofIGraphConfigurationService
. By default it will use a singletonGraph
generated using theGraphFactory
.Currently the
Operation
s,Predicate
s,Function
s andElementGenerator
s available are only returned if they are in a package prefixed with 'gaffer'.
-
-
Field Summary
-
Fields inherited from interface uk.gov.gchq.gaffer.rest.service.v1.IGraphConfigurationService
LIST
-
-
Constructor Summary
Constructors Constructor Description GraphConfigurationService()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDescription()
Set<Class>
getElementGenerators()
Set<Class>
getFilterFunctions()
Set<Class>
getFilterFunctions(String inputClass)
Set<Class>
getNextOperations(String operationClassName)
Set<Class>
getObjectGenerators()
Set<Class>
getOperations()
Schema
getSchema()
Set<String>
getSerialisedFields(String className)
Set<StoreTrait>
getStoreTraits()
Set<Class>
getTransformFunctions()
static void
initialise()
Boolean
isOperationSupported(Class operation)
-
-
-
Method Detail
-
initialise
public static void initialise()
-
getSchema
public Schema getSchema()
- Specified by:
getSchema
in interfaceIGraphConfigurationService
-
getDescription
public String getDescription()
- Specified by:
getDescription
in interfaceIGraphConfigurationService
-
getFilterFunctions
public Set<Class> getFilterFunctions()
- Specified by:
getFilterFunctions
in interfaceIGraphConfigurationService
-
getFilterFunctions
public Set<Class> getFilterFunctions(String inputClass)
- Specified by:
getFilterFunctions
in interfaceIGraphConfigurationService
-
getSerialisedFields
public Set<String> getSerialisedFields(String className)
- Specified by:
getSerialisedFields
in interfaceIGraphConfigurationService
-
getTransformFunctions
public Set<Class> getTransformFunctions()
- Specified by:
getTransformFunctions
in interfaceIGraphConfigurationService
-
getStoreTraits
public Set<StoreTrait> getStoreTraits()
- Specified by:
getStoreTraits
in interfaceIGraphConfigurationService
-
getNextOperations
public Set<Class> getNextOperations(String operationClassName)
- Specified by:
getNextOperations
in interfaceIGraphConfigurationService
-
getElementGenerators
public Set<Class> getElementGenerators()
- Specified by:
getElementGenerators
in interfaceIGraphConfigurationService
-
getObjectGenerators
public Set<Class> getObjectGenerators()
- Specified by:
getObjectGenerators
in interfaceIGraphConfigurationService
-
getOperations
public Set<Class> getOperations()
- Specified by:
getOperations
in interfaceIGraphConfigurationService
-
isOperationSupported
public Boolean isOperationSupported(Class operation)
- Specified by:
isOperationSupported
in interfaceIGraphConfigurationService
-
-