|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CommandInterface
Represents a SQL statement.
Method Summary | |
---|---|
void |
cancel()
Cancel the statement if it is still processing. |
void |
close()
Close the statement. |
ResultInterface |
executeQuery(int maxRows,
boolean scrollable)
Execute the query. |
int |
executeUpdate()
Execute the statement |
ResultInterface |
getMetaData()
Get an empty result set containing the meta data of the result. |
ObjectArray<? extends ParameterInterface> |
getParameters()
Get the parameters (if any). |
boolean |
isQuery()
Check if this is a query. |
Method Detail |
---|
boolean isQuery()
ObjectArray<? extends ParameterInterface> getParameters()
ResultInterface executeQuery(int maxRows, boolean scrollable) throws java.sql.SQLException
maxRows
- the maximum number of rows returnedscrollable
- if the result set must be scrollable
java.sql.SQLException
int executeUpdate() throws java.sql.SQLException
java.sql.SQLException
void close()
void cancel()
ResultInterface getMetaData() throws java.sql.SQLException
java.sql.SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |