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 ) ; } }
Throw a new UnsupportedFilterException if the given filter cannot be adapted to bigtable reader expressions .