Package org.neo4j.batchimport.importer

Examples of org.neo4j.batchimport.importer.ChunkerLineData


        assertEquals("6",row2.get("c"));
    }

    @Test
    public void testConvert() throws Exception {
        ChunkerLineData rowData = new ChunkerLineData(new StringReader("a:int\tb:float\tc:boolean"+"\n"+"1\t2.1\ttrue"), '\t', 0);
        final Map<String,Object> map = rowData.updateMap();
        assertEquals(1,map.get("a"));
        assertEquals(2.1F,map.get("b"));
        assertEquals(true,map.get("c"));
    }
View Full Code Here

TOP

Related Classes of org.neo4j.batchimport.importer.ChunkerLineData

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.