@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, wait
close, configure, createInputSplits, getInputSplitAssigner, getStatistics, nextRecord, open, reachedEnd
public 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 failedInputFormat
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.