Class GetSchemaHandler
- java.lang.Object
-
- uk.gov.gchq.gaffer.federated.simple.operation.handler.FederatedOperationHandler<P>
-
- uk.gov.gchq.gaffer.federated.simple.operation.handler.FederatedOutputHandler<GetSchema,Schema>
-
- uk.gov.gchq.gaffer.federated.simple.operation.handler.get.GetSchemaHandler
-
- All Implemented Interfaces:
OperationHandler<GetSchema>,OutputOperationHandler<GetSchema,Schema>
public class GetSchemaHandler extends FederatedOutputHandler<GetSchema,Schema>
Simple handler for merging schemas from multiple graphs.
-
-
Field Summary
-
Fields inherited from class uk.gov.gchq.gaffer.federated.simple.operation.handler.FederatedOperationHandler
DFLT_FIX_OP_LIMIT, OPT_AGGREGATE_ELEMENTS, OPT_EXCLUDE_GRAPH_IDS, OPT_FIX_OP_LIMIT, OPT_GRAPH_IDS, OPT_SEPARATE_RESULTS, OPT_SHORT_GRAPH_IDS, OPT_SKIP_FAILED_EXECUTE, OPT_USE_DFLT_GRAPH_IDS
-
-
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 givenOperation.
-
-
-
Method Detail
-
doOperation
public Schema doOperation(GetSchema operation, Context context, Store store) throws OperationException
Description copied from interface:OperationHandlerExecute the givenOperation.- Specified by:
doOperationin interfaceOperationHandler<GetSchema>- Specified by:
doOperationin interfaceOutputOperationHandler<GetSchema,Schema>- Overrides:
doOperationin classFederatedOutputHandler<GetSchema,Schema>- Parameters:
operation- theOperationto 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 or null.
- Throws:
OperationException- thrown if the operation fails
-
-