code: @Override
    public void adapt(Scan scan, ReadHooks readHooks, Query query) {
      throwIfUnsupportedScan(scan);
  
      toByteStringRange(scan, query);
      query.filter(buildFilter(scan, readHooks));
  
      if (LIMIT_AVAILABLE && scan.getLimit() > 0) {
        query.limit(scan.getLimit());
      }
    }
docs: {@inheritDoc}