@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); }
@Bean Mapper<MarginCall> marginCallMapper(MappingManager mappingManager) { return mappingManager.mapper(MarginCall.class); }