-
Notifications
You must be signed in to change notification settings - Fork 307
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
looking like modules are now separated & mavenized
- Loading branch information
1 parent
62042e3
commit 7385f77
Showing
11 changed files
with
166 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
...a-cassandra/src/main/java/org/springframework/data/cassandra/core/SpringDataKeyspace.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
package org.springframework.data.cassandra.core; | ||
|
||
import org.springframework.cassandra.core.Keyspace; | ||
import org.springframework.data.cassandra.convert.CassandraConverter; | ||
import org.springframework.util.Assert; | ||
|
||
import com.datastax.driver.core.Session; | ||
|
||
/** | ||
* @deprecated This needs more thought. | ||
*/ | ||
@Deprecated | ||
public class SpringDataKeyspace extends Keyspace { | ||
|
||
private CassandraConverter converter; | ||
|
||
public SpringDataKeyspace(String keyspace, Session session, CassandraConverter converter) { | ||
super(keyspace, session); | ||
setCassandraConverter(converter); | ||
} | ||
|
||
public CassandraConverter getCassandraConverter() { | ||
return converter; | ||
} | ||
|
||
private void setCassandraConverter(CassandraConverter converter) { | ||
Assert.notNull(converter); | ||
this.converter = converter; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.