public class DistributedIndexInput
extends org.apache.lucene.store.IndexInput
| Modifier and Type | Field and Description |
|---|---|
protected long |
length |
protected long |
position |
protected long |
sliceOffset |
| Constructor and Description |
|---|
DistributedIndexInput(java.lang.String name,
NosqlFile nosqlFile) |
DistributedIndexInput(java.lang.String name,
NosqlFile nosqlFile,
long sliceOffset,
long length) |
| 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 length) |
int |
readInt() |
long |
readLong() |
void |
seek(long pos) |
org.apache.lucene.store.IndexInput |
slice(java.lang.String sliceDescription,
long sliceOffset,
long length) |
getFullSliceDescription, randomAccessSlice, toStringprotected long position
protected long sliceOffset
protected long length
public DistributedIndexInput(java.lang.String name,
NosqlFile nosqlFile)
public DistributedIndexInput(java.lang.String name,
NosqlFile nosqlFile,
long sliceOffset,
long length)
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class org.apache.lucene.store.IndexInputjava.io.IOExceptionpublic long getFilePointer()
getFilePointer in class org.apache.lucene.store.IndexInputpublic void seek(long pos)
throws java.io.IOException
seek in class org.apache.lucene.store.IndexInputjava.io.IOExceptionpublic long length()
length in class org.apache.lucene.store.IndexInputpublic byte readByte()
throws java.io.IOException
readByte in class org.apache.lucene.store.DataInputjava.io.IOExceptionpublic int readInt()
throws java.io.IOException
readInt in class org.apache.lucene.store.DataInputjava.io.IOExceptionpublic long readLong()
throws java.io.IOException
readLong in class org.apache.lucene.store.DataInputjava.io.IOExceptionpublic void readBytes(byte[] b,
int offset,
int length)
throws java.io.IOException
readBytes in class org.apache.lucene.store.DataInputjava.io.IOExceptionpublic org.apache.lucene.store.IndexInput slice(java.lang.String sliceDescription,
long sliceOffset,
long length)
throws java.io.IOException
slice in class org.apache.lucene.store.IndexInputjava.io.IOExceptionpublic org.apache.lucene.store.IndexInput clone()
clone in class org.apache.lucene.store.IndexInput