public class SegmentStream extends InputStream
Modifier and Type | Method and Description |
---|---|
int |
available() |
void |
close() |
long |
getLength() |
static @Nullable RecordId |
getRecordIdIfAvailable(InputStream stream,
SegmentStore store) |
String |
getString() |
void |
mark(int readLimit) |
boolean |
markSupported() |
int |
read() |
int |
read(@NotNull byte[] b,
int off,
int len) |
void |
reset() |
long |
skip(long n) |
read
@Nullable public static @Nullable 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(@NotNull @NotNull 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–2020 The Apache Software Foundation. All rights reserved.