Package com.hmsonline.storm.cassandra.bolt.mapper

Examples of com.hmsonline.storm.cassandra.bolt.mapper.TupleMapper


    }

    @Test
    @SuppressWarnings({ "rawtypes", "unchecked" })
    public void testCompositeKey() throws Exception {
        TupleMapper tupleMapper = new SimpleTupleMapper(KEYSPACE, "simple");
        AstyanaxClient client = new AstyanaxClient();
        Map<String, Object> clientConfig = new HashMap<String, Object>();
        clientConfig.put(StormCassandraConstants.CASSANDRA_HOST, "localhost:9160");
        clientConfig.put(StormCassandraConstants.CASSANDRA_KEYSPACE, Arrays.asList(new String [] {KEYSPACE}));
        client.start(clientConfig);
View Full Code Here

TOP

Related Classes of com.hmsonline.storm.cassandra.bolt.mapper.TupleMapper

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.