public class GridLuceneInputStream extends org.apache.lucene.store.IndexInput implements Cloneable
IndexInput implementation.| Constructor and Description |
|---|
GridLuceneInputStream(String name,
GridLuceneFile f)
Constructor.
|
GridLuceneInputStream(String name,
GridLuceneFile f,
long length)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.lucene.store.IndexInput |
clone() |
void |
close() |
long |
getFilePointer() |
long |
length() |
byte |
readByte() |
void |
readBytes(byte[] b,
int offset,
int len) |
void |
seek(long pos) |
org.apache.lucene.store.IndexInput |
slice(String sliceDescription,
long offset,
long length) |
getFullSliceDescription, randomAccessSlice, toStringpublic GridLuceneInputStream(String name, GridLuceneFile f) throws IOException
name - Name.f - File.IOException - If failed.public GridLuceneInputStream(String name, GridLuceneFile f, long length) throws IOException
name - Name.f - File.length - inputStream length.IOException - If failed.public void close()
close in interface Closeableclose in interface AutoCloseableclose in class org.apache.lucene.store.IndexInputpublic org.apache.lucene.store.IndexInput clone()
clone in class org.apache.lucene.store.IndexInputpublic long length()
length in class org.apache.lucene.store.IndexInputpublic byte readByte()
throws IOException
readByte in class org.apache.lucene.store.DataInputIOExceptionpublic void readBytes(byte[] b,
int offset,
int len)
throws IOException
readBytes in class org.apache.lucene.store.DataInputIOExceptionpublic org.apache.lucene.store.IndexInput slice(String sliceDescription, long offset, long length) throws IOException
slice in class org.apache.lucene.store.IndexInputIOExceptionpublic long getFilePointer()
getFilePointer in class org.apache.lucene.store.IndexInputpublic void seek(long pos)
throws IOException
seek in class org.apache.lucene.store.IndexInputIOException
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 8.9.29 Release Date : January 8 2026