Class DataInputViewWrapper
java.lang.Object
java.io.InputStream
org.apache.beam.runners.flink.translation.wrappers.DataInputViewWrapper
- All Implemented Interfaces:
Closeable,AutoCloseable
Wrapper for
DataInputView. We need this because Flink reads data using a DataInputView while Beam Coders
expect an InputStream.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.InputStream
available, close, mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Constructor Details
-
DataInputViewWrapper
public DataInputViewWrapper(org.apache.flink.core.memory.DataInputView inputView)
-
-
Method Details
-
read
- Specified by:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-