public interface NamingStrategy
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–2017. All rights reserved.