edu.stanford.smi.protegex.owl.swrl.bridge.builtins.query
Class SWRLBuiltInLibraryImpl
java.lang.Object
edu.stanford.smi.protegex.owl.swrl.bridge.builtins.SWRLBuiltInLibrary
edu.stanford.smi.protegex.owl.swrl.bridge.builtins.query.SWRLBuiltInLibraryImpl
- All Implemented Interfaces:
- QueryLibrary
public class SWRLBuiltInLibraryImpl
- extends SWRLBuiltInLibrary
- implements QueryLibrary
Implementation library for SWRL query built-ins. See here for
documentation on this built-in library.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Prefix
public static final String Prefix
- See Also:
- Constant Field Values
SWRLBuiltInLibraryImpl
public SWRLBuiltInLibraryImpl()
reset
public void reset()
- Specified by:
reset
in class SWRLBuiltInLibrary
getQueryResult
public Result getQueryResult(String ruleName)
throws ResultException
- Get a result object for a particular rule. Return null if no result is generated for this rule.
- Specified by:
getQueryResult
in interface QueryLibrary
- Throws:
ResultException
select
public boolean select(List<Argument> arguments)
throws BuiltInException
- Throws:
BuiltInException
selectDistinct
public boolean selectDistinct(List<Argument> arguments)
throws BuiltInException
- Throws:
BuiltInException
count
public boolean count(List<Argument> arguments)
throws BuiltInException
- Throws:
BuiltInException
min
public boolean min(List<Argument> arguments)
throws BuiltInException
- Throws:
BuiltInException
max
public boolean max(List<Argument> arguments)
throws BuiltInException
- Throws:
BuiltInException
sum
public boolean sum(List<Argument> arguments)
throws BuiltInException
- Throws:
BuiltInException
avg
public boolean avg(List<Argument> arguments)
throws BuiltInException
- Throws:
BuiltInException
columnNames
public boolean columnNames(List<Argument> arguments)
throws BuiltInException
- Throws:
BuiltInException
orderBy
public boolean orderBy(List<Argument> arguments)
throws BuiltInException
- Throws:
BuiltInException
orderByDescending
public boolean orderByDescending(List<Argument> arguments)
throws BuiltInException
- Throws:
BuiltInException
Submit a bug report or feature request
Copyright (c) 1998-2007 Stanford University.