public class ResultSetSkipBlock extends Object
ResultSetWrapper.| Constructor and Description |
|---|
ResultSetSkipBlock(ResultSetWrapper rs,
int skippedColumns)
Creates a skip block.
|
| Modifier and Type | Method and Description |
|---|---|
void |
applyColumnIndex(int ndx)
Applies the used column index to this skip block.
|
int |
findColumn(String name)
Maps the given column name to its column index.
|
int |
getMaxColumnIndex()
Gets the highest used column index.
This will be the skippedColumns of the next skip block. |
int |
getSkippedColumns()
Gets the number of columns skipped in the result set.
|
public ResultSetSkipBlock(ResultSetWrapper rs, int skippedColumns)
rs - the result setskippedColumns - the number of columns skippedpublic int getSkippedColumns()
public int getMaxColumnIndex()
public int findColumn(String name)
If the result set is in skip mode, the first column with that name is found
after having skipped some columns according to the last invocation of ResultSetWrapper.skip().
Otherwise the standard JDBC-implementation is used.
name - the column namepublic void applyColumnIndex(int ndx)
ndx - the used column indexCopyright © 2016 Krake Softwaretechnik. All rights reserved.