Interface RenderNamingStrategy
public interface RenderNamingStrategy
Naming strategy for SQL rendering.
- Since:
- 1.1
- Author:
- Mark Paluch, Jens Schauder
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault SqlIdentifier
Return thecolumn name
.default SqlIdentifier
Return thetable name
.default SqlIdentifier
getReferenceName
(Column column) Return thecolumn reference name
.default SqlIdentifier
getReferenceName
(TableLike table) Return thetable reference name
.default RenderNamingStrategy
Applies amapping function
after retrieving the object (column name, column reference name, …) name.
-
Method Details
-
getName
Return thecolumn name
.- Parameters:
column
- the column.- Returns:
- the
column name
. - See Also:
-
getReferenceName
Return thecolumn reference name
.- Parameters:
column
- the column.- Returns:
- the
column reference name
. - See Also:
-
getName
Return thetable name
.- Parameters:
table
- the table.- Returns:
- the
table name
. - See Also:
-
getReferenceName
Return thetable reference name
.- Parameters:
table
- the table.- Returns:
- the
table name
. - See Also:
-
map
Applies amapping function
after retrieving the object (column name, column reference name, …) name.- Parameters:
mappingFunction
- the function that maps an object name.- Returns:
- a new
RenderNamingStrategy
applyingmapping function
.
-