@Test public void testHllMetricRevisor(){ ResultNode node = new ResultNode("testDim", "testDim"); node.setName("testDim"); node.setValue(10); Set<String> hllSet=new HashSet<String>(); hllSet.add("testDim"); HllMetricRevisor revisor=new HllMetricRevisor(hllSet); revisor.revise(node); assertTrue(10L==(Long)node.getValue()); }
public HllMetricRevisor(Set<String> hllSet) { this.hllSet = hllSet; }
HllMetricRevisor implements ResultRevisor { public HllMetricRevisor(Set<String> hllSet) { this.hllSet = hllSet; } }
HllMetricRevisor implements ResultRevisor { public HllMetricRevisor(Set<String> hllSet) { this.hllSet = hllSet; } HllMetricRevisor(Set<String> hllSet); }
HllMetricRevisor implements ResultRevisor { public HllMetricRevisor(Set<String> hllSet) { this.hllSet = hllSet; } HllMetricRevisor(Set<String> hllSet); @Override void revise(ResultNode node); }
HllMetricRevisor implements ResultRevisor { public HllMetricRevisor(Set<String> hllSet) { this.hllSet = hllSet; } HllMetricRevisor(Set<String> hllSet); @Override void revise(ResultNode node); public Set<String> hllSet; }