public class AvroColumnReader<D> extends Object implements Iterator<D>, Iterable<D>, Closeable
AvroColumnWriter. A subset of the schema
used for writing may be specified when reading. In this case only columns
of the subset schema are read.| Modifier and Type | Class and Description |
|---|---|
static class |
AvroColumnReader.Params
Parameters for reading an Avro column file.
|
| Constructor and Description |
|---|
AvroColumnReader(AvroColumnReader.Params params)
Construct a reader for a file.
|
public AvroColumnReader(AvroColumnReader.Params params) throws IOException
IOExceptionpublic Schema getFileSchema()
public long getRowCount()
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.