code: @Override
    public Filter adapt(FilterAdapterContext context, ColumnPaginationFilter filter)
        throws IOException {
      //REVISIT:
      if (filter.getColumnOffset() != null) {
        byte[] family = context.getScan().getFamilies()[0];
        ByteString startQualifier = ByteString.copyFrom(filter.getColumnOffset());
        // Include all cells starting at the qualifier scan.getColumnOffset()
        // up to limit cells.
        return createChain(
            filter,
            FILTERS.qualifier().rangeWithinFamily(Bytes.toString(family))
                .startClosed(startQualifier));
      } else if (filter.getOffset() > 0) {
        // Include starting at an integer offset up to limit cells.
        return createChain(
            filter,
            FILTERS.offset().cellsPerRow(filter.getOffset()));
      } else {
        // No meaningful offset supplied.
        return createChain(filter, null);
      }
    }
docs: {@inheritDoc}