|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.drools.reteoo.ReteStatelessSessionResult
public class ReteStatelessSessionResult
Constructor Summary | |
---|---|
ReteStatelessSessionResult()
|
|
ReteStatelessSessionResult(InternalWorkingMemory workingMemory,
GlobalResolver globalResolver)
|
Method Summary | |
---|---|
Object |
getGlobal(String identifier)
Retrieves the global value for the given identifier, note that globals must be exported from the StatelessSession to be accessible. |
GlobalResolver |
getGlobalResolver()
The GlobalResolver returned from the GlobalExporter by the StatelessSessoin |
QueryResults |
getQueryResults(String query)
Retrieve the QueryResults of the specified query. |
QueryResults |
getQueryResults(String query,
Object[] arguments)
Allows for parameters to be passed to a query. |
Iterator |
iterateObjects()
Iterator all Objects inserted into the StatelessSession. |
Iterator |
iterateObjects(org.drools.runtime.ObjectFilter filter)
Iterate only those objects that match the provided ObjectFilter. |
void |
readExternal(ObjectInput in)
|
void |
writeExternal(ObjectOutput out)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReteStatelessSessionResult()
public ReteStatelessSessionResult(InternalWorkingMemory workingMemory, GlobalResolver globalResolver)
Method Detail |
---|
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public QueryResults getQueryResults(String query)
StatelessSessionResult
getQueryResults
in interface StatelessSessionResult
query
- The name of the query.
public QueryResults getQueryResults(String query, Object[] arguments)
StatelessSessionResult
getQueryResults
in interface StatelessSessionResult
query
- The name of the query.arguments
- The Object[] of arguments to pass to the query's parameters.
public Iterator iterateObjects()
StatelessSessionResult
iterateObjects
in interface StatelessSessionResult
public Iterator iterateObjects(org.drools.runtime.ObjectFilter filter)
StatelessSessionResult
iterateObjects
in interface StatelessSessionResult
filter
- The ObjectFilter instance.
public Object getGlobal(String identifier)
StatelessSessionResult
getGlobal
in interface StatelessSessionResult
identifier
- The global identifier.
public GlobalResolver getGlobalResolver()
StatelessSessionResult
getGlobalResolver
in interface StatelessSessionResult
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |