Module org.seasar.doma.core
Class AliasExpression<PROPERTY>
java.lang.Object
org.seasar.doma.jdbc.criteria.expression.AliasExpression<PROPERTY>
- Type Parameters:
PROPERTY- the property type
- All Implemented Interfaces:
PropertyMetamodel<PROPERTY>
Used to add an alias to a column in the select clause. For in adherence to standard SQL, It is
recommended to specify only in the
NativeSqlSelectStarting.select() and NativeSqlSelectStarting.orderBy(java.util.function.Consumer<org.seasar.doma.jdbc.criteria.declaration.OrderByNameDeclaration>) method.-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionAliasExpression(PropertyMetamodel<PROPERTY> originalPropertyMetamodel, String alias) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(PropertyMetamodel.Visitor visitor) Class<?>asClass()EntityPropertyType<?,?> asType()booleangetAlias()getName()inthashCode()
-
Constructor Details
-
AliasExpression
-
-
Method Details
-
asType
- Specified by:
asTypein interfacePropertyMetamodel<PROPERTY>
-
asClass
- Specified by:
asClassin interfacePropertyMetamodel<PROPERTY>
-
getName
- Specified by:
getNamein interfacePropertyMetamodel<PROPERTY>
-
accept
- Specified by:
acceptin interfacePropertyMetamodel<PROPERTY>
-
getOriginalPropertyMetamodel
-
getAlias
-
equals
-
hashCode
public int hashCode()
-