Interface JpaJsonQueryNode
- All Known Subinterfaces:
JpaJsonQueryExpression
- All Known Implementing Classes:
SqmJsonQueryExpression
The base for
json_query function nodes.- Since:
- 7.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumThe behavior of the json query expression when a JSON path does not resolve for a JSON document.static enumThe behavior of the json query expression when a JSON processing error occurs.static enumThe kind of wrapping to apply to the results of the query. -
Method Summary
Modifier and TypeMethodDescriptionSets theJpaJsonQueryNode.EmptyBehavior.EMPTY_ARRAYfor this json query expression.Sets theJpaJsonQueryNode.ErrorBehavior.EMPTY_ARRAYfor this json query expression.Sets theJpaJsonQueryNode.EmptyBehavior.EMPTY_OBJECTfor this json query expression.Sets theJpaJsonQueryNode.ErrorBehavior.EMPTY_OBJECTfor this json query expression.Sets theJpaJsonQueryNode.EmptyBehavior.ERRORfor this json query expression.Sets theJpaJsonQueryNode.ErrorBehavior.ERRORfor this json query expression.Get theJpaJsonQueryNode.EmptyBehaviorof this json query expression.Get theJpaJsonQueryNode.ErrorBehaviorof this json query expression.Get theJpaJsonQueryNode.WrapModeof this json query expression.Sets theJpaJsonQueryNode.EmptyBehavior.NULLfor this json query expression.Sets theJpaJsonQueryNode.ErrorBehavior.NULLfor this json query expression.Sets theJpaJsonQueryNode.EmptyBehavior.UNSPECIFIEDfor this json query expression.Sets theJpaJsonQueryNode.ErrorBehavior.UNSPECIFIEDfor this json query expression.Sets theJpaJsonQueryNode.WrapMode.UNSPECIFIEDfor this json query expression.Sets theJpaJsonQueryNode.WrapMode.WITH_CONDITIONAL_WRAPPERfor this json query expression.Sets theJpaJsonQueryNode.WrapMode.WITHOUT_WRAPPERfor this json query expression.Sets theJpaJsonQueryNode.WrapMode.WITH_WRAPPERfor this json query expression.
-
Method Details
-
getWrapMode
Get theJpaJsonQueryNode.WrapModeof this json query expression.- Returns:
- the wrap mode
-
getErrorBehavior
Get theJpaJsonQueryNode.ErrorBehaviorof this json query expression.- Returns:
- the error behavior
-
getEmptyBehavior
Get theJpaJsonQueryNode.EmptyBehaviorof this json query expression.- Returns:
- the empty behavior
-
withoutWrapper
Sets theJpaJsonQueryNode.WrapMode.WITHOUT_WRAPPERfor this json query expression.- Returns:
thisfor method chaining
-
withWrapper
Sets theJpaJsonQueryNode.WrapMode.WITH_WRAPPERfor this json query expression.- Returns:
thisfor method chaining
-
withConditionalWrapper
Sets theJpaJsonQueryNode.WrapMode.WITH_CONDITIONAL_WRAPPERfor this json query expression.- Returns:
thisfor method chaining
-
unspecifiedWrapper
Sets theJpaJsonQueryNode.WrapMode.UNSPECIFIEDfor this json query expression.- Returns:
thisfor method chaining
-
unspecifiedOnError
Sets theJpaJsonQueryNode.ErrorBehavior.UNSPECIFIEDfor this json query expression.- Returns:
thisfor method chaining
-
errorOnError
Sets theJpaJsonQueryNode.ErrorBehavior.ERRORfor this json query expression.- Returns:
thisfor method chaining
-
nullOnError
Sets theJpaJsonQueryNode.ErrorBehavior.NULLfor this json query expression.- Returns:
thisfor method chaining
-
emptyArrayOnError
Sets theJpaJsonQueryNode.ErrorBehavior.EMPTY_ARRAYfor this json query expression.- Returns:
thisfor method chaining
-
emptyObjectOnError
Sets theJpaJsonQueryNode.ErrorBehavior.EMPTY_OBJECTfor this json query expression.- Returns:
thisfor method chaining
-
unspecifiedOnEmpty
Sets theJpaJsonQueryNode.EmptyBehavior.UNSPECIFIEDfor this json query expression.- Returns:
thisfor method chaining
-
errorOnEmpty
Sets theJpaJsonQueryNode.EmptyBehavior.ERRORfor this json query expression.- Returns:
thisfor method chaining
-
nullOnEmpty
Sets theJpaJsonQueryNode.EmptyBehavior.NULLfor this json query expression.- Returns:
thisfor method chaining
-
emptyArrayOnEmpty
Sets theJpaJsonQueryNode.EmptyBehavior.EMPTY_ARRAYfor this json query expression.- Returns:
thisfor method chaining
-
emptyObjectOnEmpty
Sets theJpaJsonQueryNode.EmptyBehavior.EMPTY_OBJECTfor this json query expression.- Returns:
thisfor method chaining
-