|
|||||||||
| Home >> All >> com >> mysql >> [ jdbc overview ] | PREV NEXT | ||||||||
Uses of Class
com.mysql.jdbc.Buffer
| Uses of Buffer in com.mysql.jdbc |
| Fields in com.mysql.jdbc declared as Buffer | |
private Buffer |
MysqlIO.reusablePacket
|
private Buffer |
MysqlIO.sendPacket
|
private Buffer |
MysqlIO.sharedSendPacket
|
| Methods in com.mysql.jdbc that return Buffer | |
private Buffer |
PreparedStatement.fillSendPacket()
Creates the packet that contains the query to be sent to the server. |
private Buffer |
PreparedStatement.fillSendPacket(byte[][] batchedParameterStrings,
java.io.InputStream[] batchedParameterStreams,
boolean[] batchedIsStream,
int[] batchedStreamLengths)
Creates the packet that contains the query to be sent to the server. |
(package private) Buffer |
MysqlIO.getSharedSendPacket()
Returns the packet used for sending data (used by PreparedStatement) Guarded by external synchronization on a mutex. |
(package private) Buffer |
MysqlIO.sendCommand(int command,
java.lang.String extraData,
Buffer queryPacket)
Send a command to the MySQL server If data is to be sent with command, it should be put in ExtraData Raw packets can be sent by setting QueryPacket to something other than null. |
private Buffer |
MysqlIO.readPacket()
Read one packet from the MySQL server |
private Buffer |
MysqlIO.reuseAndReadPacket(Buffer reuse)
Re-use a packet to read from the MySQL server |
private Buffer |
MysqlIO.checkErrorPacket()
Checks for errors in the reply packet, and if none, returns the reply packet, ready for reading |
private Buffer |
MysqlIO.checkErrorPacket(int command)
Checks for errors in the reply packet, and if none, returns the reply packet, ready for reading |
private Buffer |
MysqlIO.compressPacket(Buffer packet,
int offset,
int packetLen,
int headerLength)
|
| Methods in com.mysql.jdbc with parameters of type Buffer | |
private void |
PreparedStatement.escapeblockFast(byte[] buf,
Buffer packet,
int size)
|
private void |
PreparedStatement.streamToBytes(Buffer packet,
java.io.InputStream in,
boolean escape,
int streamLength,
boolean useLength)
|
protected Field |
MysqlIO.unpackField(Buffer packet,
boolean extractDefaultValues)
Unpacks the Field information from the given packet. |
(package private) Buffer |
MysqlIO.sendCommand(int command,
java.lang.String extraData,
Buffer queryPacket)
Send a command to the MySQL server If data is to be sent with command, it should be put in ExtraData Raw packets can be sent by setting QueryPacket to something other than null. |
(package private) ResultSet |
MysqlIO.sqlQueryDirect(Buffer queryPacket,
int maxRows,
Connection conn,
int resultSetType,
boolean streamResults,
java.lang.String catalog)
Send a query stored in a packet directly to the server. |
private ResultSet |
MysqlIO.buildResultSetWithUpdates(Buffer resultPacket)
|
private Buffer |
MysqlIO.reuseAndReadPacket(Buffer reuse)
Re-use a packet to read from the MySQL server |
private void |
MysqlIO.send(Buffer packet)
Send a packet to the MySQL server |
private void |
MysqlIO.send(Buffer packet,
int packetLen)
|
private void |
MysqlIO.sendSplitPackets(Buffer packet)
Sends a large packet to the server as a series of smaller packets |
private Buffer |
MysqlIO.compressPacket(Buffer packet,
int offset,
int packetLen,
int headerLength)
|
private void |
MysqlIO.secureAuth(Buffer packet,
int packLength,
java.lang.String user,
java.lang.String password,
java.lang.String database,
boolean writeClientParams)
Secure authentication for 4.1 and newer servers. |
private void |
MysqlIO.secureAuth411(Buffer packet,
int packLength,
java.lang.String user,
java.lang.String password,
java.lang.String database,
boolean writeClientParams)
Secure authentication for 4.1.1 and newer servers. |
(package private) ResultSet |
Connection.execSQL(java.lang.String sql,
int maxRows,
Buffer packet,
java.lang.String catalog)
|
(package private) ResultSet |
Connection.execSQL(java.lang.String sql,
int maxRows,
Buffer packet,
int resultSetType,
java.lang.String catalog)
|
(package private) ResultSet |
Connection.execSQL(java.lang.String sql,
int maxRows,
Buffer packet,
int resultSetType,
boolean streamResults,
boolean queryIsSelectOnly,
java.lang.String catalog)
|
|
|||||||||
| Home >> All >> com >> mysql >> [ jdbc overview ] | PREV NEXT | ||||||||