接口 SqlResult
-
- 所有超级接口:
FetchResult<Row>,InsertResult,Iterable<Row>,Iterator<Row>,QueryResult,Result,RowResult
- 所有已知实现类:
SqlMultiResult,SqlSingleResult,SqlUpdateResult
public interface SqlResult extends Result, InsertResult, RowResult
A result from a SQL statement which may have several sets of data following by a DML result.
-
-
方法概要
所有方法 实例方法 默认方法 修饰符和类型 方法 说明 default LonggetAutoIncrementValue()Get the auto-increment value if one was generated from a row insert statement.default booleannextResult()Move to the next result.-
从接口继承的方法 java.lang.Iterable
forEach, spliterator
-
从接口继承的方法 java.util.Iterator
forEachRemaining, hasNext, next, remove
-
从接口继承的方法 com.mysql.cj.xdevapi.Result
getAffectedItemsCount, getWarnings, getWarningsCount
-
从接口继承的方法 com.mysql.cj.xdevapi.RowResult
getColumnCount, getColumnNames, getColumns
-
-
-
-
方法详细资料
-
nextResult
default boolean nextResult()
Move to the next result. This method has no effect after returningfalsefor the first time.- 返回:
- was there a next result that we moved to?
-
getAutoIncrementValue
default Long getAutoIncrementValue()
从接口复制的说明:InsertResultGet the auto-increment value if one was generated from a row insert statement.- 指定者:
getAutoIncrementValue在接口中InsertResult- 返回:
- auto-increment value
-
-