Search in sources :

Example 1 with DevNull

use of org.apache.accumulo.core.iterators.DevNull in project accumulo by apache.

the class StatusCombinerTest method initCombiner.

@Before
public void initCombiner() throws IOException {
    key = new Key();
    combiner = new StatusCombiner();
    builder = Status.newBuilder();
    IteratorSetting cfg = new IteratorSetting(50, StatusCombiner.class);
    Combiner.setColumns(cfg, Collections.singletonList(new Column(StatusSection.NAME)));
    combiner.init(new DevNull(), cfg.getOptions(), new TestIE());
}
Also used : IteratorSetting(org.apache.accumulo.core.client.IteratorSetting) Column(org.apache.accumulo.core.client.IteratorSetting.Column) DevNull(org.apache.accumulo.core.iterators.DevNull) Key(org.apache.accumulo.core.data.Key) Before(org.junit.Before)

Aggregations

IteratorSetting (org.apache.accumulo.core.client.IteratorSetting)1 Column (org.apache.accumulo.core.client.IteratorSetting.Column)1 Key (org.apache.accumulo.core.data.Key)1 DevNull (org.apache.accumulo.core.iterators.DevNull)1 Before (org.junit.Before)1