org.elasticsearch.common.lucene.store
Class InputStreamIndexInput
java.lang.Object
java.io.InputStream
org.elasticsearch.common.lucene.store.InputStreamIndexInput
- All Implemented Interfaces:
- Closeable
- Direct Known Subclasses:
- ThreadSafeInputStreamIndexInput
public class InputStreamIndexInput
- extends InputStream
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 IOException
- Overrides:
read
in class InputStream
- Throws:
IOException
read
public int read()
throws IOException
- Specified by:
read
in class InputStream
- Throws:
IOException
markSupported
public boolean markSupported()
- Overrides:
markSupported
in class InputStream
mark
public void mark(int readlimit)
- Overrides:
mark
in class InputStream
reset
public void reset()
throws IOException
- Overrides:
reset
in class InputStream
- Throws:
IOException
Copyright © 2009-2012. All Rights Reserved.