Package com.semedy.reasoner.app
Class QueryRegister
java.lang.Object
com.semedy.reasoner.api.core.DeductiveDatabase
com.semedy.reasoner.api.core.StreamReasoningDB
com.semedy.reasoner.app.QueryRegister
registers a query for cep for ide
- Author:
- juergen
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionloadFactsAndRules
(List<String> paths) static void
static void
query
(InterruptFlag interruptflag, String querypath, PrintStream out) void
register
(InterruptFlag interruptFlag, String flogic, String query, ReasoningMonitor monitor, PrintStream out) Methods inherited from class com.semedy.reasoner.api.core.StreamReasoningDB
materializeQueries, materializeQueries, materializeQueries, materializeQueries, registerQueries, registerQueries, registerQueries, registerQueries
Methods inherited from class com.semedy.reasoner.api.core.DeductiveDatabase
addFact, addFacts, addRule, addRule, addRules, addRulesAndFacts, applyChangeSet, backup, export, exportNQuads, exportNQuads, exportOOLogic, exportOOLogic, exportOOLogic, exportOOLogic, exportRules, exportRules, getCore, getRuleById, getRules, getSnapshotEDB, getSymbolTable, load, load, loadByStream, loadPredicates, longTransactionBegin, longTransactionCommit, longTransactionRollback, query, query, query, query, query, query, query, query, query, removeFact, removeFactEncoded, removeFacts, removeFactsEncoded, removeRuleById, removeRules, removeRulesAndFacts, transactionBegin, transactionCommit, transactionRollback
-
Constructor Details
-
QueryRegister
- Throws:
IOException
SemReasonerException
-
-
Method Details
-
register
public void register(InterruptFlag interruptFlag, String flogic, String query, ReasoningMonitor monitor, PrintStream out) throws InterruptedException, ReasoningException, IDBException, IOException, SemReasonerException -
loadFactsAndRules
- Throws:
IOException
-
query
public static void query(InterruptFlag interruptflag, String querypath, PrintStream out) throws IOException, InterruptedException, ReasoningException, IOException, ReasoningException, ReasoningException, SemReasonerException -
main
public static void main(String[] args) throws IOException, InterruptedException, ReasoningException, IOException, ReasoningException, ReasoningException, SemReasonerException
-