Closeable
, AutoCloseable
, Cloneable
public class MockIndexInput
extends org.apache.lucene.store.BufferedIndexInput
Constructor | Description |
---|---|
MockIndexInput(byte[] bytes) |
Modifier and Type | Method | Description |
---|---|---|
void |
close() |
|
long |
length() |
|
protected void |
readInternal(byte[] dest,
int destOffset,
int len) |
|
protected void |
seekInternal(long pos) |
clone, copyBytes, flushBuffer, getBufferSize, getFilePointer, newBuffer, readByte, readBytes, readBytes, readInt, readLong, readShort, readVInt, readVLong, seek, setBufferSize
protected void readInternal(byte[] dest, int destOffset, int len)
readInternal
in class org.apache.lucene.store.BufferedIndexInput
public void close()
close
in interface AutoCloseable
close
in interface Closeable
close
in class org.apache.lucene.store.IndexInput
protected void seekInternal(long pos)
seekInternal
in class org.apache.lucene.store.BufferedIndexInput
public long length()
length
in class org.apache.lucene.store.IndexInput
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.