MCPcopy
hub / github.com/OpenTSDB/opentsdb / compare

Method compare

src/query/QueryUtil.java:390–393  ·  view source on GitHub ↗
(FuzzyFilterPair pair1, FuzzyFilterPair pair2)

Source from the content-addressed store, hash-verified

388 */
389 private static class FuzzyFilterComparator implements Comparator<FuzzyFilterPair> {
390 @Override
391 public int compare(FuzzyFilterPair pair1, FuzzyFilterPair pair2) {
392 return Bytes.memcmp(pair2.getRowKey(), pair1.getRowKey());
393 }
394 }
395 private static FuzzyFilterComparator FUZZY_FILTER_CMP = new FuzzyFilterComparator();
396

Callers 1

compareToMethod · 0.45

Calls 1

getRowKeyMethod · 0.45

Tested by

no test coverage detected