Next: , Previous: mpg-ref-query_map, Up: mpg-bpr


11.3.181 query_map_hook/4   [hook]

Synopsis

:- multifile user:query_map_hook/4.

user:query_map_hook(+MapMethod, +RawInput, -Result, -Answer)

Provides the user with a method of overriding the call to 'SU_messages':query_map/4 in the map phase of query processing. This way the implementation of the default map methods can be changed.

Arguments

MapMethod
term

The map method to use.

RawInput
atom

As received from query_input/3.

Result
one of [success,failure,failure(Warning)]

Result of conversion.

Answer
one of [success,failure,failure(Warning)]

Abstract answer term.

Exceptions

All error handling is done by the predicates extended by this hook.

See Also

Query Processing.


Send feedback on this subject.