Class SelectableConsumer.MutableSelectableMapping
java.lang.Object
org.hibernate.metamodel.mapping.SelectableConsumer.MutableSelectableMapping
- All Implemented Interfaces:
SelectableMapping, SqlTypedMapping
- Enclosing interface:
SelectableConsumer
public static class SelectableConsumer.MutableSelectableMapping
extends Object
implements SelectableMapping
-
Constructor Summary
ConstructorsConstructorDescriptionMutableSelectableMapping(String tableName, JdbcMappingContainer base, String[] columnNames) -
Method Summary
Modifier and TypeMethodDescription@Nullable IntegerThe name of the table to which this selectable is mapped@Nullable StringThe selection's read expression accounting for formula treatment as well asColumnTransformer.read()@Nullable StringThe selection's write expression accountingColumnTransformer.write()@Nullable Long@Nullable Integer@Nullable IntegergetScale()The selection's expression.@Nullable IntegerbooleanIs the mapping a formula instead of a physical column?booleanbooleanIs the mapping considered nullable?booleanbooleanMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface SelectableMapping
getSelectableName, getSelectablePath, getWriteExpressionMethods inherited from interface SqlTypedMapping
isLob, toSize
-
Constructor Details
-
MutableSelectableMapping
-
-
Method Details
-
getContainingTableExpression
Description copied from interface:SelectableMappingThe name of the table to which this selectable is mapped- Specified by:
getContainingTableExpressionin interfaceSelectableMapping
-
getSelectionExpression
Description copied from interface:SelectableMappingThe selection's expression. This is the column name or formula- Specified by:
getSelectionExpressionin interfaceSelectableMapping
-
getJdbcMapping
- Specified by:
getJdbcMappingin interfaceSqlTypedMapping
-
isFormula
public boolean isFormula()Description copied from interface:SelectableMappingIs the mapping a formula instead of a physical column?- Specified by:
isFormulain interfaceSelectableMapping
-
isNullable
public boolean isNullable()Description copied from interface:SelectableMappingIs the mapping considered nullable?- Specified by:
isNullablein interfaceSelectableMapping
-
isInsertable
public boolean isInsertable()- Specified by:
isInsertablein interfaceSelectableMapping
-
isUpdateable
public boolean isUpdateable()- Specified by:
isUpdateablein interfaceSelectableMapping
-
isPartitioned
public boolean isPartitioned()- Specified by:
isPartitionedin interfaceSelectableMapping
-
getColumnDefinition
- Specified by:
getColumnDefinitionin interfaceSqlTypedMapping
-
getLength
- Specified by:
getLengthin interfaceSqlTypedMapping
-
getArrayLength
- Specified by:
getArrayLengthin interfaceSqlTypedMapping
-
getPrecision
- Specified by:
getPrecisionin interfaceSqlTypedMapping
-
getScale
- Specified by:
getScalein interfaceSqlTypedMapping
-
getTemporalPrecision
- Specified by:
getTemporalPrecisionin interfaceSqlTypedMapping
-
getCustomReadExpression
Description copied from interface:SelectableMappingThe selection's read expression accounting for formula treatment as well asColumnTransformer.read()- Specified by:
getCustomReadExpressionin interfaceSelectableMapping
-
getCustomWriteExpression
Description copied from interface:SelectableMappingThe selection's write expression accountingColumnTransformer.write()- Specified by:
getCustomWriteExpressionin interfaceSelectableMapping
-