Class HadoopOutputFormatCommonBase<T>
- java.lang.Object
-
- org.apache.flink.api.common.io.RichOutputFormat<T>
-
- org.apache.flink.api.java.hadoop.common.HadoopOutputFormatCommonBase<T>
-
- All Implemented Interfaces:
Serializable,org.apache.flink.api.common.io.OutputFormat<T>
- Direct Known Subclasses:
HadoopOutputFormatBase,HadoopOutputFormatBase
@Internal public abstract class HadoopOutputFormatCommonBase<T> extends org.apache.flink.api.common.io.RichOutputFormat<T>A common base for both "mapred" and "mapreduce" Hadoop output formats.The base is taking care of handling (serializing) security credentials.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.hadoop.security.Credentialscredentials
-
Constructor Summary
Constructors Modifier Constructor Description protectedHadoopOutputFormatCommonBase(org.apache.hadoop.security.Credentials creds)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidread(ObjectInputStream in)protected voidwrite(ObjectOutputStream out)-
Methods inherited from class org.apache.flink.api.common.io.RichOutputFormat
getRuntimeContext, setRuntimeContext
-
-
-
-
Method Detail
-
write
protected void write(ObjectOutputStream out) throws IOException
- Throws:
IOException
-
read
public void read(ObjectInputStream in) throws IOException
- Throws:
IOException
-
-