Module spring.data.relational
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 SqlIdentifierReturn thecolumn name.default SqlIdentifierReturn thetable name.default SqlIdentifiergetReferenceName(Column column) Return thecolumn reference name.default SqlIdentifiergetReferenceName(TableLike table) Return thetable reference name.default RenderNamingStrategyApplies amapping functionafter 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 functionafter retrieving the object (column name, column reference name, …) name.- Parameters:
mappingFunction- the function that maps an object name.- Returns:
- a new
RenderNamingStrategyapplyingmapping function.
-