Class DataInputViewWrapper
- java.lang.Object
-
- java.io.InputStream
-
- org.apache.beam.runners.flink.translation.wrappers.DataInputViewWrapper
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable
public class DataInputViewWrapper extends java.io.InputStreamWrapper forDataInputView. We need this because Flink reads data using aDataInputViewwhile BeamCoders expect anInputStream.
-
-
Constructor Summary
Constructors Constructor Description DataInputViewWrapper(org.apache.flink.core.memory.DataInputView inputView)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intread()intread(byte[] b, int off, int len)
-