Class GetSchemaHandler
- java.lang.Object
-
- uk.gov.gchq.gaffer.store.operation.handler.GetSchemaHandler
-
- All Implemented Interfaces:
OperationHandler<GetSchema>,OutputOperationHandler<GetSchema,Schema>
public class GetSchemaHandler extends Object implements OutputOperationHandler<GetSchema,Schema>
AGetSchemaHandlerhandles theGetSchemaoperation.
-
-
Constructor Summary
Constructors Constructor Description GetSchemaHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SchemadoOperation(GetSchema operation, Context context, Store store)Execute the givenOutputoperation.
-
-
-
Method Detail
-
doOperation
public Schema doOperation(GetSchema operation, Context context, Store store) throws OperationException
Description copied from interface:OutputOperationHandlerExecute the givenOutputoperation.- Specified by:
doOperationin interfaceOperationHandler<GetSchema>- Specified by:
doOperationin interfaceOutputOperationHandler<GetSchema,Schema>- 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
-
-