use of uk.gov.gchq.gaffer.graph.hook.OperationChainLimiter in project Gaffer by gchq.
the class GraphConfigTest method getTestObject.
@Override
protected GraphConfig getTestObject() {
final String graphId = "graphId";
final GraphLibrary library = new HashMapGraphLibrary();
final View view = new View.Builder().globalElements(new GlobalViewElementDefinition.Builder().groupBy().build()).build();
final GraphHook hook1 = new AddOperationsToChain();
final GraphHook hook2 = new OperationChainLimiter();
return new GraphConfig.Builder().graphId(graphId).library(library).description("testGraphConfig").addHook(hook1).addHook(hook2).view(view).build();
}
Aggregations