adams.flow.source.SpreadSheetDbReader
Returns a spreadsheet object generated from an SQL query.
To optimize memory consumption, you can return the result of the query in chunks of a specified size.
Flow input/output:
- output: adams.data.spreadsheet.SpreadSheet
The logging level for outputting errors and debugging output.
command-line | -logging-level <OFF|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST> |
default | WARNING |
min-user-mode | Expert |
The name of the actor.
command-line | -name <java.lang.String> |
default | SpreadSheetDbReader |
The annotations to attach to this actor.
command-line | -annotation <adams.core.base.BaseAnnotation> |
default |
|
If set to true, transformation is skipped and the input token is just forwarded as it is.
command-line | -skip <boolean> |
default | false |
If set to true, the flow execution at this level gets stopped in case this actor encounters an error; the error gets propagated; useful for critical actors.
command-line | -stop-flow-on-error <boolean> |
default | false |
min-user-mode | Expert |
If enabled, then no errors are output in the console; Note: the enclosing actor handler must have this enabled as well.
command-line | -silent <boolean> |
default | false |
min-user-mode | Expert |
The type mapper to use for mapping spreadsheet and SQL types.
command-line | -type-mapper <adams.data.spreadsheet.sql.AbstractTypeMapper> |
default | adams.data.spreadsheet.sql.DefaultTypeMapper |
The SQL query to use for generating the spreadsheet.
command-line | -query <adams.db.SQLStatement> |
default | select * from blah |
The type of row to use for the data.
command-line | -data-row-type <adams.data.spreadsheet.DataRow> |
default | adams.data.spreadsheet.DenseDataRow |
The maximum number of rows per chunk; using -1 will read put all data into a single spreadsheet object.
command-line | -chunk-size <int> |
default | -1 |
minimum | -1 |