Package org.elasticsearch.hadoop.mr

Examples of org.elasticsearch.hadoop.mr.LinkedMapWritable


        writableTypeToJson(new ArrayWritable(new String[] { "one", "two" }));
    }

    @Test
    public void testMap() {
        LinkedMapWritable map = new LinkedMapWritable();
        map.put(new Text("key"), new IntWritable(1));
        map.put(new BooleanWritable(Boolean.TRUE), new ArrayWritable(new String[] { "one", "two" }));
        writableTypeToJson(map);
    }
View Full Code Here

TOP

Related Classes of org.elasticsearch.hadoop.mr.LinkedMapWritable

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.