@PostConstruct
 public void init() {
   keyspace = // keyspace name
       table = // table name
           mappingManager = new MappingManager(session);
   mapper = mappingManager.mapper(SocialUserConnection.class);
 }
Exemplo n.º 2
0
 @PostConstruct
 public void init() {
   MappingManager manager = new MappingManager(basicCassandraDAO.getSession());
   dbCheckSumMapper = manager.mapper(DBCheckSum.class);
 }
Exemplo n.º 3
0
 @Bean
 Mapper<MarginCall> marginCallMapper(MappingManager mappingManager) {
   return mappingManager.mapper(MarginCall.class);
 }