neosqlite.collection.expr_evaluator.python_evaluators package¶
Submodules¶
- neosqlite.collection.expr_evaluator.python_evaluators.array_ops module
- neosqlite.collection.expr_evaluator.python_evaluators.base module
BasePythonMixinBasePythonMixin._log2_warnedBasePythonMixin._evaluate_operand_python()BasePythonMixin._evaluate_expr_python()BasePythonMixin._evaluate_arithmetic_python()BasePythonMixin._evaluate_math_python()BasePythonMixin._evaluate_pow_python()BasePythonMixin._evaluate_sqrt_python()BasePythonMixin._evaluate_trig_python()BasePythonMixin._evaluate_angle_python()BasePythonMixin._evaluate_array_python()BasePythonMixin._evaluate_array_transform_python()BasePythonMixin._evaluate_string_python()BasePythonMixin._evaluate_date_python()BasePythonMixin._evaluate_date_arithmetic_python()BasePythonMixin._evaluate_object_python()BasePythonMixin._evaluate_type_python()BasePythonMixin._evaluate_data_size_python()
- neosqlite.collection.expr_evaluator.python_evaluators.core module
CorePythonMixinCorePythonMixin.evaluate_python()CorePythonMixin._evaluate_expr_python()CorePythonMixin._evaluate_logical_python()CorePythonMixin._evaluate_comparison_python()CorePythonMixin._evaluate_cmp_python()CorePythonMixin._evaluate_cond_python()CorePythonMixin._evaluate_ifNull_python()CorePythonMixin._evaluate_switch_python()CorePythonMixin._evaluate_literal_python()CorePythonMixin._evaluate_operand_python()
- neosqlite.collection.expr_evaluator.python_evaluators.date_ops module
- neosqlite.collection.expr_evaluator.python_evaluators.math_ops module
- neosqlite.collection.expr_evaluator.python_evaluators.object_ops module
- neosqlite.collection.expr_evaluator.python_evaluators.string_ops module
- neosqlite.collection.expr_evaluator.python_evaluators.type_ops module
TypePythonMixinTypePythonMixin._evaluate_type_python()TypePythonMixin._convert_to_int()TypePythonMixin._convert_to_long()TypePythonMixin._convert_to_double()TypePythonMixin._convert_to_decimal()TypePythonMixin._convert_to_string()TypePythonMixin._convert_to_bool()TypePythonMixin._convert_to_objectid()TypePythonMixin._convert_to_bindata()TypePythonMixin._convert_to_bsonbindata()TypePythonMixin._convert_to_regex()TypePythonMixin._convert_to_bsonregex()TypePythonMixin._convert_to_date()TypePythonMixin._convert_to_null()TypePythonMixin._get_bson_type()
Module contents¶
Python evaluation methods for NeoSQLite $expr operator.
Provides PythonEvaluatorsMixin, composed from domain-specific mixins, as the fallback when SQL evaluation is not possible or the kill switch is activated.
- class neosqlite.collection.expr_evaluator.python_evaluators.PythonEvaluatorsMixin[source]¶
Bases:
MathPythonMixin,ArrayPythonMixin,StringPythonMixin,DatePythonMixin,ObjectPythonMixin,TypePythonMixin,CorePythonMixinMixin class providing Python evaluation methods for $expr expressions.
This mixin provides fallback evaluation capabilities when SQL-based evaluation (Tier 1 and Tier 2) is not possible or when the kill switch is activated.
- _log2_warned: bool¶