|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.lucene.store.IndexInput
org.compass.needle.gigaspaces.store.GigaSpaceIndexInput
class GigaSpaceIndexInput
An index input using the FileEntry as the
"header" information and load buckets as needed.
| Constructor Summary | |
|---|---|
GigaSpaceIndexInput(GigaSpaceDirectory dir,
FileEntry fileEntry)
|
|
| Method Summary | |
|---|---|
Object |
clone()
|
void |
close()
|
long |
getFilePointer()
Returns the current position in this file, where the next read will occur. |
long |
length()
The number of bytes in the file. |
byte |
readByte()
Reads and returns a single byte. |
void |
readBytes(byte[] b,
int offset,
int len)
Reads a specified number of bytes into an array at the specified offset. |
void |
seek(long pos)
Sets current position in this file, where the next read will occur. |
| Methods inherited from class org.apache.lucene.store.IndexInput |
|---|
readBytes, readChars, readInt, readLong, readString, readVInt, readVLong, setModifiedUTF8StringsMode, skipChars |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GigaSpaceIndexInput(GigaSpaceDirectory dir,
FileEntry fileEntry)
| Method Detail |
|---|
public void close()
throws IOException
close in class IndexInputIOExceptionpublic long getFilePointer()
getFilePointer in class IndexInputseek(long)public long length()
length in class IndexInput
public byte readByte()
throws IOException
readByte in class IndexInputIOExceptionIndexOutput.writeByte(byte)
public void readBytes(byte[] b,
int offset,
int len)
throws IOException
readBytes in class IndexInputb - the array to read bytes intooffset - the offset in the array to start storing byteslen - the number of bytes to read
IOExceptionIndexOutput.writeBytes(byte[],int)
public void seek(long pos)
throws IOException
seek in class IndexInputIOExceptiongetFilePointer()public Object clone()
clone in class IndexInput
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||