@Test public void timestampFiltersAreAdapted() { TimestampRangeFilter filter = new TimestampRangeFilter(10L, 20L); Filters.Filter expectedFilter = filterAdapter.adapt(emptyScanContext, filter); TimestampRange expectedTimestampFilter = expectedFilter.toProto().getTimestampRangeFilter(); Assert.assertEquals(10000L, expectedTimestampFilter.getStartTimestampMicros()); Assert.assertEquals(20000L, expectedTimestampFilter.getEndTimestampMicros()); }
@Override public Filter adapt(FilterAdapterContext context, TimestampRangeFilter filter) { return TimestampFilterUtil.hbaseToTimestampRangeFilter( filter.getStartTimestampInclusive(), filter.getEndTimestampExclusive()); }
TimestampRangeFilterAdapter extends TypedFilterAdapterBase<TimestampRangeFilter> { @Override public Filter adapt(FilterAdapterContext context, TimestampRangeFilter filter) { return TimestampFilterUtil.hbaseToTimestampRangeFilter( filter.getStartTimestampInclusive(), filter.getEndTimestampExclusive()); } }
TimestampRangeFilterAdapter extends TypedFilterAdapterBase<TimestampRangeFilter> { @Override public Filter adapt(FilterAdapterContext context, TimestampRangeFilter filter) { return TimestampFilterUtil.hbaseToTimestampRangeFilter( filter.getStartTimestampInclusive(), filter.getEndTimestampExclusive()); }  }
TimestampRangeFilterAdapter extends TypedFilterAdapterBase<TimestampRangeFilter> { @Override public Filter adapt(FilterAdapterContext context, TimestampRangeFilter filter) { return TimestampFilterUtil.hbaseToTimestampRangeFilter( filter.getStartTimestampInclusive(), filter.getEndTimestampExclusive()); }  @Override Filter adapt(FilterAdapterContext context, TimestampRangeFilter filter); @Override FilterSupportStatus isFilterSupported(
      FilterAdapterContext context, TimestampRangeFilter filter); }
TimestampRangeFilterAdapter extends TypedFilterAdapterBase<TimestampRangeFilter> { @Override public Filter adapt(FilterAdapterContext context, TimestampRangeFilter filter) { return TimestampFilterUtil.hbaseToTimestampRangeFilter( filter.getStartTimestampInclusive(), filter.getEndTimestampExclusive()); }  @Override Filter adapt(FilterAdapterContext context, TimestampRangeFilter filter); @Override FilterSupportStatus isFilterSupported(
      FilterAdapterContext context, TimestampRangeFilter filter);  }