Package org.hibernate.query.criteria
Interface JpaJsonExistsNode
- All Known Subinterfaces:
JpaJsonExistsExpression
- All Known Implementing Classes:
SqmJsonExistsExpression
The base for
json_exists function nodes.- Since:
- 7.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumThe behavior of the json exists expression when a JSON processing error occurs. -
Method Summary
Modifier and TypeMethodDescriptionSets theJpaJsonExistsNode.ErrorBehavior.ERRORfor this json exists expression.Sets theJpaJsonExistsNode.ErrorBehavior.FALSEfor this json exists expression.Get theJpaJsonExistsNode.ErrorBehaviorof this json exists expression.Sets theJpaJsonExistsNode.ErrorBehavior.TRUEfor this json exists expression.Sets theJpaJsonExistsNode.ErrorBehavior.UNSPECIFIEDfor this json exists expression.
-
Method Details
-
getErrorBehavior
JpaJsonExistsNode.ErrorBehavior getErrorBehavior()Get theJpaJsonExistsNode.ErrorBehaviorof this json exists expression.- Returns:
- the error behavior
-
unspecifiedOnError
JpaJsonExistsNode unspecifiedOnError()Sets theJpaJsonExistsNode.ErrorBehavior.UNSPECIFIEDfor this json exists expression.- Returns:
thisfor method chaining
-
errorOnError
JpaJsonExistsNode errorOnError()Sets theJpaJsonExistsNode.ErrorBehavior.ERRORfor this json exists expression.- Returns:
thisfor method chaining
-
trueOnError
JpaJsonExistsNode trueOnError()Sets theJpaJsonExistsNode.ErrorBehavior.TRUEfor this json exists expression.- Returns:
thisfor method chaining
-
falseOnError
JpaJsonExistsNode falseOnError()Sets theJpaJsonExistsNode.ErrorBehavior.FALSEfor this json exists expression.- Returns:
thisfor method chaining
-