|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.pentaho.reporting.engine.classic.core.states.DataRowConnector
public final class DataRowConnector
This is the connection-proxy to the various data sources contained in the elements. During report processing the report states get cloned while the elements remain uncloned. The DataRowConnector connects the DataRowBackend (which contains the data) with the stateless elements.
Constructor Summary | |
---|---|
DataRowConnector()
Default constructor. |
Method Summary | |
---|---|
Object |
get(String col)
Returns the value of the column, function or expression using its name. |
String[] |
getColumnNames()
Returns the known column names, this data-row understands. |
DataRow |
getDataRowBackend()
Returns the assigned data row backend. |
static DataSource |
getLastDatasource(DataTarget e)
Deprecated. no longer used. |
boolean |
isChanged(String name)
Checks whether the value contained in the column has changed since the last advance-operation. |
void |
setDataRowBackend(DataRow dataRow)
Sets the data row backend for this DataRowConnector. |
String |
toString()
Returns a string describing the object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DataRowConnector()
Method Detail |
---|
public DataRow getDataRowBackend()
public String[] getColumnNames()
DataRow
getColumnNames
in interface DataRow
public void setDataRowBackend(DataRow dataRow)
dataRow
- the data row backendpublic Object get(String col)
get
in interface DataRow
col
- the column, function or expression index.
IllegalStateException
- if there is no backend connectedpublic static DataSource getLastDatasource(DataTarget e)
e
- the data target.
public String toString()
toString
in class Object
public boolean isChanged(String name)
DataRow
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 |