public final class DataRowConnector extends Object implements DataRow
Constructor and Description |
---|
DataRowConnector()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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()
Copyright © 2002–2017 Pentaho Corporation. All rights reserved.