| Modifier and Type | Method and Description |
|---|---|
static void |
SQLExceptionMapper.throwException(QueryException e,
MySQLConnection connection,
Statement statement) |
| Modifier and Type | Method and Description |
|---|---|
int |
CommandPacket.send(OutputStream os) |
| Modifier and Type | Method and Description |
|---|---|
int |
StreamedQueryPacket.send(OutputStream ostream) |
| Modifier and Type | Method and Description |
|---|---|
void |
MySQLQuery.validate() |
void |
Query.validate() |
void |
MySQLParameterizedQuery.validate() |
void |
Query.writeTo(OutputStream os) |
void |
MySQLParameterizedQuery.writeTo(OutputStream os) |
| Modifier and Type | Class and Description |
|---|---|
class |
NoSuchColumnException |
| Modifier and Type | Method and Description |
|---|---|
static CachedSelectResult |
CachedSelectResult.createCachedSelectResult(StreamingSelectResult streamingResult) |
static StreamingSelectResult |
StreamingSelectResult.createStreamingSelectResult(ResultSetPacket packet,
PacketFetcher packetFetcher,
MySQLProtocol protocol)
create StreamingResultSet - precondition is that a result set packet has been read
|
abstract boolean |
SelectQueryResult.next() |
boolean |
CachedSelectResult.next() |
boolean |
StreamingSelectResult.next() |
| Modifier and Type | Method and Description |
|---|---|
void |
MySQLProtocol.cancelCurrentQuery()
cancels the current query - clones the current protocol and executes a query using the new connection
thread safe
|
void |
MySQLProtocol.closePreparedStatement(int statementId) |
void |
MySQLProtocol.connect() |
QueryResult |
MySQLProtocol.executeQuery(Query dQuery) |
QueryResult |
MySQLProtocol.executeQuery(Query dQuery,
boolean streaming) |
QueryResult |
MySQLProtocol.getMoreResults(boolean streaming) |
QueryResult |
MySQLProtocol.getResult(Query dQuery,
boolean streaming) |
String |
MySQLProtocol.getServerVariable(String variable) |
boolean |
MySQLProtocol.ping() |
MySQLProtocol.PrepareResult |
MySQLProtocol.prepare(String sql) |
void |
MySQLProtocol.reconnectToMaster() |
void |
MySQLProtocol.selectDB(String database) |
void |
MySQLProtocol.setMaxRows(int max) |
| Constructor and Description |
|---|
MySQLProtocol(JDBCUrl url,
String username,
String password,
Properties info)
Get a protocol instance
|
| Modifier and Type | Method and Description |
|---|---|
int |
MySQLClientOldPasswordAuthPacket.send(OutputStream os) |
Copyright © 2014. All rights reserved.