|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsimpledb.remote.StatementAdapter
simpledb.remote.SimpleStatement
public class SimpleStatement
An adapter class that wraps RemoteStatement. Its methods do nothing except transform RemoteExceptions into SQLExceptions.
| Field Summary |
|---|
| Fields inherited from interface java.sql.Statement |
|---|
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO |
| Constructor Summary | |
|---|---|
SimpleStatement(RemoteStatement s)
|
|
| Method Summary | |
|---|---|
java.sql.ResultSet |
executeQuery(java.lang.String qry)
|
int |
executeUpdate(java.lang.String cmd)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleStatement(RemoteStatement s)
| Method Detail |
|---|
public java.sql.ResultSet executeQuery(java.lang.String qry)
throws java.sql.SQLException
executeQuery in interface java.sql.StatementexecuteQuery in class StatementAdapterjava.sql.SQLException
public int executeUpdate(java.lang.String cmd)
throws java.sql.SQLException
executeUpdate in interface java.sql.StatementexecuteUpdate in class StatementAdapterjava.sql.SQLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||