Package org.h2.result
Class ResultWithGeneratedKeys
java.lang.Object
org.h2.result.ResultWithGeneratedKeys
- Direct Known Subclasses:
ResultWithGeneratedKeys.WithKeys
Result of update command with optional generated keys.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classResult of update command with generated keys; -
Method Summary
Modifier and TypeMethodDescriptionReturns generated keys, ornull.longReturns update count.static ResultWithGeneratedKeysof(long updateCount) Returns a result with only update count.
-
Method Details
-
of
Returns a result with only update count.- Parameters:
updateCount- update count- Returns:
- the result.
-
getGeneratedKeys
Returns generated keys, ornull.- Returns:
- generated keys, or
null
-
getUpdateCount
public long getUpdateCount()Returns update count.- Returns:
- update count
-