public class SegmentStream extends InputStream
Modifier and Type | Method and Description |
---|---|
int |
available() |
void |
close() |
long |
getLength() |
static RecordId |
getRecordIdIfAvailable(InputStream stream,
SegmentStore store) |
String |
getString() |
void |
mark(int readlimit) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
void |
reset() |
long |
skip(long n) |
read
@CheckForNull public static RecordId getRecordIdIfAvailable(InputStream stream, SegmentStore store)
public long getLength()
public String getString()
public boolean markSupported()
markSupported
in class InputStream
public void mark(int readlimit)
mark
in class InputStream
public void reset()
reset
in class InputStream
public int read()
read
in class InputStream
public int read(byte[] b, int off, int len)
read
in class InputStream
public long skip(long n)
skip
in class InputStream
public int available()
available
in class InputStream
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in class InputStream
Copyright © 2012-2016 The Apache Software Foundation. All Rights Reserved.