|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pentaho.reporting.engine.classic.core.states.QueryDataRowWrapper
public class QueryDataRowWrapper
A data-row wrapper that adds a new artificial parameter to the original datarow that holds the query-limit.
Constructor Summary | |
---|---|
QueryDataRowWrapper(DataRow backend,
Integer queryTimeout,
Integer queryLimit)
|
|
QueryDataRowWrapper(DataRow backend,
int queryLimit,
int queryTimeout)
|
Method Summary | |
---|---|
Object |
get(String col)
Returns the value of the function, expression or column using its specific name. |
String[] |
getColumnNames()
Returns the known column names, this data-row understands. |
boolean |
isChanged(String name)
Checks whether the value contained in the column has changed since the last advance-operation. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QueryDataRowWrapper(DataRow backend, Integer queryTimeout, Integer queryLimit)
public QueryDataRowWrapper(DataRow backend, int queryLimit, int queryTimeout)
Method Detail |
---|
public Object get(String col)
getValue()
method is called and for columns from the tablemodel the tablemodel method getValueAt(row, column)
gets called.
get
in interface DataRow
col
- the item index.
public String[] getColumnNames()
DataRow
getColumnNames
in interface DataRow
public boolean isChanged(String name)
isChanged
in interface DataRow
name
- the name of the column.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |