use of org.apache.ignite.internal.metastorage.watch.KeyCriterion in project ignite-3 by apache.
the class WatchAggregatorTest method testOneCriterionInference.
@Test
public void testOneCriterionInference() {
var watchAggregator = new WatchAggregator();
watchAggregator.add(new ByteArray("key"), null);
var keyCriterion = watchAggregator.watch(0, null).get().keyCriterion();
assertEquals(new KeyCriterion.ExactCriterion(new ByteArray("key")), keyCriterion);
}
Aggregations