Package org.hibernate.sql.ast.spi
Class SqlAliasBaseConstant
- java.lang.Object
-
- org.hibernate.sql.ast.spi.SqlAliasBaseConstant
-
- All Implemented Interfaces:
SqlAliasBase
public class SqlAliasBaseConstant extends Object implements SqlAliasBase
A SqlAliasBase that always returns the same constant.
-
-
Constructor Summary
Constructors Constructor Description SqlAliasBaseConstant(String constant)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
generateNewAlias()
Generates a new alias based on the stemString
getAliasStem()
The stem for unique alias generationString
toString()
-
-
-
Constructor Detail
-
SqlAliasBaseConstant
public SqlAliasBaseConstant(String constant)
-
-
Method Detail
-
getAliasStem
public String getAliasStem()
Description copied from interface:SqlAliasBase
The stem for unique alias generation- Specified by:
getAliasStem
in interfaceSqlAliasBase
-
generateNewAlias
public String generateNewAlias()
Description copied from interface:SqlAliasBase
Generates a new alias based on the stem- Specified by:
generateNewAlias
in interfaceSqlAliasBase
-
-