public interface QueryResult
Modifier and Type | Method and Description |
---|---|
int |
getColumnCount()
Returns the number of columns in the current result set.
|
String |
getColumnNameByIndex(int columnIndex)
Returns the name of a specified column with a given column index value.
|
int |
getRowCount()
Returns the number of rows in the current result set .
|
String |
getValueByColIndex(int columnIndex)
Returns the value of the specified column in the current row indicated by a column index value.
|
String |
getValueByColName(String columnName)
Returns the value of the specified column in the current row indicated by a column name value.
|
boolean |
next()
Move the cursor forward one row from its current position.
|
String getColumnNameByIndex(int columnIndex)
columnIndex
- the index value of the column. The index is zero-based.String getValueByColIndex(int columnIndex)
columnIndex
- the index value of the column. The index is zero-based.String getValueByColName(String columnName)
columnName
- the name of the columnint getColumnCount()
boolean next()
int getRowCount()
Copyright © 2017. All rights reserved.