Class DataInputViewStream
- java.lang.Object
-
- java.io.InputStream
-
- org.apache.flink.api.java.typeutils.runtime.DataInputViewStream
-
- All Implemented Interfaces:
Closeable,AutoCloseable
@Internal public class DataInputViewStream extends InputStream
An input stream that draws its data from aDataInputView.
-
-
Field Summary
Fields Modifier and Type Field Description protected DataInputViewinputView
-
Constructor Summary
Constructors Constructor Description DataInputViewStream(DataInputView inputView)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataInputViewgetInputView()intread()intread(byte[] b, int off, int len)longskip(long n)-
Methods inherited from class java.io.InputStream
available, close, mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, transferTo
-
-
-
-
Field Detail
-
inputView
protected DataInputView inputView
-
-
Constructor Detail
-
DataInputViewStream
public DataInputViewStream(DataInputView inputView)
-
-
Method Detail
-
getInputView
public DataInputView getInputView()
-
read
public int read() throws IOException- Specified by:
readin classInputStream- Throws:
IOException
-
skip
public long skip(long n) throws IOException- Overrides:
skipin classInputStream- Throws:
IOException
-
read
public int read(byte[] b, int off, int len) throws IOException- Overrides:
readin classInputStream- Throws:
IOException
-
-