Package org.apache.crunch.io.orc

Examples of org.apache.crunch.io.orc.OrcFileTarget


    PCollection<T> rows = pipeline.read(source);
    List<T> result = Lists.newArrayList(rows.materialize());
   
    assertEquals(Lists.newArrayList(expected), result);
   
    OrcFileTarget target = new OrcFileTarget(outputPath);
    pipeline.write(rows, target);
   
    assertTrue(pipeline.done().succeeded());
   
    OrcFileReaderFactory<T> reader = new OrcFileReaderFactory<T>(ptype);
View Full Code Here

TOP

Related Classes of org.apache.crunch.io.orc.OrcFileTarget

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.