public interface NameConverter
|Modifier and Type||Method and Description|
Convert the given Java name into a CQL name.
@NonNull String toCassandraName(@NonNull String javaName)
Note that this will be invoked by the generated code each time the name is referenced. If the conversion is expensive, implementors might consider an internal cache.
javaName- the name to convert. Note that if it is capitalized (e.g.
Product), it is a class name, to be converted into a table name; otherwise (e.g.
productId), it is a property name, to be converted into a column name.
Copyright © 2017–2020. All rights reserved.