code: public void throwIfUnsupportedFilter(Scan scan, Filter filter) {
      List<FilterSupportStatus> filterSupportStatuses = new ArrayList<>();
      FilterAdapterContext context = new FilterAdapterContext(scan, null);
      collectUnsupportedStatuses(context, filter, filterSupportStatuses);
      if (!filterSupportStatuses.isEmpty()) {
        throw new UnsupportedFilterException(filterSupportStatuses);
      }
    }
docs: Throw a new UnsupportedFilterException if the given filter cannot be adapted to bigtable
  reader expressions.
  
  @param scan a {@link org.apache.hadoop.hbase.client.Scan} object.
  @param filter a {@link org.apache.hadoop.hbase.filter.Filter} object.