类 StatementExecuteOk
- java.lang.Object
-
- com.mysql.cj.protocol.x.StatementExecuteOk
-
- 所有已实现的接口:
ProtocolEntity,QueryResult,Result
public class StatementExecuteOk extends Object implements ProtocolEntity, Result
ProtocolEntity representing aStatementExecuteOkmessage.
-
-
构造器概要
构造器 构造器 说明 StatementExecuteOk()StatementExecuteOk(long rowsAffected, Long lastInsertId, List<String> generatedIds, List<Warning> warnings)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 longgetAffectedItemsCount()Get the count of affected items from manipulation statements.List<String>getGeneratedIds()LonggetLastInsertId()Iterator<Warning>getWarnings()Get warnings generated during statement execution.intgetWarningsCount()Get the number of warnings generated during statement execution.
-
-
-
方法详细资料
-
getAffectedItemsCount
public long getAffectedItemsCount()
从接口复制的说明:ResultGet the count of affected items from manipulation statements. This method forces internal buffering of the result.- 指定者:
getAffectedItemsCount在接口中Result- 返回:
- count
-
getLastInsertId
public Long getLastInsertId()
-
getWarningsCount
public int getWarningsCount()
从接口复制的说明:ResultGet the number of warnings generated during statement execution. This method forces internal buffering of the result.- 指定者:
getWarningsCount在接口中Result- 返回:
- number of warnings
-
getWarnings
public Iterator<Warning> getWarnings()
从接口复制的说明:ResultGet warnings generated during statement execution. This method forces internal buffering of the result.- 指定者:
getWarnings在接口中Result- 返回:
- iterator over warnings
-
-