Package com.blazebit.persistence.impl
Class JpqlMacroAwareExpressionFactory
java.lang.Object
com.blazebit.persistence.impl.JpqlMacroAwareExpressionFactory
- All Implemented Interfaces:
ExpressionFactory
- Since:
- 1.2.0
- Author:
- Christian Beikov
-
Constructor Summary
ConstructorsConstructorDescriptionJpqlMacroAwareExpressionFactory
(ExpressionFactory expressionFactory, JpqlMacroStorage macroStorage) -
Method Summary
Modifier and TypeMethodDescriptioncreateBooleanExpression
(String expression, boolean allowQuantifiedPredicates) createBooleanExpression
(String expression, boolean allowQuantifiedPredicates, MacroConfiguration macroConfiguration, Set<String> usedMacros) createInItemExpression
(String parameterOrLiteralExpression) createInItemExpression
(String parameterOrLiteralExpression, MacroConfiguration macroConfiguration, Set<String> usedMacros) createInItemExpressions
(String[] parameterOrLiteralExpressions) createInItemExpressions
(String[] parameterOrLiteralExpressions, MacroConfiguration macroConfiguration, Set<String> usedMacros) createInItemOrPathExpression
(String parameterOrLiteralExpression) createInItemOrPathExpression
(String parameterOrLiteralExpression, MacroConfiguration macroConfiguration, Set<String> usedMacros) createJoinPathExpression
(String expression) createJoinPathExpression
(String expression, MacroConfiguration macroConfiguration, Set<String> usedMacros) createPathExpression
(String expression) createPathExpression
(String expression, MacroConfiguration macroConfiguration, Set<String> usedMacros) createSimpleExpression
(String expression) createSimpleExpression
(String expression, boolean allowQuantifiedPredicates) createSimpleExpression
(String expression, boolean allowOuter, boolean allowQuantifiedPredicates) createSimpleExpression
(String expression, boolean allowOuter, boolean allowQuantifiedPredicates, boolean allowObjectExpression) createSimpleExpression
(String expression, boolean allowOuter, boolean allowQuantifiedPredicates, boolean allowObjectExpression, MacroConfiguration macroConfiguration, Set<String> usedMacros) boolean
int
hashCode()
<T extends ExpressionFactory>
T
-
Constructor Details
-
JpqlMacroAwareExpressionFactory
public JpqlMacroAwareExpressionFactory(ExpressionFactory expressionFactory, JpqlMacroStorage macroStorage)
-
-
Method Details
-
unwrap
- Specified by:
unwrap
in interfaceExpressionFactory
-
getDefaultMacroConfiguration
- Specified by:
getDefaultMacroConfiguration
in interfaceExpressionFactory
-
createJoinPathExpression
- Specified by:
createJoinPathExpression
in interfaceExpressionFactory
-
createJoinPathExpression
public Expression createJoinPathExpression(String expression, MacroConfiguration macroConfiguration, Set<String> usedMacros) - Specified by:
createJoinPathExpression
in interfaceExpressionFactory
-
createPathExpression
- Specified by:
createPathExpression
in interfaceExpressionFactory
-
createPathExpression
public Expression createPathExpression(String expression, MacroConfiguration macroConfiguration, Set<String> usedMacros) - Specified by:
createPathExpression
in interfaceExpressionFactory
-
createSimpleExpression
- Specified by:
createSimpleExpression
in interfaceExpressionFactory
-
createSimpleExpression
- Specified by:
createSimpleExpression
in interfaceExpressionFactory
-
createSimpleExpression
public Expression createSimpleExpression(String expression, boolean allowOuter, boolean allowQuantifiedPredicates) - Specified by:
createSimpleExpression
in interfaceExpressionFactory
-
createSimpleExpression
public Expression createSimpleExpression(String expression, boolean allowOuter, boolean allowQuantifiedPredicates, boolean allowObjectExpression) - Specified by:
createSimpleExpression
in interfaceExpressionFactory
-
createSimpleExpression
public Expression createSimpleExpression(String expression, boolean allowOuter, boolean allowQuantifiedPredicates, boolean allowObjectExpression, MacroConfiguration macroConfiguration, Set<String> usedMacros) - Specified by:
createSimpleExpression
in interfaceExpressionFactory
-
createInItemExpressions
- Specified by:
createInItemExpressions
in interfaceExpressionFactory
-
createInItemExpressions
public List<Expression> createInItemExpressions(String[] parameterOrLiteralExpressions, MacroConfiguration macroConfiguration, Set<String> usedMacros) - Specified by:
createInItemExpressions
in interfaceExpressionFactory
-
createInItemExpression
- Specified by:
createInItemExpression
in interfaceExpressionFactory
-
createInItemExpression
public Expression createInItemExpression(String parameterOrLiteralExpression, MacroConfiguration macroConfiguration, Set<String> usedMacros) - Specified by:
createInItemExpression
in interfaceExpressionFactory
-
createInItemOrPathExpression
- Specified by:
createInItemOrPathExpression
in interfaceExpressionFactory
-
createInItemOrPathExpression
public Expression createInItemOrPathExpression(String parameterOrLiteralExpression, MacroConfiguration macroConfiguration, Set<String> usedMacros) - Specified by:
createInItemOrPathExpression
in interfaceExpressionFactory
-
createBooleanExpression
- Specified by:
createBooleanExpression
in interfaceExpressionFactory
-
createBooleanExpression
public Predicate createBooleanExpression(String expression, boolean allowQuantifiedPredicates, MacroConfiguration macroConfiguration, Set<String> usedMacros) - Specified by:
createBooleanExpression
in interfaceExpressionFactory
-
equals
-
hashCode
public int hashCode()
-