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