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