tlc.core.objects.tables.from_table.filtered_table_criteria.filter_criterion¶
Module Contents¶
Classes¶
Class |
Description |
|---|---|
The base class for all filter criteria. |
API¶
- class ColumnFilterCriterion( )¶
Bases:
tlc.core.objects.tables.from_table.filtered_table_criteria.filter_criterion.FilterCriterion
- class FilterCriterion(
- init_parameters: Any = None,
Bases:
tlc.core.object.ObjectThe base class for all filter criteria.
A filter criterion is a predicate that can be applied to a row’s attributes to determine whether the row matches the criterion.
- Parameters:
url – The URL of the object.
created – The creation time of the object.
init_parameters – A dictionary containing the initial values of the object’s properties.
- filter_matches( ) bool¶
Determines whether the filter criterion matches the given row.
- Parameters:
row – The row to test.
schema – The schema of the row.
- Returns:
True if the row matches the filter criterion, False otherwise.
- abstract static from_any(
- any_value: Mapping | FilterCriterion,