The IndexInput type exposes the following members.

Constructors

  NameDescription
Protected methodIndexInput
Initializes a new instance of the IndexInput class

Methods

  NameDescription
Public methodClone
Returns a clone of this stream.

Clones of a stream access the same data, and are positioned at the same point as the stream they were cloned from.

Expert: Subclasses must ensure that clones may be positioned at different points in the input from each other and from the stream they were cloned from.

Public methodClose
Closes the stream to futher operations.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetFilePointer
Returns the current position in this file, where the next read will occur.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLength
The number of bytes in the file.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReadByte
Reads and returns a single byte.
Public methodReadBytes(array<Byte>[]()[][], Int32, Int32)
Reads a specified number of bytes into an array at the specified offset.
Public methodReadBytes(array<Byte>[]()[][], Int32, Int32, Boolean)
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). Currently only {@link BufferedIndexInput} respects this parameter.
Public methodReadChars Obsolete.
Reads Lucene's old "modified UTF-8" encoded characters into an array.
Public methodReadInt
Reads four bytes and returns an int.
Public methodReadLong
Reads eight bytes and returns a long.
Public methodReadString
Reads a string.
Public methodReadStringStringMap
Public methodReadVInt
Reads an int stored in variable-length format. Reads between one and five bytes. Smaller values take fewer bytes. Negative numbers are not supported.
Public methodReadVLong
Reads a long stored in variable-length format. Reads between one and nine bytes. Smaller values take fewer bytes. Negative numbers are not supported.
Public methodSeek
Sets current position in this file, where the next read will occur.
Public methodSetModifiedUTF8StringsMode
Call this if readString should read characters stored in the old modified UTF8 format (length in java chars and java's modified UTF8 encoding). This is used for indices written pre-2.4 See LUCENE-510 for details.
Public methodSkipChars Obsolete.
Expert Similar to {@link #ReadChars(char[], int, int)} but does not do any conversion operations on the bytes it is reading in. It still has to invoke {@link #ReadByte()} just as {@link #ReadChars(char[], int, int)} does, but it does not need a buffer to store anything and it does not have to do any of the bitwise operations, since we don't actually care what is in the byte except to determine how many more bytes to read
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

See Also