Apache Lucene.Net 2.4.0 Class Library API

BufferedIndexInput Members

BufferedIndexInput overview

Public Static Fields

BUFFER_SIZEDefault buffer size

Public Instance Constructors

BufferedIndexInput Overloaded. Initializes a new instance of the BufferedIndexInput class.

Public Instance Methods

Clone 
Close (inherited from IndexInput)Closes the stream to futher operations.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetBufferSize 
GetFilePointer 
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
Length (inherited from IndexInput)The number of bytes in the file.
ReadByte 
ReadBytesOverloaded.  
ReadChars (inherited from IndexInput)Obsolete. Reads Lucene's old "modified UTF-8" encoded characters into an array.
ReadInt (inherited from IndexInput)Reads four bytes and returns an int.
ReadLong (inherited from IndexInput)Reads eight bytes and returns a long.
ReadModifiedUTF8String (inherited from IndexInput) 
ReadString (inherited from IndexInput)Reads a string.
ReadVInt (inherited from IndexInput)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 (inherited from IndexInput)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 
SetBufferSizeChange the buffer size used by this IndexInput
SetModifiedUTF8StringsMode (inherited from IndexInput) Set to read strings in the deprecated modified UTF-8 format (length in Java chars and Java's modified UTF-8 encoding). Used for pre-2.4.0 indexes. See JIRA LUCENE-510 for details.
SkipChars (inherited from IndexInput)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)Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

Protected Internal Instance Fields

buffer 

Protected Internal Instance Methods

NewBuffer 
ReadInternalExpert: implements buffer refill. Reads bytes from the current position in the input.
SeekInternalExpert: implements seek. Sets current position in this file, where the next {@link #ReadInternal(byte[],int,int)} will occur.

See Also

BufferedIndexInput Class | Lucene.Net.Store Namespace