Class ExecuteConnectorBuiltin
java.lang.Object
com.semedy.reasoner.reasoning.processes.ProcessImp
com.semedy.reasoner.reasoning.processes.And
com.semedy.reasoner.reasoning.processes.ExecuteConnectorBuiltin
-
Constructor Summary
ConstructorDescriptionExecuteConnectorBuiltin
(int i, InterruptFlag interruptFlag, ReasoningMonitor monitor, SystemMonitor smonitor, VariableHandler vh, int[] externalFilterPositions, long[] externalFilterValues, Connector connector, SymbolTable symboltable, RuleEvaluator reval, boolean cepReasoning, String query) -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
free up ressourcesvoid
evaluate()
evaluate a process during reasoning.boolean
void
evaluationFinished
(long querykey) the whole evaluation is finishedget the rule evaluator the connector is part ofvoid
tuplesFinished
(String annotation, ReasoningRelation T1, ReasoningRelation T2) Finish delivering single tuples.Methods inherited from class com.semedy.reasoner.reasoning.processes.And
evaluationFinished, getBottomStore, getLeftStore, setBottomParameters, setBottomStore, setLeftFilter, setLeftParameters, setLeftStore, toString, tuplesReceived, wakeUpMain
Methods inherited from class com.semedy.reasoner.reasoning.processes.ProcessImp
addNextReceiver, addRelation, dispose, getArity, getPriority, getStratum, getTupleStore, isNotQueuedSetQueued, isQueued, nextReceiver, operationFinished, receiveRelation, receiveTuple, receiveTuple, receiveTuple, setDataFlowGraph, setQueued, setStratum, startTuples, tuplesFinished
-
Constructor Details
-
ExecuteConnectorBuiltin
public ExecuteConnectorBuiltin(int i, InterruptFlag interruptFlag, ReasoningMonitor monitor, SystemMonitor smonitor, VariableHandler vh, int[] externalFilterPositions, long[] externalFilterValues, Connector connector, SymbolTable symboltable, RuleEvaluator reval, boolean cepReasoning, String query)
-
-
Method Details
-
evaluationFinished
Description copied from interface:Process
the whole evaluation is finished- Specified by:
evaluationFinished
in interfaceProcess
- Overrides:
evaluationFinished
in classAnd
- Throws:
ReasoningException
IOException
-
getRuleEvaluator
get the rule evaluator the connector is part of- Returns:
-
evaluate
Description copied from interface:Process
evaluate a process during reasoning.
Returns how the number of tuples sent away- Specified by:
evaluate
in interfaceProcess
- Overrides:
evaluate
in classAnd
- Throws:
InterruptedException
ReasoningException
IOException
SemReasonerException
-
evaluateWoBuiltin
-
tuplesFinished
public void tuplesFinished(String annotation, ReasoningRelation T1, ReasoningRelation T2) throws SemReasonerException, InterruptedException, IOException Description copied from interface:Receiver
Finish delivering single tuples.
Cache result and annotate result.- Specified by:
tuplesFinished
in interfaceReceiver
- Overrides:
tuplesFinished
in classProcessImp
- Parameters:
annotation
- , an annotation used for cachingT1
- , the relations which have been combinedT2
- , the relations which have been combined- Throws:
ReasoningException
SemReasonerException
InterruptedException
IOException
-
clear
public void clear()Description copied from class:ProcessImp
free up ressources- Specified by:
clear
in interfaceProcess
- Overrides:
clear
in classProcessImp
-