public class SnakeCaseNamingStrategy extends Object implements NamingStrategy
INSTANCE, SNAKE_CASE| Constructor and Description |
|---|
SnakeCaseNamingStrategy() |
| Modifier and Type | Method and Description |
|---|---|
String |
getColumnName(CassandraPersistentProperty property)
Uses
PersistentProperty.getName() and separates camel case parts with '_'. |
String |
getTableName(CassandraPersistentEntity<?> entity)
Uses
Class.getSimpleName() and separates camel case parts with '_'. |
String |
getUserDefinedTypeName(CassandraPersistentEntity<?> entity)
Uses
Class.getSimpleName() and separates camel case parts with '_'. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittransformpublic String getTableName(CassandraPersistentEntity<?> entity)
Class.getSimpleName() and separates camel case parts with '_'.getTableName in interface NamingStrategypublic String getUserDefinedTypeName(CassandraPersistentEntity<?> entity)
Class.getSimpleName() and separates camel case parts with '_'.getUserDefinedTypeName in interface NamingStrategypublic String getColumnName(CassandraPersistentProperty property)
PersistentProperty.getName() and separates camel case parts with '_'.getColumnName in interface NamingStrategyCopyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.