public class ComStmtExecute extends Object
| 构造器和说明 |
|---|
ComStmtExecute() |
| 限定符和类型 | 方法和说明 |
|---|---|
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
public static void sendArrayBinding(PacketOutputStream pos, int statementId, List<ParameterHolder[]> queryParameters, int queryParamtersSize, int parameterCount, ColumnType[] parameterTypeHeader, byte cursorFlag, Protocol protocol) throws IOException, SQLException
Copyright © 2024 oceanbase.com. All rights reserved.