use of uk.gov.gchq.gaffer.accumulostore.operation.handler.SummariseGroupOverRangesHandler in project Gaffer by gchq.
the class AccumuloStore method addAdditionalOperationHandlers.
@Override
protected void addAdditionalOperationHandlers() {
addOperationHandler(AddElementsFromHdfs.class, new AddElementsFromHdfsHandler());
addOperationHandler(GetElementsBetweenSets.class, new GetElementsBetweenSetsHandler());
addOperationHandler(GetElementsWithinSet.class, new GetElementsWithinSetHandler());
addOperationHandler(SplitStoreFromFile.class, new HdfsSplitStoreFromFileHandler());
addOperationHandler(SplitStoreFromIterable.class, new SplitStoreFromIterableHandler());
addOperationHandler(SplitStore.class, new SplitStoreHandler());
addOperationHandler(SampleElementsForSplitPoints.class, new SampleElementsForSplitPointsHandler());
addOperationHandler(GenerateSplitPointsFromSample.class, new GenerateSplitPointsFromSampleHandler());
addOperationHandler(SampleDataForSplitPoints.class, new SampleDataForSplitPointsHandler());
addOperationHandler(ImportAccumuloKeyValueFiles.class, new ImportAccumuloKeyValueFilesHandler());
if (null == getSchema().getVertexSerialiser() || getSchema().getVertexSerialiser().preservesObjectOrdering()) {
addOperationHandler(SummariseGroupOverRanges.class, new SummariseGroupOverRangesHandler());
addOperationHandler(GetElementsInRanges.class, new GetElementsInRangesHandler());
} else {
LOGGER.warn("Accumulo range scan operations will not be available on this store as the vertex serialiser does not preserve object ordering. Vertex serialiser: {}", getSchema().getVertexSerialiser().getClass().getName());
}
}
Aggregations