Interface JpaJsonTableFunction
- All Superinterfaces:
JpaJsonTableColumnsNode
- All Known Implementing Classes:
SqmJsonTableFunction
A special expression for the
json_table function.- 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 theJpaJsonTableFunction.ErrorBehavior.ERRORfor this json table expression.Get theJpaJsonTableFunction.ErrorBehaviorof this json table expression.Sets theJpaJsonTableFunction.ErrorBehavior.NULLfor this json table expression.ordinalityColumn(String columnName) Add an ordinality column with the given name.passing(String parameterName, Expression<?> expression) Passes the givenExpressionas value for the parameter with the given name in the JSON path.Sets theJpaJsonTableFunction.ErrorBehavior.UNSPECIFIEDfor this json table expression.Methods inherited from interface JpaJsonTableColumnsNode
existsColumn, existsColumn, nested, queryColumn, queryColumn, valueColumn, valueColumn, valueColumn, valueColumn
-
Method Details
-
passing
@Nonnull JpaJsonTableFunction passing(@Nonnull String parameterName, @Nonnull Expression<?> expression) Passes the givenExpressionas value for the parameter with the given name in the JSON path.- Returns:
thisfor method chaining
-
getErrorBehavior
Get theJpaJsonTableFunction.ErrorBehaviorof this json table expression.- Returns:
- the error behavior
-
unspecifiedOnError
Sets theJpaJsonTableFunction.ErrorBehavior.UNSPECIFIEDfor this json table expression.- Returns:
thisfor method chaining
-
errorOnError
Sets theJpaJsonTableFunction.ErrorBehavior.ERRORfor this json table expression.- Returns:
thisfor method chaining
-
nullOnError
Sets theJpaJsonTableFunction.ErrorBehavior.NULLfor this json table expression.- Returns:
thisfor method chaining
-
ordinalityColumn
Add an ordinality column with the given name.- Specified by:
ordinalityColumnin interfaceJpaJsonTableColumnsNode- Returns:
thisfor method chaining
-