public class ComStmtPrepare extends Object
| Constructor and Description |
|---|
ComStmtPrepare(Protocol protocol,
String sql) |
| Modifier and Type | Method and Description |
|---|---|
ServerPrepareResult |
read(PacketInputStream reader,
boolean eofDeprecated)
Read COM_PREPARE_RESULT.
|
void |
send(PacketOutputStream pos)
Send directly to socket the sql data.
|
public void send(PacketOutputStream pos) throws IOException
pos - the writerIOException - if connection error occurpublic ServerPrepareResult read(PacketInputStream reader, boolean eofDeprecated) throws IOException, SQLException
reader - inputStreameofDeprecated - are EOF_packet deprecatedIOException - if connection has errorSQLException - if server answer with error.Copyright © 2019 mariadb.org. All rights reserved.