public interface NamingStrategy
This will be used for any property that doesn't have an explicit name provided (via a Column
or Field
annotation).
If you need to implement your own strategy, the most straightforward approach is to build a
DefaultNamingStrategy with explicit naming conventions
.
Modifier and Type | Method and Description |
---|---|
String |
toCassandraName(String javaPropertyName)
Infers a Cassandra column/field name from a Java property name.
|
String toCassandraName(String javaPropertyName)
javaPropertyName
- the name of the Java property. Depending on the property access
strategy
, this might the name of the Java field, or be inferred from a getter/setter based
on the usual Java beans conventions.Copyright © 2012–2020. All rights reserved.