|
Drools :: Core 6.1.0.Beta1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.drools.core.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.kie.api.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 ExternalizableIOException
ClassNotFoundException
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizableIOExceptionpublic QueryResults getQueryResults(String query)
StatelessSessionResult
getQueryResults in interface StatelessSessionResultquery - The name of the query.
public QueryResults getQueryResults(String query,
Object[] arguments)
StatelessSessionResult
getQueryResults in interface StatelessSessionResultquery - The name of the query.arguments - The Object[] of arguments to pass to the query's parameters.
public Iterator iterateObjects()
StatelessSessionResult
iterateObjects in interface StatelessSessionResultpublic Iterator iterateObjects(org.kie.api.runtime.ObjectFilter filter)
StatelessSessionResult
iterateObjects in interface StatelessSessionResultfilter - The ObjectFilter instance.
public Object getGlobal(String identifier)
StatelessSessionResult
getGlobal in interface StatelessSessionResultidentifier - The global identifier.
public GlobalResolver getGlobalResolver()
StatelessSessionResult
getGlobalResolver in interface StatelessSessionResult
|
Drools :: Core 6.1.0.Beta1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||