Class Source
java.lang.Object
com.jedox.etl.components.scriptapi.Source
Processes Integrator sources (extracts or transforms) to read data row by row.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Closes the source.getColumnString
(String name) Returns the value of a column in the current row asString
.getColumnValue
(String name) Returns the value of a column in the current row.boolean
nextRow()
Sets the row cursor to the next row of data from the source.
-
Method Details
-
nextRow
public boolean nextRow()Sets the row cursor to the next row of data from the source.- Returns:
false
if no more rows are available,true
otherwise
-
getColumnValue
Returns the value of a column in the current row.- Parameters:
name
- the name of the column- Returns:
- the value of the column referenced with
name
ornull
-
getColumnString
Returns the value of a column in the current row asString
.- Parameters:
name
- the name of the column- Returns:
- the value of the column referenced with
name
ornull
-
close
public void close()Closes the source.
-