@Test public void allVersionComparisonAreDone() throws IOException { byte[] filterValue = Bytes.toBytes("foobar"); byte[] qualifier = Bytes.toBytes("someColumn"); byte[] family = Bytes.toBytes("f"); SingleColumnValueFilter filter = new SingleColumnValueFilter( family, qualifier, CompareFilter.CompareOp.EQUAL, new BinaryComparator(filterValue)); filter.setFilterIfMissing(false); filter.setLatestVersionOnly(false); Filters.Filter adaptedFilter = UNDER_TEST.adapt(new FilterAdapterContext(new Scan(), null), filter); assertFilterIfNotMIssingMatches(family, qualifier, filterValue, false, adaptedFilter); }
@Override public Filter adapt(FilterAdapterContext context, SingleColumnValueFilter filter) throws IOException { return toFilter(context, filter); }
SingleColumnValueFilterAdapter extends TypedFilterAdapterBase<SingleColumnValueFilter> { @Override public Filter adapt(FilterAdapterContext context, SingleColumnValueFilter filter) throws IOException { return toFilter(context, filter); } }
SingleColumnValueFilterAdapter extends TypedFilterAdapterBase<SingleColumnValueFilter> { @Override public Filter adapt(FilterAdapterContext context, SingleColumnValueFilter filter) throws IOException { return toFilter(context, filter); } SingleColumnValueFilterAdapter(ValueFilterAdapter delegateAdapter); }
SingleColumnValueFilterAdapter extends TypedFilterAdapterBase<SingleColumnValueFilter> { @Override public Filter adapt(FilterAdapterContext context, SingleColumnValueFilter filter) throws IOException { return toFilter(context, filter); } SingleColumnValueFilterAdapter(ValueFilterAdapter delegateAdapter); @Override Filter adapt(FilterAdapterContext context, SingleColumnValueFilter filter); @Override FilterSupportStatus isFilterSupported(
      FilterAdapterContext context, SingleColumnValueFilter filter); }
SingleColumnValueFilterAdapter extends TypedFilterAdapterBase<SingleColumnValueFilter> { @Override public Filter adapt(FilterAdapterContext context, SingleColumnValueFilter filter) throws IOException { return toFilter(context, filter); } SingleColumnValueFilterAdapter(ValueFilterAdapter delegateAdapter); @Override Filter adapt(FilterAdapterContext context, SingleColumnValueFilter filter); @Override FilterSupportStatus isFilterSupported(
      FilterAdapterContext context, SingleColumnValueFilter filter);  }