delta_trace_db.query.nodes.comparison_node

Classes

FieldContains(field, value)

(en) Query node for "field.contains(value)" operation.

FieldEndsWith(field, value)

(en) Query node for "field.toString().endsWidth(value)" operation.

FieldEquals(field, value[, v_type])

(en) Query node for Equals (filed == value) operation.

FieldGreaterThan(field, value[, v_type])

(en) Query node for "field > value" operation.

FieldGreaterThanOrEqual(field, value[, v_type])

(en) Query node for "field >= value" operation.

FieldIn(field, values)

(en) Query node for "values.contains(field)" operation.

FieldLessThan(field, value[, v_type])

(en) Query node for "field < value" operation.

FieldLessThanOrEqual(field, value[, v_type])

(en) Query node for "field <= value" operation.

FieldMatchesRegex(field, pattern)

(en) Query node for "RegExp(pattern).hasMatch(field)" operation.

FieldNotEquals(field, value[, v_type])

(en) Query node for NotEquals (filed != value) operation.

FieldNotIn(field, values)

(en) Query node for "Not values.contains(field)" operation.

FieldStartsWith(field, value)

(en) Query node for "field.toString().startsWidth(value)" operation.

class delta_trace_db.query.nodes.comparison_node.FieldContains(field: str, value)

Bases: QueryNode

(en) Query node for “field.contains(value)” operation.

(ja) “field.contains(value)” 演算のためのクエリノード。

Parameters:
  • field (str,) – The target variable name.

  • value (Any) – The compare value.

evaluate(data: dict) bool

(en) Returns true if the object matches the calculation.

(ja) 計算と一致するオブジェクトだった場合はtrueを返します。

classmethod from_dict(src: dict)

(en) Restore this object from the dictionary.

(ja) このオブジェクトを辞書から復元します。

Parameters:

src (Dict[str, Any]) – A dictionary made with to_dict of this class.

to_dict() dict

(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を連鎖的に呼び出すようにしてください。

class delta_trace_db.query.nodes.comparison_node.FieldEndsWith(field: str, value: str)

Bases: QueryNode

(en) Query node for “field.toString().endsWidth(value)” operation.

(ja) “field.toString().endsWidth(value)” 演算のためのクエリノード。

Parameters:
  • field (str,) – The target variable name.

  • value (list) – The compare value.

evaluate(data: dict) bool

(en) Returns true if the object matches the calculation.

(ja) 計算と一致するオブジェクトだった場合はtrueを返します。

classmethod from_dict(src: dict)

(en) Restore this object from the dictionary.

(ja) このオブジェクトを辞書から復元します。

Parameters:

src (Dict[str, Any]) – A dictionary made with to_dict of this class.

to_dict() dict

(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を連鎖的に呼び出すようにしてください。

class delta_trace_db.query.nodes.comparison_node.FieldEquals(field: str, value: Any, v_type: EnumValueType = EnumValueType.auto_)

Bases: QueryNode

(en) Query node for Equals (filed == value) operation.

(ja) Equals (filed == value) 判定のためのクエリノード。

Parameters:
  • field (str,) – The target variable name.

  • value (Any) – The compare value. If DateTime is specified, it will be automatically converted to Iso8601String and vType will be set to EnumValueType.datetime_.

  • v_type (EnumValueType) – Specifies the comparison type during calculation. If you select anything other than auto_, the value will be cast to that type before the comparison is performed. When an exception occurs, such as a conversion failure, the result is always False.

evaluate(data: dict) bool

(en) Returns true if the object matches the calculation.

(ja) 計算と一致するオブジェクトだった場合はtrueを返します。

classmethod from_dict(src: dict)

(en) Restore this object from the dictionary.

(ja) このオブジェクトを辞書から復元します。

Parameters:

src (Dict[str, Any]) – A dictionary made with to_dict of this class.

to_dict() dict

(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を連鎖的に呼び出すようにしてください。

class delta_trace_db.query.nodes.comparison_node.FieldGreaterThan(field: str, value, v_type: EnumValueType = EnumValueType.auto_)

Bases: QueryNode

(en) Query node for “field > value” operation. If you try to compare objects that cannot be compared in magnitude, such as null or bool, the result will always be False.

(ja) “field > value” 判定のためのクエリノード。 null や bool など、大小比較できないオブジェクトを比較しようとすると、 結果は常に False になります。

Parameters:
  • field (str,) – The target variable name.

  • value (Any) – The compare value. If DateTime is specified, it will be automatically converted to Iso8601String and vType will be set to EnumValueType.datetime_.

  • v_type (EnumValueType) – Specifies the comparison type during calculation. If you select anything other than auto_, the value will be cast to that type before the comparison is performed. When an exception occurs, such as a conversion failure, the result is always False.

evaluate(data: dict) bool

(en) Returns true if the object matches the calculation.

(ja) 計算と一致するオブジェクトだった場合はtrueを返します。

classmethod from_dict(src: dict)

(en) Restore this object from the dictionary.

(ja) このオブジェクトを辞書から復元します。

Parameters:

src (Dict[str, Any]) – A dictionary made with to_dict of this class.

to_dict() dict

(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を連鎖的に呼び出すようにしてください。

class delta_trace_db.query.nodes.comparison_node.FieldGreaterThanOrEqual(field: str, value, v_type: EnumValueType = EnumValueType.auto_)

Bases: QueryNode

(en) Query node for “field >= value” operation. If you try to compare objects that cannot be compared in magnitude, such as null or bool, the result will always be False.

(ja) “field >= value” 判定のためのクエリノード。 null や bool など、大小比較できないオブジェクトを比較しようとすると、 結果は常に False になります。

Parameters:
  • field (str,) – The target variable name.

  • value (Any) – The compare value. If DateTime is specified, it will be automatically converted to Iso8601String and vType will be set to EnumValueType.datetime_.

  • v_type (EnumValueType) – Specifies the comparison type during calculation. If you select anything other than auto_, the value will be cast to that type before the comparison is performed. When an exception occurs, such as a conversion failure, the result is always False.

evaluate(data: dict) bool

(en) Returns true if the object matches the calculation.

(ja) 計算と一致するオブジェクトだった場合はtrueを返します。

classmethod from_dict(src: dict)

(en) Restore this object from the dictionary.

(ja) このオブジェクトを辞書から復元します。

Parameters:

src (Dict[str, Any]) – A dictionary made with to_dict of this class.

to_dict() dict

(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を連鎖的に呼び出すようにしてください。

class delta_trace_db.query.nodes.comparison_node.FieldIn(field: str, values: list)

Bases: QueryNode

(en) Query node for “values.contains(field)” operation.

(ja) “values.contains(field)” 演算のためのクエリノード。

Parameters:
  • field (str,) – The target variable name.

  • values (list) – The compare value.

evaluate(data: dict) bool

(en) Returns true if the object matches the calculation.

(ja) 計算と一致するオブジェクトだった場合はtrueを返します。

classmethod from_dict(src: dict)

(en) Restore this object from the dictionary.

(ja) このオブジェクトを辞書から復元します。

Parameters:

src (Dict[str, Any]) – A dictionary made with to_dict of this class.

to_dict() dict

(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を連鎖的に呼び出すようにしてください。

class delta_trace_db.query.nodes.comparison_node.FieldLessThan(field: str, value, v_type: EnumValueType = EnumValueType.auto_)

Bases: QueryNode

(en) Query node for “field < value” operation. If you try to compare objects that cannot be compared in magnitude, such as null or bool, the result will always be False.

(ja) “field < value” 判定のためのクエリノード。 null や bool など、大小比較できないオブジェクトを比較しようとすると、 結果は常に False になります。

Parameters:
  • field (str,) – The target variable name.

  • value (Any) – The compare value. If DateTime is specified, it will be automatically converted to Iso8601String and vType will be set to EnumValueType.datetime_.

  • v_type (EnumValueType) – Specifies the comparison type during calculation. If you select anything other than auto_, the value will be cast to that type before the comparison is performed. When an exception occurs, such as a conversion failure, the result is always False.

evaluate(data: dict) bool

(en) Returns true if the object matches the calculation.

(ja) 計算と一致するオブジェクトだった場合はtrueを返します。

classmethod from_dict(src: dict)

(en) Restore this object from the dictionary.

(ja) このオブジェクトを辞書から復元します。

Parameters:

src (Dict[str, Any]) – A dictionary made with to_dict of this class.

to_dict() dict

(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を連鎖的に呼び出すようにしてください。

class delta_trace_db.query.nodes.comparison_node.FieldLessThanOrEqual(field: str, value, v_type: EnumValueType = EnumValueType.auto_)

Bases: QueryNode

(en) Query node for “field <= value” operation. If you try to compare objects that cannot be compared in magnitude, such as null or bool, the result will always be False.

(ja) “field <= value” 判定のためのクエリノード。 null や bool など、大小比較できないオブジェクトを比較しようとすると、 結果は常に False になります。

Parameters:
  • field (str,) – The target variable name.

  • value (Any) – The compare value. If DateTime is specified, it will be automatically converted to Iso8601String and vType will be set to EnumValueType.datetime_.

  • v_type (EnumValueType) – Specifies the comparison type during calculation. If you select anything other than auto_, the value will be cast to that type before the comparison is performed. When an exception occurs, such as a conversion failure, the result is always False.

evaluate(data: dict) bool

(en) Returns true if the object matches the calculation.

(ja) 計算と一致するオブジェクトだった場合はtrueを返します。

classmethod from_dict(src: dict)

(en) Restore this object from the dictionary.

(ja) このオブジェクトを辞書から復元します。

Parameters:

src (Dict[str, Any]) – A dictionary made with to_dict of this class.

to_dict() dict

(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を連鎖的に呼び出すようにしてください。

class delta_trace_db.query.nodes.comparison_node.FieldMatchesRegex(field: str, pattern: str)

Bases: QueryNode

(en) Query node for “RegExp(pattern).hasMatch(field)” operation.

(ja) “RegExp(pattern).hasMatch(field)” 演算のためのクエリノード。

Parameters:
  • field (str,) – The target variable name.

  • pattern (str) – The compare pattern of regex.

evaluate(data: dict) bool

(en) Returns true if the object matches the calculation.

(ja) 計算と一致するオブジェクトだった場合はtrueを返します。

classmethod from_dict(src: dict)

(en) Restore this object from the dictionary.

(ja) このオブジェクトを辞書から復元します。

Parameters:

src (Dict[str, Any]) – A dictionary made with to_dict of this class.

to_dict() dict

(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を連鎖的に呼び出すようにしてください。

class delta_trace_db.query.nodes.comparison_node.FieldNotEquals(field: str, value, v_type: EnumValueType = EnumValueType.auto_)

Bases: QueryNode

(en) Query node for NotEquals (filed != value) operation.

(ja) NotEquals (filed != value) 判定のためのクエリノード。

Parameters:
  • field (str,) – The target variable name.

  • value (Any) – The compare value. If DateTime is specified, it will be automatically converted to Iso8601String and vType will be set to EnumValueType.datetime_.

  • v_type (EnumValueType) – Specifies the comparison type during calculation. If you select anything other than auto_, the value will be cast to that type before the comparison is performed. When an exception occurs, such as a conversion failure, the result is always False.

evaluate(data: dict) bool

(en) Returns true if the object matches the calculation.

(ja) 計算と一致するオブジェクトだった場合はtrueを返します。

classmethod from_dict(src: dict)

(en) Restore this object from the dictionary.

(ja) このオブジェクトを辞書から復元します。

Parameters:

src (Dict[str, Any]) – A dictionary made with to_dict of this class.

to_dict() dict

(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を連鎖的に呼び出すようにしてください。

class delta_trace_db.query.nodes.comparison_node.FieldNotIn(field: str, values: list)

Bases: QueryNode

(en) Query node for “Not values.contains(field)” operation.

(ja) “Not values.contains(field)” 演算のためのクエリノード。

Parameters:
  • field (str,) – The target variable name.

  • values (list) – The compare value.

evaluate(data: dict) bool

(en) Returns true if the object matches the calculation.

(ja) 計算と一致するオブジェクトだった場合はtrueを返します。

classmethod from_dict(src: dict)

(en) Restore this object from the dictionary.

(ja) このオブジェクトを辞書から復元します。

Parameters:

src (Dict[str, Any]) – A dictionary made with to_dict of this class.

to_dict() dict

(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を連鎖的に呼び出すようにしてください。

class delta_trace_db.query.nodes.comparison_node.FieldStartsWith(field: str, value: str)

Bases: QueryNode

(en) Query node for “field.toString().startsWidth(value)” operation.

(ja) “field.toString().startsWidth(value)” 演算のためのクエリノード。

Parameters:
  • field (str,) – The target variable name.

  • value (list) – The compare value.

evaluate(data: dict) bool

(en) Returns true if the object matches the calculation.

(ja) 計算と一致するオブジェクトだった場合はtrueを返します。

classmethod from_dict(src: dict)

(en) Restore this object from the dictionary.

(ja) このオブジェクトを辞書から復元します。

Parameters:

src (Dict[str, Any]) – A dictionary made with to_dict of this class.

to_dict() dict

(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を連鎖的に呼び出すようにしてください。