Package | Description |
---|---|
org.springframework.data.cassandra.core.mapping |
Infrastructure for the Apache Cassandra row-to-object mapping subsystem.
|
Modifier and Type | Class and Description |
---|---|
class |
SnakeCaseNamingStrategy
Naming strategy that renders CamelCase name parts to snake_case.
|
class |
TransformingNamingStrategy
|
Modifier and Type | Field and Description |
---|---|
static NamingStrategy |
NamingStrategy.INSTANCE
Empty implementation of the interface utilizing only the default implementation.
|
static NamingStrategy |
NamingStrategy.SNAKE_CASE
Naming strategy that renders CamelCase name parts to
snake_case . |
Modifier and Type | Method and Description |
---|---|
default NamingStrategy |
NamingStrategy.transform(UnaryOperator<String> mappingFunction)
Apply a
transformation function to create a new NamingStrategy
that applies the given transformation to each name component. |
Modifier and Type | Method and Description |
---|---|
void |
BasicCassandraPersistentEntity.setNamingStrategy(NamingStrategy namingStrategy)
Set the
NamingStrategy to use. |
void |
BasicCassandraPersistentProperty.setNamingStrategy(NamingStrategy namingStrategy)
Set the
NamingStrategy to use. |
void |
CassandraMappingContext.setNamingStrategy(NamingStrategy namingStrategy)
Set the
NamingStrategy to use. |
Constructor and Description |
---|
TransformingNamingStrategy(NamingStrategy delegate,
Function<String,String> mappingFunction) |
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.