Java org.apache.lucene.store IndexInput fields, constructors, methods, implement or subclass

Example usage for Java org.apache.lucene.store IndexInput fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.lucene.store IndexInput.

The text is from its open source code.

Subclass

org.apache.lucene.store.IndexInput has subclasses.
Click this link to see all its subclasses.

Constructor

Method

IndexInputclone()

Warning: Lucene never closes cloned IndexInput s, it will only call #close() on the original object.

voidclose()
Closes the stream to further operations.
longgetFilePointer()
Returns the current position in this file, where the next read will occur.
longlength()
The number of bytes in the file.
bytereadByte()
Reads and returns a single byte.
voidreadBytes(byte[] b, int offset, int len)
Reads a specified number of bytes into an array at the specified offset.
voidreadBytes(byte[] b, int offset, int len, boolean useBuffer)
Reads a specified number of bytes into an array at the specified offset with control over whether the read should be buffered (callers who have their own buffer should pass in "false" for useBuffer).
intreadInt()
Reads four bytes and returns an int.
longreadLong()
Reads eight bytes and returns a long.
shortreadShort()
Reads two bytes and returns a short.
StringreadString()
Reads a string.
intreadVInt()
Reads an int stored in variable-length format.
longreadVLong()
Reads a long stored in variable-length format.
voidseek(long pos)
Sets current position in this file, where the next read will occur.
IndexInputslice(String sliceDescription, long offset, long length)
Creates a slice of this index input, with the given description, offset, and length.
StringtoString()