Package org.apache.iceberg.io
Class ByteBufferInputStream
java.lang.Object
java.io.InputStream
org.apache.iceberg.io.SeekableInputStream
org.apache.iceberg.io.ByteBufferInputStream
- All Implemented Interfaces:
- Closeable,- AutoCloseable
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionabstract intread(ByteBuffer out) abstract List<ByteBuffer> voidskipFully(long length) abstract ByteBufferslice(int length) abstract List<ByteBuffer> sliceBuffers(long length) sliceStream(long length) static ByteBufferInputStreamwrap(ByteBuffer... buffers) static ByteBufferInputStreamwrap(List<ByteBuffer> buffers) Methods inherited from class org.apache.iceberg.io.SeekableInputStreamgetPos, seekMethods inherited from class java.io.InputStreamavailable, close, mark, markSupported, nullInputStream, read, read, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
- 
Constructor Details- 
ByteBufferInputStreampublic ByteBufferInputStream()
 
- 
- 
Method Details- 
wrap
- 
wrap
- 
skipFully- Throws:
- IOException
 
- 
read
- 
slice- Throws:
- EOFException
 
- 
sliceBuffers- Throws:
- EOFException
 
- 
sliceStream- Throws:
- EOFException
 
- 
remainingBuffers
- 
remainingStream
 
-