Class SelectableMappingImpl
- java.lang.Object
-
- org.hibernate.metamodel.mapping.internal.SqlTypedMappingImpl
-
- org.hibernate.metamodel.mapping.internal.SelectableMappingImpl
-
- All Implemented Interfaces:
SelectableMapping
,SqlTypedMapping
public class SelectableMappingImpl extends SqlTypedMappingImpl implements SelectableMapping
-
-
Constructor Summary
Constructors Constructor Description SelectableMappingImpl(String containingTableExpression, String selectionExpression, String customReadExpression, String customWriteExpression, String columnDefinition, Long length, Integer precision, Integer scale, boolean isFormula, JdbcMapping jdbcMapping)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SelectableMapping
from(String containingTableExpression, Selectable selectable, JdbcMapping jdbcMapping, TypeConfiguration typeConfiguration, Dialect dialect, SqmFunctionRegistry sqmFunctionRegistry)
String
getContainingTableExpression()
String
getCustomReadExpression()
String
getCustomWriteExpression()
String
getSelectionExpression()
boolean
isFormula()
-
Methods inherited from class org.hibernate.metamodel.mapping.internal.SqlTypedMappingImpl
getColumnDefinition, getJdbcMapping, getLength, getPrecision, getScale
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.metamodel.mapping.SqlTypedMapping
getColumnDefinition, getJdbcMapping, getLength, getPrecision, getScale
-
-
-
-
Method Detail
-
from
public static SelectableMapping from(String containingTableExpression, Selectable selectable, JdbcMapping jdbcMapping, TypeConfiguration typeConfiguration, Dialect dialect, SqmFunctionRegistry sqmFunctionRegistry)
-
getContainingTableExpression
public String getContainingTableExpression()
- Specified by:
getContainingTableExpression
in interfaceSelectableMapping
-
getSelectionExpression
public String getSelectionExpression()
- Specified by:
getSelectionExpression
in interfaceSelectableMapping
-
getCustomReadExpression
public String getCustomReadExpression()
- Specified by:
getCustomReadExpression
in interfaceSelectableMapping
-
getCustomWriteExpression
public String getCustomWriteExpression()
- Specified by:
getCustomWriteExpression
in interfaceSelectableMapping
-
isFormula
public boolean isFormula()
- Specified by:
isFormula
in interfaceSelectableMapping
-
-