Located in compilation unit of com.
| Modifier and Type | Field and Description |
|---|---|
| protected List | descriptions
Field descriptions |
| protected List | results
Field results |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | add(ResultSet resultSet, Set<Integer> skipCols)
Implements abstract com. Method add |
| public void | add(CallableStatement callableStatement, Procedure procedure, PyObject params)
Implements abstract com. Method add |
| public void | |
| public PyObject | Returns: a sequence of sequences from the result set, or an empty sequence when no more data is availableImplements abstract com. Fetch all (remaining) rows of a query result, returning them as a sequence of sequences (e.g. a list of tuples). |
| public PyObject | Returns: a sequence of sequences from the result set, or an empty sequence when no more data is availableImplements abstract com. Fetch the next set of rows of a query result, returning a sequence of sequences (e.g. a list of tuples). |
| public PyObject | Returns: true if more sets exist, else NoneImplements abstract com. Move the result pointer to the next set if available. |
| public boolean | refersDirectlyTo(PyObject ob)
Overrides com. Implements org. Optional operation. |
| public void | scroll(int value, String
'relative' or 'absolute' mode)Implements abstract com. Method scroll |
| public int | traverse(Visitproc visit, Object arg)
Overrides com. Implements org. Traverses all directly contained |
| descriptions | back to summary |
|---|---|
| protected List<PyObject> descriptions Field descriptions | |
| results | back to summary |
|---|---|
| protected List<PyObject> results Field results | |
| StaticFetch | back to summary |
|---|---|
| public StaticFetch(DataHandler datahandler) Construct a static fetch. The entire result set is iterated as it is added and the result set is immediately closed. | |
| add | back to summary |
|---|---|
| public void add(ResultSet resultSet) Implements abstract com. Method add
| |
| add | back to summary |
|---|---|
| public void add(ResultSet resultSet, Set<Integer> skipCols) Implements abstract com. Method add
| |
| add | back to summary |
|---|---|
| public void add(CallableStatement callableStatement, Procedure procedure, PyObject params) Implements abstract com. Method add
| |
| close | back to summary |
|---|---|
| public void close() throws SQLException Overrides com. Remove the results.
| |
| fetchall | back to summary |
|---|---|
| public PyObject fetchall() Implements abstract com. Fetch all (remaining) rows of a query result, returning them as a sequence of sequences (e.g. a list of tuples). Note that the cursor's arraysize attribute can affect the performance of this operation. An Error (or subclass) exception is raised if the previous call to executeXXX() did not produce any result set or no call was issued yet. | |
| fetchmany | back to summary |
|---|---|
| public PyObject fetchmany(int size) Implements abstract com. Fetch the next set of rows of a query result, returning a sequence of sequences (e.g. a list of tuples). An empty sequence is returned when no more rows are available. The number of rows to fetch per call is specified by the parameter. If it is not given, the cursor's arraysize determines the number of rows to be fetched. The method should try to fetch as many rows as indicated by the size parameter. If this is not possible due to the specified number of rows not being available, fewer rows may be returned. An Error (or subclass) exception is raised if the previous call to executeXXX() did not produce any result set or no call was issued yet. Note there are performance considerations involved with the size parameter. For optimal performance, it is usually best to use the arraysize attribute. If the size parameter is used, then it is best for it to retain the same value from one fetchmany() call to the next. | |
| nextset | back to summary |
|---|---|
| public PyObject nextset() Implements abstract com. Move the result pointer to the next set if available. | |
| refersDirectlyTo | back to summary |
|---|---|
| public boolean refersDirectlyTo(PyObject ob) throws UnsupportedOperationException Overrides com. Implements org. Doc from org. Optional operation.
Should only be implemented if it is more efficient
than calling | |
| scroll | back to summary |
|---|---|
| public void scroll(int value, String mode) Implements abstract com. Method scroll | |
| traverse | back to summary |
|---|---|
| public int traverse(Visitproc visit, Object arg) Overrides com. Implements org. Doc from org. Traverses all directly contained | |