public class GridLuceneInputStream
extends org.apache.lucene.store.IndexInput
IndexInput implementation.| Constructor and Description |
|---|
GridLuceneInputStream(String name,
GridLuceneFile f)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
copyBytes(org.apache.lucene.store.IndexOutput out,
long numBytes) |
long |
getFilePointer() |
long |
length() |
byte |
readByte() |
void |
readBytes(byte[] b,
int offset,
int len) |
void |
seek(long pos) |
public GridLuceneInputStream(String name, GridLuceneFile f) throws IOException
name - Name.f - File.IOException - If failed.public void close()
close in interface Closeableclose in interface AutoCloseableclose 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 void copyBytes(org.apache.lucene.store.IndexOutput out,
long numBytes)
throws IOException
copyBytes 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.IndexInputIOExceptionCopyright © 2014. All rights reserved.