Class FuncallHelper
java.lang.Object
ch.tocco.nice2.persist.core.api.hibernate.FuncallHelper
-
Method Summary
Modifier and TypeMethodDescriptionstatic jakarta.persistence.criteria.Expression<?>[]
handleFuncallArguments
(jakarta.persistence.criteria.From<?, ?> queryRoot, FuncallNode node, CriteriaBuilderWrapper criteriaBuilder, DataModel dataModel, FieldResolver fieldResolver, Map<String, JdbcFunction> jdbcFunctions) CreatesExpression
fromNode
arguments.static <T> jakarta.persistence.criteria.Expression
<T> handleJdbcFunctionCall
(String key, Class<T> expectedReturnType, jakarta.persistence.criteria.From<?, ?> queryRoot, FuncallNode node, CriteriaBuilderWrapper criteriaBuilder, DataModel dataModel, FieldResolver fieldResolver, Map<String, JdbcFunction> jdbcFunctions) static void
handleOrderNode
(FuncallNode orderNode, Ordering ordering) Adds the 'ORDER BY' clauses defined by the givenFuncallNode
to the givenOrdering
instance.
-
Method Details
-
handleJdbcFunctionCall
public static <T> jakarta.persistence.criteria.Expression<T> handleJdbcFunctionCall(String key, Class<T> expectedReturnType, jakarta.persistence.criteria.From<?, ?> queryRoot, FuncallNode node, CriteriaBuilderWrapper criteriaBuilder, DataModel dataModel, FieldResolver fieldResolver, Map<String, JdbcFunction> jdbcFunctions) -
handleFuncallArguments
public static jakarta.persistence.criteria.Expression<?>[] handleFuncallArguments(jakarta.persistence.criteria.From<?, ?> queryRoot, FuncallNode node, CriteriaBuilderWrapper criteriaBuilder, DataModel dataModel, FieldResolver fieldResolver, Map<String, JdbcFunction> jdbcFunctions) CreatesExpression
fromNode
arguments. -
handleOrderNode
Adds the 'ORDER BY' clauses defined by the givenFuncallNode
to the givenOrdering
instance.
-