Package org.hibernate.mapping
Class AggregateColumn
- java.lang.Object
-
- org.hibernate.mapping.Column
-
- org.hibernate.mapping.AggregateColumn
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Selectable
,ColumnTypeInformation
public class AggregateColumn extends Column
An aggregate column is a column of typeSqlTypes.STRUCT
,SqlTypes.JSON
orSqlTypes.SQLXML
that aggregates a component into a single column.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface org.hibernate.tool.schema.extract.spi.ColumnTypeInformation
EMPTY
-
-
Constructor Summary
Constructors Constructor Description AggregateColumn(Column column, Component component)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AggregateColumn
clone()
Shallow copy, the value is not copiedString
getAggregateAssignmentExpressionTemplate(Dialect dialect)
String
getAggregateReadExpressionTemplate(Dialect dialect)
Component
getComponent()
SelectablePath
getSelectablePath()
-
Methods inherited from class org.hibernate.mapping.Column
addCheckConstraint, checkConstraint, equals, equals, getAlias, getAlias, getAssignmentExpression, getCanonicalName, getCheckConstraint, getCheckConstraints, getColumnSize, getColumnSize, getComment, getCustomRead, getCustomReadExpression, getCustomWrite, getCustomWriteExpression, getDecimalDigits, getDefaultValue, getGeneratedAs, getLength, getName, getNullable, getPrecision, getQuotedName, getQuotedName, getReadExpr, getScale, getSpecializedTypeDeclaration, getSqlType, getSqlType, getSqlType, getSqlTypeCode, getSqlTypeCode, getTemplate, getText, getText, getTypeCode, getTypeIndex, getTypeName, getValue, getWriteExpr, hasCheckConstraint, hasCustomRead, hashCode, hasSpecializedTypeDeclaration, isFormula, isNullable, isQuoted, isSqlTypeLob, isSqlTypeLob, isUnique, setAssignmentExpression, setCheckConstraint, setComment, setCustomRead, setCustomWrite, setDefaultValue, setGeneratedAs, setLength, setLength, setName, setNullable, setPrecision, setResolvedCustomRead, setScale, setSpecializedTypeDeclaration, setSqlType, setSqlTypeCode, setTypeIndex, setUnique, setValue, toString
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.hibernate.mapping.Selectable
getWriteExpr
-
-
-
-
Method Detail
-
getComponent
public Component getComponent()
-
getSelectablePath
public SelectablePath getSelectablePath()
-
getAggregateReadExpressionTemplate
public String getAggregateReadExpressionTemplate(Dialect dialect)
-
getAggregateAssignmentExpressionTemplate
public String getAggregateAssignmentExpressionTemplate(Dialect dialect)
-
clone
public AggregateColumn clone()
Shallow copy, the value is not copied
-
-