httk.optimade.optimade_filter_to_httk module¶
This file provides functions to translate an OPTIMaDe filter string into an SQL query.
-
httk.optimade.optimade_filter_to_httk.
constant_comparison_handler
(val1, op, val2, search_variable)[source]¶
-
httk.optimade.optimade_filter_to_httk.
constant_set_handler
(val1, ops, val2, has_type, inv, search_variable)[source]¶
-
httk.optimade.optimade_filter_to_httk.
constant_stringmatching_handler
(val1, op, val2, stringmatching_type, search_variable)[source]¶
-
httk.optimade.optimade_filter_to_httk.
known_unknown_handler
(entry, search_variable, unknown_type)[source]¶
-
httk.optimade.optimade_filter_to_httk.
optimade_filter_to_httk
(filter_ast, entries, searcher)[source]¶
-
httk.optimade.optimade_filter_to_httk.
optimade_filter_to_httk_recurse
(node, search_variable, entry, inv_toggle, recursion=0)[source]¶
-
httk.optimade.optimade_filter_to_httk.
set_handler
(entry, ops, values, inv, has_type, search_variable)[source]¶
-
httk.optimade.optimade_filter_to_httk.
stringmatching_handler
(entry, value, stringmatching_type, search_variable)[source]¶
-
httk.optimade.optimade_filter_to_httk.
structure_features_length_handler
(op, value, search_variable)[source]¶
-
httk.optimade.optimade_filter_to_httk.
structure_features_set_handler
(values, ops, inv, has_type, search_variable)[source]¶
-
httk.optimade.optimade_filter_to_httk.
unknown_comparison_handler
(entry, ops, values, search_variable)[source]¶
-
httk.optimade.optimade_filter_to_httk.
unknown_has_handler
(entry, op, value, search_variable, has_type, inv_toggle)[source]¶
-
httk.optimade.optimade_filter_to_httk.
unknown_length_handler
(entry, op, value, search_variable)[source]¶