public class AvroInputFormat<E> extends FileInputFormat
eu.stratosphere.api.common.io.FileInputFormat.AbstractConfigBuilder<T>, eu.stratosphere.api.common.io.FileInputFormat.ConfigBuilder, eu.stratosphere.api.common.io.FileInputFormat.FileBaseStatistics, eu.stratosphere.api.common.io.FileInputFormat.InputSplitOpenThread| Constructor and Description |
|---|
AvroInputFormat(Class<? extends AvroBaseValue<E>> wrapperClass) |
AvroInputFormat(Class<? extends AvroBaseValue<E>> wrapperClass,
Class<E> avroType) |
| Modifier and Type | Method and Description |
|---|---|
eu.stratosphere.types.Record |
nextRecord(eu.stratosphere.types.Record record) |
void |
open(eu.stratosphere.core.fs.FileInputSplit split) |
boolean |
reachedEnd() |
acceptFile, close, configure, configureFileFormat, createInputSplits, getFilePath, getFileStats, getInputSplitType, getMinSplitSize, getNumSplits, getOpenTimeout, getSplitLength, getSplitStart, getStatistics, setFilePath, setFilePath, setMinSplitSize, setNumSplits, setOpenTimeout, toStringpublic AvroInputFormat(Class<? extends AvroBaseValue<E>> wrapperClass)
public AvroInputFormat(Class<? extends AvroBaseValue<E>> wrapperClass, Class<E> avroType)
public void open(eu.stratosphere.core.fs.FileInputSplit split)
throws IOException
open in interface eu.stratosphere.api.common.io.InputFormat<eu.stratosphere.types.Record,eu.stratosphere.core.fs.FileInputSplit>open in class eu.stratosphere.api.common.io.FileInputFormat<eu.stratosphere.types.Record>IOExceptionpublic boolean reachedEnd()
throws IOException
IOExceptionpublic eu.stratosphere.types.Record nextRecord(eu.stratosphere.types.Record record)
throws IOException
IOExceptionCopyright © 2013–2014. All rights reserved.