public abstract class InStream extends InputStream
InStream
is the base input stream class for TachyonFile streaming input methods.
It can only be gotten by calling the methods in tachyon.client.TachyonFile
, but
can not be initialized by the client code.Modifier and Type | Field and Description |
---|---|
protected TachyonFile |
FILE |
protected ReadType |
READ_TYPE |
protected TachyonFS |
TFS |
protected UserConf |
USER_CONF |
Modifier and Type | Method and Description |
---|---|
abstract void |
close() |
abstract int |
read() |
abstract int |
read(byte[] b) |
abstract int |
read(byte[] b,
int off,
int len) |
abstract long |
skip(long n) |
available, mark, markSupported, reset
protected final UserConf USER_CONF
protected final TachyonFile FILE
protected final TachyonFS TFS
protected final ReadType READ_TYPE
public abstract int read() throws IOException
read
in class InputStream
IOException
public abstract int read(byte[] b) throws IOException
read
in class InputStream
IOException
public abstract int read(byte[] b, int off, int len) throws IOException
read
in class InputStream
IOException
public abstract void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class InputStream
IOException
public abstract long skip(long n) throws IOException
skip
in class InputStream
IOException
Copyright © 2013. All Rights Reserved.