Package com.mysql.cj.xdevapi
Interface InsertResult
- All Superinterfaces:
QueryResult
,Result
- All Known Subinterfaces:
SqlResult
- All Known Implementing Classes:
InsertResultImpl
,SqlMultiResult
,SqlSingleResult
,SqlUpdateResult
public interface InsertResult extends Result
A result from the table.insert() statement.
-
Method Summary
Modifier and Type Method Description java.lang.Long
getAutoIncrementValue()
Get the auto-increment value if one was generated from a row insert statement.Methods inherited from interface com.mysql.cj.xdevapi.Result
getAffectedItemsCount, getWarnings, getWarningsCount
-
Method Details
-
getAutoIncrementValue
java.lang.Long getAutoIncrementValue()Get the auto-increment value if one was generated from a row insert statement.- Returns:
- auto-increment value
-