Package org.apache.wayang.flink.compiler
Class WayangFileOutputFormat.BlockBasedOutput
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
org.apache.wayang.flink.compiler.WayangFileOutputFormat.BlockBasedOutput
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
- Enclosing class:
- WayangFileOutputFormat<IT>
Writes a block info at the end of the blocks.
Current implementation uses only int and not long.
Current implementation uses only int and not long.
-
Field Summary
Fields inherited from class java.io.FilterOutputStream
out
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.FilterOutputStream
flush
Methods inherited from class java.io.OutputStream
nullOutputStream
-
Constructor Details
-
BlockBasedOutput
-
-
Method Details
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classFilterOutputStream
- Throws:
IOException
-
startRecord
public void startRecord() -
write
- Overrides:
write
in classFilterOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classFilterOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classFilterOutputStream
- Throws:
IOException
-