|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.lucene.store.DataInput
org.apache.lucene.store.IndexInput
org.apache.lucene.store.BufferedIndexInput
org.apache.lucene.index.MockIndexInput
public class MockIndexInput
IndexInput backed by a byte[] for testing.
| Field Summary |
|---|
| Fields inherited from class org.apache.lucene.store.BufferedIndexInput |
|---|
BUFFER_SIZE |
| Constructor Summary | |
|---|---|
MockIndexInput(byte[] bytes)
|
|
| Method Summary | |
|---|---|
void |
close()
|
long |
length()
|
protected void |
readInternal(byte[] dest,
int destOffset,
int len)
|
protected void |
seekInternal(long pos)
|
| Methods inherited from class org.apache.lucene.store.BufferedIndexInput |
|---|
clone, copyBytes, flushBuffer, getBufferSize, getFilePointer, newBuffer, readByte, readBytes, readBytes, readInt, readLong, readShort, readVInt, readVLong, seek, setBufferSize |
| Methods inherited from class org.apache.lucene.store.IndexInput |
|---|
skipChars, toString |
| Methods inherited from class org.apache.lucene.store.DataInput |
|---|
readChars, readString, readStringStringMap, setModifiedUTF8StringsMode |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MockIndexInput(byte[] bytes)
| Method Detail |
|---|
protected void readInternal(byte[] dest,
int destOffset,
int len)
readInternal in class org.apache.lucene.store.BufferedIndexInputpublic void close()
close in interface Closeableclose in class org.apache.lucene.store.IndexInputprotected void seekInternal(long pos)
seekInternal in class org.apache.lucene.store.BufferedIndexInputpublic long length()
length in class org.apache.lucene.store.IndexInput
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||