org.elasticsearch.common.lucene.store
Class InputStreamIndexInput
java.lang.Object
java.io.InputStream
org.elasticsearch.common.lucene.store.InputStreamIndexInput
- All Implemented Interfaces:
- java.io.Closeable
- Direct Known Subclasses:
- ThreadSafeInputStreamIndexInput
public class InputStreamIndexInput
- extends java.io.InputStream
Methods inherited from class java.io.InputStream |
available, close, mark, markSupported, read, reset, skip |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InputStreamIndexInput
public InputStreamIndexInput(org.apache.lucene.store.IndexInput indexInput,
long limit)
actualSizeToRead
public long actualSizeToRead()
read
public int read(byte[] b,
int off,
int len)
throws java.io.IOException
- Overrides:
read
in class java.io.InputStream
- Throws:
java.io.IOException
read
public int read()
throws java.io.IOException
- Specified by:
read
in class java.io.InputStream
- Throws:
java.io.IOException