public class QueryResultsRowImpl extends Object implements org.kie.api.runtime.rule.QueryResultsRow
Modifier and Type | Field and Description |
---|---|
protected QueryRowWithSubruleIndex |
row |
Constructor and Description |
---|
QueryResultsRowImpl(QueryRowWithSubruleIndex row,
WorkingMemory workingMemory,
QueryResultsImpl queryResults) |
Modifier and Type | Method and Description |
---|---|
Object |
get(Declaration declaration)
Return the Object for the given Declaration.
|
Object |
get(int i)
Returns the Object for int position in the Tuple
|
Object |
get(String identifier)
Return the Object for the given Declaration identifier.
|
Map<String,Declaration> |
getDeclarations()
Return a map of Declarations where the key is the identifier and the value
is the Declaration.
|
org.kie.api.runtime.rule.FactHandle |
getFactHandle(Declaration declr) |
org.kie.api.runtime.rule.FactHandle |
getFactHandle(int i) |
org.kie.api.runtime.rule.FactHandle |
getFactHandle(String identifier) |
org.kie.api.runtime.rule.FactHandle[] |
getFactHandles()
Return the FactHandles for the Tuple.
|
int |
getSubruleIndex() |
int |
size()
The size of the Tuple; i.e. the number of columns (FactHandles) in this row result.
|
protected QueryRowWithSubruleIndex row
public QueryResultsRowImpl(QueryRowWithSubruleIndex row, WorkingMemory workingMemory, QueryResultsImpl queryResults)
public int getSubruleIndex()
public Map<String,Declaration> getDeclarations()
public Object get(int i)
i
- public Object get(String identifier)
get
in interface org.kie.api.runtime.rule.Row
identifier
- public Object get(Declaration declaration)
public org.kie.api.runtime.rule.FactHandle getFactHandle(String identifier)
getFactHandle
in interface org.kie.api.runtime.rule.Row
public org.kie.api.runtime.rule.FactHandle getFactHandle(Declaration declr)
public org.kie.api.runtime.rule.FactHandle getFactHandle(int i)
public org.kie.api.runtime.rule.FactHandle[] getFactHandles()
public int size()
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.