Search in sources :

Example 6 with StoreAggregationProcessor

use of uk.gov.gchq.gaffer.hbasestore.coprocessor.processor.StoreAggregationProcessor in project Gaffer by gchq.

the class StoreScanner method createProcessors.

protected static List<GafferScannerProcessor> createProcessors(final Schema schema, final ElementSerialisation serialisation) {
    final List<GafferScannerProcessor> processors = new ArrayList<>();
    if (schema.isAggregationEnabled()) {
        processors.add(new StoreAggregationProcessor(serialisation, schema));
    }
    processors.add(new ValidationProcessor(schema));
    return processors;
}
Also used : StoreAggregationProcessor(uk.gov.gchq.gaffer.hbasestore.coprocessor.processor.StoreAggregationProcessor) GafferScannerProcessor(uk.gov.gchq.gaffer.hbasestore.coprocessor.processor.GafferScannerProcessor) ArrayList(java.util.ArrayList) ValidationProcessor(uk.gov.gchq.gaffer.hbasestore.coprocessor.processor.ValidationProcessor)

Aggregations

GafferScannerProcessor (uk.gov.gchq.gaffer.hbasestore.coprocessor.processor.GafferScannerProcessor)6 StoreAggregationProcessor (uk.gov.gchq.gaffer.hbasestore.coprocessor.processor.StoreAggregationProcessor)6 ValidationProcessor (uk.gov.gchq.gaffer.hbasestore.coprocessor.processor.ValidationProcessor)6 Scan (org.apache.hadoop.hbase.client.Scan)4 Test (org.junit.jupiter.api.Test)4 ElementDedupeFilterProcessor (uk.gov.gchq.gaffer.hbasestore.coprocessor.processor.ElementDedupeFilterProcessor)3 GroupFilterProcessor (uk.gov.gchq.gaffer.hbasestore.coprocessor.processor.GroupFilterProcessor)3 PostAggregationFilterProcessor (uk.gov.gchq.gaffer.hbasestore.coprocessor.processor.PostAggregationFilterProcessor)3 PreAggregationFilterProcessor (uk.gov.gchq.gaffer.hbasestore.coprocessor.processor.PreAggregationFilterProcessor)3 QueryAggregationProcessor (uk.gov.gchq.gaffer.hbasestore.coprocessor.processor.QueryAggregationProcessor)3 ArrayList (java.util.ArrayList)2 View (uk.gov.gchq.gaffer.data.elementdefinition.view.View)1