public class MockIndexInput extends BufferedIndexInput
BUFFER_SIZE, MERGE_BUFFER_SIZE| Constructor and Description |
|---|
MockIndexInput(byte[] bytes) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
long |
length() |
protected void |
readInternal(byte[] dest,
int destOffset,
int len) |
protected void |
seekInternal(long pos) |
bufferSize, clone, flushBuffer, getBufferSize, getFilePointer, newBuffer, readByte, readBytes, readBytes, readInt, readLong, readShort, readVInt, readVLong, seek, setBufferSizetoStringreadString, readStringSet, readStringStringMap, skipBytesprotected void readInternal(byte[] dest,
int destOffset,
int len)
readInternal in class BufferedIndexInputpublic void close()
close in interface Closeableclose in interface AutoCloseableclose in class IndexInputprotected void seekInternal(long pos)
seekInternal in class BufferedIndexInputpublic long length()
length in class IndexInputCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.