public class ComStmtExecute extends Object
| Constructor and Description |
|---|
ComStmtExecute() |
| Modifier and Type | Method and Description |
|---|---|
static void |
send(PacketOutputStream pos,
int statementId,
ParameterHolder[] parameters,
int parameterCount,
ColumnType[] parameterTypeHeader,
byte cursorFlag,
Protocol protocol)
Send a prepare statement binary stream.
|
static void |
sendArrayBinding(PacketOutputStream pos,
int statementId,
List<ParameterHolder[]> queryParameters,
int queryParamtersSize,
int parameterCount,
ColumnType[] parameterTypeHeader,
byte cursorFlag,
Protocol protocol) |
static void |
writeCmdArrayBinding(int statementId,
List<ParameterHolder[]> queryParameters,
int queryParamtersSize,
int parameterCount,
ColumnType[] parameterTypeHeader,
PacketOutputStream pos,
byte cursorFlag,
Protocol protocol) |
public static void send(PacketOutputStream pos, int statementId, ParameterHolder[] parameters, int parameterCount, ColumnType[] parameterTypeHeader, byte cursorFlag, Protocol protocol) throws IOException, SQLException
pos - database socketstatementId - prepareResult object received after preparation.parameters - parametersparameterCount - parameters numberparameterTypeHeader - parameters headercursorFlag - cursor flag. Possible values :
IOException - if a connection error occurSQLExceptionpublic static void writeCmdArrayBinding(int statementId,
List<ParameterHolder[]> queryParameters,
int queryParamtersSize,
int parameterCount,
ColumnType[] parameterTypeHeader,
PacketOutputStream pos,
byte cursorFlag,
Protocol protocol)
throws IOException,
SQLException
IOExceptionSQLExceptionpublic static void sendArrayBinding(PacketOutputStream pos, int statementId, List<ParameterHolder[]> queryParameters, int queryParamtersSize, int parameterCount, ColumnType[] parameterTypeHeader, byte cursorFlag, Protocol protocol) throws IOException, SQLException
IOExceptionSQLExceptionCopyright © 2022 oceanbase.com. All rights reserved.