mini\Table\Wrappers\FilteredTable
class
Documentation
Filters rows from source table using a column/operator/value condition
Unlike AbstractTableWrapper's default pushdown behavior, FilteredTable applies filtering in-memory during materialization. This is used by BarrierTable to filter already-selected rows.
new FilteredTable($source, 'status', Operator::Eq, 'active')
new FilteredTable($source, 'age', Operator::Gte, 18)
new FilteredTable($source, 'id', Operator::In, $setOfIds)
Inheritance
Extends: mini\Table\Wrappers\AbstractTableWrapper
Implements:
mini\Table\Contracts\TableInterface
Traversable
Countable
IteratorAggregate
mini\Table\Contracts\SetInterface
Uses Traits:
mini\Table\Utility\TablePropertiesTrait
Properties (9)
string $column
mixed $value
Closure $compareFn
int $limit
int $offset
array $props
Methods (56)
Documentation missing
Documentation missing
Documentation missing
Documentation missing
Test if a row matches this filter
Documentation missing
Documentation missing
Documentation missing
Documentation missing
Documentation missing
Documentation missing
Documentation missing
Documentation missing
Documentation missing
Documentation missing
Documentation missing
Documentation missing
Documentation missing
Documentation missing
Documentation missing
Compare two values respecting column type
Documentation missing
Documentation missing
Documentation missing
Documentation missing
Documentation missing
Restore absorbed pagination to a replacement table
Documentation missing
Documentation missing
Documentation missing
Documentation missing
Documentation missing
Documentation missing
public
getSource()
inherited from Table\Wrappers\AbstractTableWrapper
Get the source table this wrapper delegates to
Get a property value
Check if a property exists (including null values)
public
getColumns()
inherited from Table\Wrappers\AbstractTableWrapper
Documentation missing
public
getAllColumns()
inherited from Table\Wrappers\AbstractTableWrapper
Documentation missing
public
columns()
inherited from Table\Wrappers\AbstractTableWrapper
Documentation missing
protected
getCompareFn()
inherited from Table\Wrappers\AbstractTableWrapper
Documentation missing
public
in()
inherited from Table\Wrappers\AbstractTableWrapper
Documentation missing
public
like()
inherited from Table\Wrappers\AbstractTableWrapper
Documentation missing
public
or()
inherited from Table\Wrappers\AbstractTableWrapper
Documentation missing
public
__clone()
inherited from Table\AbstractTable
Hook for subclasses to customize clone behavior
public
getRowKeyColumns()
inherited from Table\AbstractTable
Get column name(s) that the row key represents
public
getLimit()
inherited from Table\AbstractTable
Documentation missing
public
getOffset()
inherited from Table\AbstractTable
Documentation missing
public
withAlias()
inherited from Table\AbstractTable
Documentation missing
public
getTableAlias()
inherited from Table\AbstractTable
Get the current table alias (null if not set)
public
union()
inherited from Table\AbstractTable
Documentation missing
public
except()
inherited from Table\AbstractTable
Documentation missing
public
distinct()
inherited from Table\AbstractTable
Documentation missing
public
exists()
inherited from Table\AbstractTable
Documentation missing
protected
getPrimaryKeyColumn()
inherited from Table\AbstractTable
Get the primary key column definition (cached)
public
final
getIterator()
inherited from Table\AbstractTable
Iterate over rows with visible columns only
Return table with property set