Module spring.data.relational
Interface LockClause
public interface LockClause
A clause representing Dialect-specific
LOCK.- Since:
- 2.0
- Author:
- Myeonghyeon Lee
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumEnumeration of where to render the clause within the SQL statement. -
Method Summary
Modifier and TypeMethodDescriptionReturns theLockClause.Positionwhere to apply theclause.getLock(LockOptions lockOptions) Returns theLOCKclause to lock results.
-
Method Details
-
getLock
Returns theLOCKclause to lock results.- Parameters:
lockOptions- contains the lock mode to apply.- Returns:
- rendered lock clause.
-
getClausePosition
LockClause.Position getClausePosition()Returns theLockClause.Positionwhere to apply theclause.
-