This project has retired. For details please refer to its
Attic page.
AvroFileReaderFactory (Apache Crunch 0.9.0 API)
org.apache.crunch.io.avro
Class AvroFileReaderFactory<T>
java.lang.Object
org.apache.crunch.io.avro.AvroFileReaderFactory<T>
- All Implemented Interfaces:
- FileReaderFactory<T>
public class AvroFileReaderFactory<T>
- extends Object
- implements FileReaderFactory<T>
Method Summary |
Iterator<T> |
read(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path path)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AvroFileReaderFactory
public AvroFileReaderFactory(AvroType<T> atype)
AvroFileReaderFactory
public AvroFileReaderFactory(org.apache.avro.io.DatumReader<T> reader,
AvroType<T> atype)
AvroFileReaderFactory
public AvroFileReaderFactory(org.apache.avro.Schema schema)
read
public Iterator<T> read(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path path)
- Specified by:
read
in interface FileReaderFactory<T>
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.