org.activemath.content.query
Class DBCaller
java.lang.Object
org.activemath.content.query.DBCaller
- Direct Known Subclasses:
- MBaseCaller, UserModelCaller
public abstract class DBCaller
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DBCaller
public DBCaller()
optimizeDBQuery
protected DBQuery optimizeDBQuery(DBQuery query)
- Overide this method to offer a DB-specific optimization.
queryClass
public abstract Set queryClass(String item)
throws NoSuchItemException
- Give back the set of the class labels of the given item. An empty set
possible?
- Parameters:
item - The target item.
- Throws:
NoSuchItemException
queryRelation
public abstract List queryRelation(String item,
String rel)
throws UnsupportedOntologyQueryException,
NoSuchItemException
- Throws:
UnsupportedOntologyQueryException
NoSuchItemException
queryAttr
public abstract List queryAttr(String item,
String attr)
throws UnsupportedOntologyQueryException,
NoSuchItemException
- Throws:
UnsupportedOntologyQueryException
NoSuchItemException