public interface Protocol
| Modifier and Type | Method and Description |
|---|---|
void |
addBatch(String sql) |
void |
clearBatch() |
void |
clearWarning() |
void |
close() |
void |
connect() |
CouchResponse |
doQuery(String query,
Map queryParameters) |
boolean |
execute(CBStatement statement,
String sql) |
int[] |
executeBatch() |
int |
executeUpdate(CBStatement statement,
String sql) |
String |
getPassword() |
int |
getQueryTimeout() |
boolean |
getReadOnly() |
CBResultSet |
getResultSet() |
String |
getSchema() |
long |
getUpdateCount() |
String |
getURL() |
String |
getUserName() |
SQLWarning |
getWarnings() |
boolean |
isValid(int timeout) |
void |
pollCluster() |
CouchResponse |
prepareStatement(String sql,
String[] returning) |
CBResultSet |
query(CBStatement statement,
String sql) |
void |
setConnectionTimeout(int timeout) |
void |
setConnectionTimeout(String timeout) |
void |
setQueryTimeout(int seconds) |
void |
setReadOnly(boolean readOnly) |
void |
setSchema(String schema) |
CBResultSet query(CBStatement statement, String sql) throws SQLException
SQLExceptionint executeUpdate(CBStatement statement, String sql) throws SQLException
SQLExceptionboolean execute(CBStatement statement, String sql) throws SQLException
SQLExceptionvoid addBatch(String sql) throws SQLException
SQLExceptionvoid clearBatch()
throws SQLException
SQLExceptionint[] executeBatch()
throws SQLException
SQLExceptionCouchResponse prepareStatement(String sql, String[] returning) throws SQLException
SQLExceptionCouchResponse doQuery(String query, Map queryParameters) throws SQLException
SQLExceptionlong getUpdateCount()
CBResultSet getResultSet()
String getURL()
String getUserName()
String getPassword()
void setConnectionTimeout(String timeout)
void setConnectionTimeout(int timeout)
void setReadOnly(boolean readOnly)
boolean getReadOnly()
void setQueryTimeout(int seconds)
throws SQLException
SQLExceptionint getQueryTimeout()
throws SQLException
SQLExceptionSQLWarning getWarnings() throws SQLException
SQLExceptionvoid clearWarning()
throws SQLException
SQLExceptionvoid setSchema(String schema) throws SQLException
SQLExceptionString getSchema() throws SQLException
SQLExceptionboolean isValid(int timeout)
throws SQLException
SQLExceptionvoid pollCluster()
throws SQLException
SQLExceptionCopyright © 2016. All rights reserved.