Skip to content

hsfs.constructor.filter #

Filter #

feature property #

feature: feature.Feature

The feature the filter is applied on.

condition property #

condition: Literal[
    "GREATER_THAN_OR_EQUAL",
    "GREATER_THAN",
    "NOT_EQUALS",
    "EQUALS",
    "LESS_THAN_OR_EQUAL",
    "LESS_THAN",
    "IN",
    "LIKE",
]

Condition of the filter.

value property #

value: Any

Value of the filter.

Logic #

type property #

type: Literal['AND', 'OR', 'SINGLE'] | None

Type of the logical operator.

get_left_filter_or_logic #

get_left_filter_or_logic() -> Filter | Logic

Left side of the logical operator.

RETURNS DESCRIPTION
Filter | Logic

The left side of the logical operator.

get_right_filter_or_logic #

get_right_filter_or_logic() -> Filter | Logic | None

Right side of the logical operator.

RETURNS DESCRIPTION
Filter | Logic | None

The right side of the logical operator.