org.tm4j.tologx.QueryEvaluator .registerPredicateClass(java.lang.String predicateName,java.lang.Class predicateClass)

Description

Registers an extension predicate with the QueryEvaluator. All implementation classes MUST implement the Predicate interface. If predicateName is the name of an already registered predicate, then the new registration overwrites the old one.

Parameters
java.lang.Class predicateClass the implementation class for the predicate.
java.lang.String predicateName the name to be used to reference the predicate from a tolog query.

Throws

Other Resources

Related Topics