The IndexInput type exposes the following members.
Methods
Name | Description | |
---|---|---|
Clone | 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.
| |
Close | Closes the stream to futher operations. | |
Equals | (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetFilePointer | Returns the current position in this file, where the next read will
occur.
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Length | The number of bytes in the file. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ReadByte | Reads and returns a single byte. | |
ReadBytes(array<Byte>[]()[][], Int32, Int32) | Reads a specified number of bytes into an array at the specified offset. | |
ReadBytes(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.
| |
ReadChars | Obsolete. Reads Lucene's old "modified UTF-8" encoded
characters into an array.
| |
ReadInt | Reads four bytes and returns an int. | |
ReadLong | Reads eight bytes and returns a long. | |
ReadString | Reads a string. | |
ReadStringStringMap | ||
ReadVInt | Reads an int stored in variable-length format. Reads between one and
five bytes. Smaller values take fewer bytes. Negative numbers are not
supported.
| |
ReadVLong | Reads a long stored in variable-length format. Reads between one and
nine bytes. Smaller values take fewer bytes. Negative numbers are not
supported.
| |
Seek | Sets current position in this file, where the next read will occur. | |
SetModifiedUTF8StringsMode | 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.
| |
SkipChars | 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
| |
ToString | (Inherited from Object.) |