Package org.apache.calcite.schema
Interface FilterableTable
-
- All Superinterfaces:
Table
- All Known Implementing Classes:
CsvFilterableTable
public interface FilterableTable extends Table
Table that can be scanned, optionally applying supplied filter expressions, without creating an intermediate relational expression.- See Also:
ScannableTable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Enumerable<java.lang.Object[]>
scan(DataContext root, java.util.List<RexNode> filters)
Returns an enumerator over the rows in this Table.-
Methods inherited from interface org.apache.calcite.schema.Table
getJdbcTableType, getRowType, getStatistic, isRolledUp, rolledUpColumnValidInsideAgg
-
-
-
-
Method Detail
-
scan
Enumerable<java.lang.Object[]> scan(DataContext root, java.util.List<RexNode> filters)
Returns an enumerator over the rows in this Table. Each row is represented as an array of its column values.The list of filters is mutable. If the table can implement a particular filter, it should remove that filter from the list. If it cannot implement a filter, it should leave it in the list. Any filters remaining will be implemented by the consuming Calcite operator.
-
-