protected class BinaryInputFormat.BlockBasedInput extends FilterInputStream
BlockInfo
at the end, and this method takes this into account when reading the data.in| Constructor and Description |
|---|
BlockBasedInput(FSDataInputStream in,
int blockSize) |
BlockBasedInput(FSDataInputStream in,
int startPos,
long length) |
| Modifier and Type | Method and Description |
|---|---|
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
available, close, mark, markSupported, reset, skippublic BlockBasedInput(FSDataInputStream in, int blockSize)
public BlockBasedInput(FSDataInputStream in, int startPos, long length)
public int read()
throws IOException
read in class FilterInputStreamIOExceptionpublic int read(byte[] b)
throws IOException
read in class FilterInputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class FilterInputStreamIOExceptionCopyright © 2014–2016 The Apache Software Foundation. All rights reserved.