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 enum
The behavior of the json exists expression when a JSON processing error occurs. -
Method Summary
Modifier and TypeMethodDescriptionSets theJpaJsonExistsNode.ErrorBehavior.ERROR
for this json exists expression.Sets theJpaJsonExistsNode.ErrorBehavior.FALSE
for this json exists expression.Get theJpaJsonExistsNode.ErrorBehavior
of this json exists expression.Sets theJpaJsonExistsNode.ErrorBehavior.TRUE
for this json exists expression.Sets theJpaJsonExistsNode.ErrorBehavior.UNSPECIFIED
for this json exists expression.
-
Method Details
-
getErrorBehavior
JpaJsonExistsNode.ErrorBehavior getErrorBehavior()Get theJpaJsonExistsNode.ErrorBehavior
of this json exists expression.- Returns:
- the error behavior
-
unspecifiedOnError
JpaJsonExistsNode unspecifiedOnError()Sets theJpaJsonExistsNode.ErrorBehavior.UNSPECIFIED
for this json exists expression.- Returns:
this
for method chaining
-
errorOnError
JpaJsonExistsNode errorOnError()Sets theJpaJsonExistsNode.ErrorBehavior.ERROR
for this json exists expression.- Returns:
this
for method chaining
-
trueOnError
JpaJsonExistsNode trueOnError()Sets theJpaJsonExistsNode.ErrorBehavior.TRUE
for this json exists expression.- Returns:
this
for method chaining
-
falseOnError
JpaJsonExistsNode falseOnError()Sets theJpaJsonExistsNode.ErrorBehavior.FALSE
for this json exists expression.- Returns:
this
for method chaining
-