Class GetAllGraphInfoHandler
- java.lang.Object
-
- uk.gov.gchq.gaffer.federated.simple.operation.handler.get.GetAllGraphInfoHandler
-
- All Implemented Interfaces:
OperationHandler<GetAllGraphInfo>,OutputOperationHandler<GetAllGraphInfo,Map<String,Object>>
public class GetAllGraphInfoHandler extends Object implements OutputOperationHandler<GetAllGraphInfo,Map<String,Object>>
Simple handler for getting information about the graphs contained in the federated store
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_GRAPH_IDSstatic StringDESCRIPTIONstatic StringHOOKSstatic StringIS_PUBLICstatic StringOP_DECLARATIONSstatic StringOWNERstatic StringPROPERTIESstatic StringSTORE_CLASS
-
Constructor Summary
Constructors Constructor Description GetAllGraphInfoHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>doOperation(GetAllGraphInfo operation, Context context, Store store)Execute the givenOutputoperation.
-
-
-
Field Detail
-
DESCRIPTION
public static final String DESCRIPTION
- See Also:
- Constant Field Values
-
HOOKS
public static final String HOOKS
- See Also:
- Constant Field Values
-
STORE_CLASS
public static final String STORE_CLASS
- See Also:
- Constant Field Values
-
PROPERTIES
public static final String PROPERTIES
- See Also:
- Constant Field Values
-
OP_DECLARATIONS
public static final String OP_DECLARATIONS
- See Also:
- Constant Field Values
-
OWNER
public static final String OWNER
- See Also:
- Constant Field Values
-
IS_PUBLIC
public static final String IS_PUBLIC
- See Also:
- Constant Field Values
-
DEFAULT_GRAPH_IDS
public static final String DEFAULT_GRAPH_IDS
- See Also:
- Constant Field Values
-
-
Method Detail
-
doOperation
public Map<String,Object> doOperation(GetAllGraphInfo operation, Context context, Store store) throws OperationException
Description copied from interface:OutputOperationHandlerExecute the givenOutputoperation.- Specified by:
doOperationin interfaceOperationHandler<GetAllGraphInfo>- Specified by:
doOperationin interfaceOutputOperationHandler<GetAllGraphInfo,Map<String,Object>>- Parameters:
operation- theOutputoperation to be executedcontext- the operation chain context, containing the user who executed the operationstore- theStorethe operation should be run on- Returns:
- the output for the operation.
- Throws:
OperationException- thrown if the operation fails
-
-