Class ExpressionTupleElementMapper
java.lang.Object
com.blazebit.persistence.view.impl.objectbuilder.mapper.ExpressionTupleElementMapper
- All Implemented Interfaces:
TupleElementMapper
- Direct Known Subclasses:
AliasExpressionTupleElementMapper
public class ExpressionTupleElementMapper extends Object implements TupleElementMapper
- 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 String
expression
protected String[]
fetches
protected String
viewPath
-
Constructor Summary
Constructors Constructor Description ExpressionTupleElementMapper(BasicUserTypeStringSupport<Object> basicTypeStringSupport, String expression, String attributePath, String viewPath, String embeddingViewPath)
ExpressionTupleElementMapper(BasicUserTypeStringSupport<Object> basicTypeStringSupport, String expression, String attributePath, String viewPath, String embeddingViewPath, String[] fetches)
-
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()
-
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
-
getAttributePath
- Specified by:
getAttributePath
in interfaceTupleElementMapper
-
getBasicTypeStringSupport
- Specified by:
getBasicTypeStringSupport
in interfaceTupleElementMapper
-