Search in sources :

Example 1 with SummariseGroupOverRangesHandler

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());
    }
}
Also used : SplitStoreHandler(uk.gov.gchq.gaffer.accumulostore.operation.hdfs.handler.SplitStoreHandler) HdfsSplitStoreFromFileHandler(uk.gov.gchq.gaffer.hdfs.operation.handler.HdfsSplitStoreFromFileHandler) ImportAccumuloKeyValueFilesHandler(uk.gov.gchq.gaffer.accumulostore.operation.hdfs.handler.ImportAccumuloKeyValueFilesHandler) SummariseGroupOverRangesHandler(uk.gov.gchq.gaffer.accumulostore.operation.handler.SummariseGroupOverRangesHandler) SampleDataForSplitPointsHandler(uk.gov.gchq.gaffer.accumulostore.operation.hdfs.handler.SampleDataForSplitPointsHandler) SampleElementsForSplitPointsHandler(uk.gov.gchq.gaffer.accumulostore.operation.handler.SampleElementsForSplitPointsHandler) GetElementsWithinSetHandler(uk.gov.gchq.gaffer.accumulostore.operation.handler.GetElementsWithinSetHandler) SplitStoreFromIterableHandler(uk.gov.gchq.gaffer.accumulostore.operation.hdfs.handler.SplitStoreFromIterableHandler) GetElementsBetweenSetsHandler(uk.gov.gchq.gaffer.accumulostore.operation.handler.GetElementsBetweenSetsHandler) AddElementsFromHdfsHandler(uk.gov.gchq.gaffer.accumulostore.operation.hdfs.handler.AddElementsFromHdfsHandler) GetElementsInRangesHandler(uk.gov.gchq.gaffer.accumulostore.operation.handler.GetElementsInRangesHandler) GenerateSplitPointsFromSampleHandler(uk.gov.gchq.gaffer.accumulostore.operation.handler.GenerateSplitPointsFromSampleHandler)

Aggregations

GenerateSplitPointsFromSampleHandler (uk.gov.gchq.gaffer.accumulostore.operation.handler.GenerateSplitPointsFromSampleHandler)1 GetElementsBetweenSetsHandler (uk.gov.gchq.gaffer.accumulostore.operation.handler.GetElementsBetweenSetsHandler)1 GetElementsInRangesHandler (uk.gov.gchq.gaffer.accumulostore.operation.handler.GetElementsInRangesHandler)1 GetElementsWithinSetHandler (uk.gov.gchq.gaffer.accumulostore.operation.handler.GetElementsWithinSetHandler)1 SampleElementsForSplitPointsHandler (uk.gov.gchq.gaffer.accumulostore.operation.handler.SampleElementsForSplitPointsHandler)1 SummariseGroupOverRangesHandler (uk.gov.gchq.gaffer.accumulostore.operation.handler.SummariseGroupOverRangesHandler)1 AddElementsFromHdfsHandler (uk.gov.gchq.gaffer.accumulostore.operation.hdfs.handler.AddElementsFromHdfsHandler)1 ImportAccumuloKeyValueFilesHandler (uk.gov.gchq.gaffer.accumulostore.operation.hdfs.handler.ImportAccumuloKeyValueFilesHandler)1 SampleDataForSplitPointsHandler (uk.gov.gchq.gaffer.accumulostore.operation.hdfs.handler.SampleDataForSplitPointsHandler)1 SplitStoreFromIterableHandler (uk.gov.gchq.gaffer.accumulostore.operation.hdfs.handler.SplitStoreFromIterableHandler)1 SplitStoreHandler (uk.gov.gchq.gaffer.accumulostore.operation.hdfs.handler.SplitStoreHandler)1 HdfsSplitStoreFromFileHandler (uk.gov.gchq.gaffer.hdfs.operation.handler.HdfsSplitStoreFromFileHandler)1