rowFilter.setRowAlias(alias);
DoubleComparator expectedComp = new DoubleComparator(123, 0, 8);
RowFilter expectedFilter = new RowFilter(CompareOp.EQUAL, expectedComp);
Mapping mapping = new Mapping();
Map<String, RowAlias> rowAliases = new TreeMap<String, RowAlias>();
rowAliases.put(alias.getAlias(), alias);
mapping.setRowAlias(rowAliases);
RowFilter filterReturned = HBaseFilterFactory.getRowFilter(rowFilter,
mapping);
DoubleComparator returnedComparator = (DoubleComparator) filterReturned
.getComparator();