|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.drools.semantics.python.Interp | +--org.drools.semantics.python.Eval | +--org.drools.semantics.python.ExprExtractor
Python expression semantics Extractor
.
Constructor Summary | |
ExprExtractor(java.lang.String expr,
Declaration[] availDecls)
Construct. |
Method Summary | |
java.lang.Object |
extractFact(Tuple tuple)
Extract a new fact from the incoming Tuple |
Methods inherited from class org.drools.semantics.python.Eval |
analyze, evaluate, evaluate, evaluate, getRequiredTupleMembers |
Methods inherited from class org.drools.semantics.python.Interp |
getCode, getNode, getText, setUpDictionary |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.drools.spi.Extractor |
getRequiredTupleMembers |
Constructor Detail |
public ExprExtractor(java.lang.String expr, Declaration[] availDecls) throws java.lang.Exception
expr
- The expression.Method Detail |
public java.lang.Object extractFact(Tuple tuple) throws ExtractionException
Tuple
extractFact
in interface Extractor
tuple
- The source data tuple.
ExtractionException
- if an error occurs during
fact extraction activities.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |