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