org.tm4j.tolog.QueryEvaluator .registerExtension(java.lang.String predicate,java.lang.Class implCls)
Description
Registers a new extension predicate with the query engine. For details of extension predicates, see the documentation of the Extension inteface.
Parameters | ||
---|---|---|
java.lang.Class | implCls | The class providing the implementation. This class must implement the Extension interface. |
java.lang.String | predicate | The predicate which the extension implements. |
Throws
-
java.lang.IllegalArgumentException
-
If
implCls
is not a class implementing the Extension interface.
Meta Data (1)