Class ExpressionSubqueryTupleElementMapper
java.lang.Object
com.blazebit.persistence.view.impl.objectbuilder.mapper.ExpressionSubqueryTupleElementMapper
- All Implemented Interfaces:
SubqueryTupleElementMapper
,TupleElementMapper
- Direct Known Subclasses:
AliasExpressionSubqueryTupleElementMapper
public class ExpressionSubqueryTupleElementMapper extends Object implements SubqueryTupleElementMapper
- Since:
- 1.0.0
- Author:
- Christian Beikov
-
Field Summary
Fields Modifier and Type Field Description protected String
attributePath
protected BasicUserTypeStringSupport<Object>
basicTypeStringSupport
protected String
embeddingViewPath
protected SubqueryProvider
provider
protected String
subqueryAlias
protected String
subqueryExpression
protected String
viewPath
-
Constructor Summary
Constructors Constructor Description ExpressionSubqueryTupleElementMapper(Type<?> type, SubqueryProvider provider, String subqueryExpression, String subqueryAlias, String attributePath, String viewPath, String embeddingViewPath)
-
Method Summary
Modifier and Type Method Description void
applyMapping(SelectBuilder<?> queryBuilder, ParameterHolder<?> parameterHolder, Map<String,Object> optionalParameters, ViewJpqlMacro viewJpqlMacro, EmbeddingViewJpqlMacro embeddingViewJpqlMacro, boolean asString)
String
getAttributePath()
BasicUserTypeStringSupport<Object>
getBasicTypeStringSupport()
String
getEmbeddingViewPath()
String
getSubqueryAlias()
String
getSubqueryExpression()
String
getViewPath()
protected SubqueryInitiator<?>
subqueryInitiator(SelectBuilder<?> queryBuilder, ViewJpqlMacro viewJpqlMacro, EmbeddingViewJpqlMacro embeddingViewJpqlMacro, boolean asString)
-
Field Details
-
Constructor Details
-
Method Details
-
applyMapping
public void applyMapping(SelectBuilder<?> queryBuilder, ParameterHolder<?> parameterHolder, Map<String,Object> optionalParameters, ViewJpqlMacro viewJpqlMacro, EmbeddingViewJpqlMacro embeddingViewJpqlMacro, boolean asString)- Specified by:
applyMapping
in interfaceTupleElementMapper
-
subqueryInitiator
protected SubqueryInitiator<?> subqueryInitiator(SelectBuilder<?> queryBuilder, ViewJpqlMacro viewJpqlMacro, EmbeddingViewJpqlMacro embeddingViewJpqlMacro, boolean asString) -
getAttributePath
- Specified by:
getAttributePath
in interfaceTupleElementMapper
-
getViewPath
- Specified by:
getViewPath
in interfaceSubqueryTupleElementMapper
-
getEmbeddingViewPath
- Specified by:
getEmbeddingViewPath
in interfaceSubqueryTupleElementMapper
-
getSubqueryAlias
- Specified by:
getSubqueryAlias
in interfaceSubqueryTupleElementMapper
-
getSubqueryExpression
- Specified by:
getSubqueryExpression
in interfaceSubqueryTupleElementMapper
-
getBasicTypeStringSupport
- Specified by:
getBasicTypeStringSupport
in interfaceTupleElementMapper
-