code: public void throwIfUnsupportedScan(Scan scan) {
      if (scan.getFilter() != null) {
        filterAdapter.throwIfUnsupportedFilter(scan, scan.getFilter());
      }
  
      if (scan.getMaxResultsPerColumnFamily() != UNSET_MAX_RESULTS_PER_COLUMN_FAMILY) {
        throw new UnsupportedOperationException(
            "Limiting of max results per column family is not supported.");
      }
    }
docs: <p>throwIfUnsupportedScan.</p>
  
  @param scan a {@link Scan} object.