Skip to content

Commit 43b964f

Browse files
committed
Polishing.
Add Javadoc. Closes #1297
1 parent af5d499 commit 43b964f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

spring-data-cassandra/src/main/java/org/springframework/data/cassandra/config/AbstractCassandraConfiguration.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,14 @@ protected ByteArrayResource scriptOf(String content) {
287287
return new ByteArrayResource(content.getBytes());
288288
}
289289

290+
/**
291+
* Creates a new {@link UserTypeResolver} from the given {@link CqlSession}. Uses by default the configured
292+
* {@link #getKeyspaceName() keyspace name}.
293+
*
294+
* @param cqlSession the Cassandra {@link CqlSession} to use.
295+
* @return a new {@link SimpleUserTypeResolver}.
296+
* @since 3.4.3
297+
*/
290298
protected UserTypeResolver userTypeResolver(CqlSession cqlSession) {
291299
return new SimpleUserTypeResolver(cqlSession, CqlIdentifier.fromCql(getKeyspaceName()));
292300
}

0 commit comments

Comments
 (0)