@Public public abstract class RichInputFormat<OT,T extends InputSplit> extends Object implements InputFormat<OT,T>
getRuntimeContext().| Constructor and Description |
|---|
RichInputFormat() |
| Modifier and Type | Method and Description |
|---|---|
void |
closeInputFormat()
Closes this InputFormat instance.
|
RuntimeContext |
getRuntimeContext() |
void |
openInputFormat()
Opens this InputFormat instance.
|
void |
setRuntimeContext(RuntimeContext t) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, configure, createInputSplits, getInputSplitAssigner, getStatistics, nextRecord, open, reachedEndpublic void setRuntimeContext(RuntimeContext t)
public RuntimeContext getRuntimeContext()
@PublicEvolving
public void openInputFormat()
throws IOException
IOException - in case allocating the resources failed.InputFormat@PublicEvolving
public void closeInputFormat()
throws IOException
openInputFormat() should be closed in this method.IOException - in case closing the resources failedInputFormatCopyright © 2014–2018 The Apache Software Foundation. All rights reserved.