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) booleaninthashCode()<T extends ExpressionFactory>
T
-
Constructor Details
-
JpqlMacroAwareExpressionFactory
public JpqlMacroAwareExpressionFactory(ExpressionFactory expressionFactory, JpqlMacroStorage macroStorage)
-
-
Method Details
-
unwrap
- Specified by:
unwrapin interfaceExpressionFactory
-
getDefaultMacroConfiguration
- Specified by:
getDefaultMacroConfigurationin interfaceExpressionFactory
-
createJoinPathExpression
- Specified by:
createJoinPathExpressionin interfaceExpressionFactory
-
createJoinPathExpression
public Expression createJoinPathExpression(String expression, MacroConfiguration macroConfiguration, Set<String> usedMacros) - Specified by:
createJoinPathExpressionin interfaceExpressionFactory
-
createPathExpression
- Specified by:
createPathExpressionin interfaceExpressionFactory
-
createPathExpression
public Expression createPathExpression(String expression, MacroConfiguration macroConfiguration, Set<String> usedMacros) - Specified by:
createPathExpressionin interfaceExpressionFactory
-
createSimpleExpression
- Specified by:
createSimpleExpressionin interfaceExpressionFactory
-
createSimpleExpression
- Specified by:
createSimpleExpressionin interfaceExpressionFactory
-
createSimpleExpression
public Expression createSimpleExpression(String expression, boolean allowOuter, boolean allowQuantifiedPredicates) - Specified by:
createSimpleExpressionin interfaceExpressionFactory
-
createSimpleExpression
public Expression createSimpleExpression(String expression, boolean allowOuter, boolean allowQuantifiedPredicates, boolean allowObjectExpression) - Specified by:
createSimpleExpressionin interfaceExpressionFactory
-
createSimpleExpression
public Expression createSimpleExpression(String expression, boolean allowOuter, boolean allowQuantifiedPredicates, boolean allowObjectExpression, MacroConfiguration macroConfiguration, Set<String> usedMacros) - Specified by:
createSimpleExpressionin interfaceExpressionFactory
-
createInItemExpressions
- Specified by:
createInItemExpressionsin interfaceExpressionFactory
-
createInItemExpressions
public List<Expression> createInItemExpressions(String[] parameterOrLiteralExpressions, MacroConfiguration macroConfiguration, Set<String> usedMacros) - Specified by:
createInItemExpressionsin interfaceExpressionFactory
-
createInItemExpression
- Specified by:
createInItemExpressionin interfaceExpressionFactory
-
createInItemExpression
public Expression createInItemExpression(String parameterOrLiteralExpression, MacroConfiguration macroConfiguration, Set<String> usedMacros) - Specified by:
createInItemExpressionin interfaceExpressionFactory
-
createInItemOrPathExpression
- Specified by:
createInItemOrPathExpressionin interfaceExpressionFactory
-
createInItemOrPathExpression
public Expression createInItemOrPathExpression(String parameterOrLiteralExpression, MacroConfiguration macroConfiguration, Set<String> usedMacros) - Specified by:
createInItemOrPathExpressionin interfaceExpressionFactory
-
createBooleanExpression
- Specified by:
createBooleanExpressionin interfaceExpressionFactory
-
createBooleanExpression
public Predicate createBooleanExpression(String expression, boolean allowQuantifiedPredicates, MacroConfiguration macroConfiguration, Set<String> usedMacros) - Specified by:
createBooleanExpressionin interfaceExpressionFactory
-
equals
-
hashCode
public int hashCode()
-