Package org.apache.flink.api.java.io
Class BlockingShuffleOutputFormat<T>
- java.lang.Object
-
- org.apache.flink.api.java.io.BlockingShuffleOutputFormat<T>
-
- Type Parameters:
T-
- All Implemented Interfaces:
Serializable,org.apache.flink.api.common.io.OutputFormat<T>
@Internal public final class BlockingShuffleOutputFormat<T> extends Object implements org.apache.flink.api.common.io.OutputFormat<T>
This is the inner OutputFormat used for specify the BLOCKING_PERSISTENT result partition type of coming edge.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidconfigure(org.apache.flink.configuration.Configuration parameters)static <T> BlockingShuffleOutputFormat<T>createOutputFormat(org.apache.flink.util.AbstractID intermediateDataSetId)org.apache.flink.util.AbstractIDgetIntermediateDataSetId()voidopen(int taskNumber, int numTasks)voidwriteRecord(T record)
-
-
-
Method Detail
-
createOutputFormat
public static <T> BlockingShuffleOutputFormat<T> createOutputFormat(org.apache.flink.util.AbstractID intermediateDataSetId)
-
configure
public void configure(org.apache.flink.configuration.Configuration parameters)
- Specified by:
configurein interfaceorg.apache.flink.api.common.io.OutputFormat<T>
-
open
public void open(int taskNumber, int numTasks) throws IOException- Specified by:
openin interfaceorg.apache.flink.api.common.io.OutputFormat<T>- Throws:
IOException
-
writeRecord
public void writeRecord(T record) throws IOException
- Specified by:
writeRecordin interfaceorg.apache.flink.api.common.io.OutputFormat<T>- Throws:
IOException
-
close
public void close() throws IOException- Specified by:
closein interfaceorg.apache.flink.api.common.io.OutputFormat<T>- Throws:
IOException
-
getIntermediateDataSetId
public org.apache.flink.util.AbstractID getIntermediateDataSetId()
-
-