Search in sources :

Example 1 with SupportsPushDownFilters

use of org.apache.spark.sql.connector.read.SupportsPushDownFilters in project iceberg by apache.

the class TestFilteredScan method pushFilters.

private void pushFilters(ScanBuilder scan, Filter... filters) {
    Assertions.assertThat(scan).isInstanceOf(SupportsPushDownFilters.class);
    SupportsPushDownFilters filterable = (SupportsPushDownFilters) scan;
    filterable.pushFilters(filters);
}
Also used : SupportsPushDownFilters(org.apache.spark.sql.connector.read.SupportsPushDownFilters)

Aggregations

SupportsPushDownFilters (org.apache.spark.sql.connector.read.SupportsPushDownFilters)1