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, skip
public BlockBasedInput(FSDataInputStream in, int blockSize)
public BlockBasedInput(FSDataInputStream in, int startPos, long length)
public int read() throws IOException
read
in class FilterInputStream
IOException
public int read(byte[] b) throws IOException
read
in class FilterInputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class FilterInputStream
IOException
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.