Modifier and Type | Method and Description |
---|---|
void |
close()
Close the wrapped statement.
|
void |
closeQuietly()
Close the wrapped statement without throwing an exception.
|
BigDecimal |
getBigDecimal(int columnIndex)
Retrieves the value of the designated column in the current row of this ResultSet object as a BigDecimal.
|
BigDecimal |
getBigDecimal(String columnLabel)
Retrieves the value of the designated column in the current row of this ResultSet object as a BigDecimal.
|
protected ResultSet |
getCurrentResultSet()
Retrieves the current result as a ResultSet object.
|
Double |
getDouble(int columnIndex)
Retrieves the value of the designated column in the current row of this ResultSet object as a double.
|
Double |
getDouble(String columnLabel)
Retrieves the value of the designated column in the current row of this ResultSet object as a double.
|
Integer |
getInt(int columnIndex)
Retrieves the value of the designated column in the current row of this ResultSet object as a String.
|
Integer |
getInt(String columnLabel)
Retrieves the value of the designated column in the current row of this ResultSet object as a String.
|
Date |
getJavaDate(int columnIndex)
Retrieves the value of the designated column in the current row of this ResultSet object as a java
Date . |
Date |
getJavaDate(String columnLabel)
Retrieves the value of the designated column in the current row of this ResultSet object as a java
Date . |
com.hp.hpl.jena.graph.Node |
getNode(int columnIndex)
Retrieves the value of the designated column in the current row of this ResultSet object as a Node.
|
com.hp.hpl.jena.graph.Node |
getNode(String columnLabel)
Retrieves the value of the designated column in the current row of this ResultSet object as a Node.
|
String |
getNString(int columnIndex)
Retrieves the value of the designated column in the current row of this ResultSet object as a java
String . |
String |
getNString(String columnLabel)
Retrieves the value of the designated column in the current row of this ResultSet object as a java
String . |
String |
getString(int columnIndex)
Retrieves the value of the designated column in the current row of this ResultSet object as a String.
|
String |
getString(String columnLabel)
Retrieves the value of the designated column in the current row of this ResultSet object as a String.
|
Statement |
getWrappedStatement()
Returns the wrapped SQL statement.
|
boolean |
next()
Moves the cursor forward one row from its current position.
|
public boolean next() throws SQLException
getCurrentResultSet()
.SQLException
- exceptionprotected ResultSet getCurrentResultSet()
public Statement getWrappedStatement()
public void close() throws SQLException
SQLException
- exceptionpublic void closeQuietly()
public com.hp.hpl.jena.graph.Node getNode(String columnLabel) throws SQLException
columnLabel
- the label for the column (the name of the column or the name specified with the SQL AS clause)SQLException
- exceptionpublic com.hp.hpl.jena.graph.Node getNode(int columnIndex) throws SQLException
columnIndex
- the first column is 1, the second is 2, ...SQLException
- exceptionpublic String getString(String columnLabel) throws SQLException
columnLabel
- the label for the column (the name of the column or the name specified with the SQL AS clause)SQLException
- exceptionpublic String getString(int columnIndex) throws SQLException
columnIndex
- the first column is 1, the second is 2, ...SQLException
- exceptionpublic Integer getInt(String columnLabel) throws SQLException
columnLabel
- the label for the column (the name of the column or the name specified with the SQL AS clause)SQLException
- exceptionpublic Integer getInt(int columnIndex) throws SQLException
columnIndex
- the first column is 1, the second is 2, ...SQLException
- exceptionpublic Double getDouble(String columnLabel) throws SQLException
columnLabel
- the label for the column (the name of the column or the name specified with the SQL AS clause)SQLException
- exceptionpublic Double getDouble(int columnIndex) throws SQLException
columnIndex
- the first column is 1, the second is 2, ...SQLException
- exceptionpublic BigDecimal getBigDecimal(String columnLabel) throws SQLException
columnLabel
- the label for the column (the name of the column or the name specified with the SQL AS clause)SQLException
- exceptionpublic BigDecimal getBigDecimal(int columnIndex) throws SQLException
columnIndex
- the first column is 1, the second is 2, ...SQLException
- exceptionpublic Date getJavaDate(String columnLabel) throws SQLException
Date
.columnLabel
- the label for the column (the name of the column or the name specified with the SQL AS clause)SQLException
- the object cannot be converted to Datepublic Date getJavaDate(int columnIndex) throws SQLException
Date
.columnIndex
- the first column is 1, the second is 2, ...SQLException
- the object cannot be converted to Datepublic String getNString(int columnIndex) throws SQLException
String
.columnIndex
- the first column is 1, the second is 2, ...SQLException
- the object cannot be converted to Datepublic String getNString(String columnLabel) throws SQLException
String
.columnLabel
- the label for the column (the name of the column or the name specified with the SQL AS clause)SQLException
- the object cannot be converted to DateCopyright © 2013. All Rights Reserved.