| Modifier and Type | Field and Description |
|---|---|
| protected PyObject | include
Field params, include |
| protected PyObject | params
Field params, include |
| protected boolean | sentHeader
Field sentHeader |
| protected String | sql
Field sql |
| Access | Constructor and Description |
|---|---|
| public | DBSource(PyConnection
the database connection connection, Class<T> a custom DataHandler for the cursor, can be None dataHandler, String the table in question on the source database tableName, String an optional where clause, defaults to '(1=1)' if null where, PyObject the columns to be queried from the source, '*' if None include, PyObject optional params to substituted in the where clause params)Constructor for handling the generation of data. |
| Modifier and Type | Method and Description |
|---|---|
| protected String | |
| public void | |
| public PyObject | |
| public void |
| include | back to summary |
|---|---|
| protected PyObject include Field params, include | |
| params | back to summary |
|---|---|
| protected PyObject params Field params, include | |
| sentHeader | back to summary |
|---|---|
| protected boolean sentHeader Field sentHeader | |
| sql | back to summary |
|---|---|
| protected String sql Field sql | |
| DBSource | back to summary |
|---|---|
| public DBSource(PyConnection connection, Class<T> dataHandler, String tableName, String where, PyObject include, PyObject params) Constructor for handling the generation of data.
| |
| createSql | back to summary |
|---|---|
| protected String createSql(String where) Create the sql string given the where clause. | |
| end | back to summary |
|---|---|
| public void end() Implements com. Close the cursor. | |
| next | back to summary |
|---|---|
| public PyObject next() Implements com. Return the next row in the result set. The first row returned will be column information. | |
| start | back to summary |
|---|---|
| public void start() Implements com. Method start | |