delta_trace_db.query.nodes.query_node¶
Classes
- class delta_trace_db.query.nodes.query_node.QueryNode¶
Bases:
ABC- abstractmethod evaluate(data: Dict[str, Any]) bool¶
(en) Returns true if the object matches the calculation.
(ja) 計算と一致するオブジェクトだった場合はtrueを返します。
- classmethod from_dict(src: Dict[str, Any]) QueryNode¶
(en) Restore this object from the dictionary.
(ja) このオブジェクトを辞書から復元します。
- Parameters:
src (Dict[str, Any]) – A dictionary made with to_dict of this class.
- abstractmethod to_dict() Dict[str, Any]¶
(en) Convert the object to a dictionary. The returned dictionary can only contain primitive types, null, lists or dicts with only primitive elements. If you want to include other classes, the target class should inherit from this class and chain calls toDict.
(ja) このオブジェクトを辞書に変換します。 戻り値の辞書にはプリミティブ型かプリミティブ型要素のみのリスト またはDict等、そしてnullのみを含められます。 それ以外のクラスを含めたい場合、対象のクラスもこのクラスを継承し、 toDictを連鎖的に呼び出すようにしてください。