Apache Lucene.Net 2.4.0 Class Library API

BufferedIndexOutput Methods

The methods of the BufferedIndexOutput class are listed below. For a complete list of BufferedIndexOutput class members, see the BufferedIndexOutput Members topic.

Public Instance Methods

CloseCloses this stream to further operations.
CopyBytes (inherited from IndexOutput)Copy numBytes bytes from input to ourself.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
FlushForces any buffered output to be written.
FlushBufferExpert: implements buffer write. Writes bytes at the current position in the output.
GetFilePointerReturns the current position in this file, where the next write will occur.
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.
LengthThe number of bytes in the file.
SeekSets current position in this file, where the next write will occur.
SetLength (inherited from IndexOutput) Set the file length. By default, this method does nothing (it's optional for a Directory to implement it). But, certain Directory implementations (for example @see FSDirectory) can use this to inform the underlying IO system to pre-allocate the file to the specified size. If the length is longer than the current file length, the bytes added to the file are undefined. Otherwise the file is truncated. file length
ToString (inherited from Object)Returns a String that represents the current Object.
WriteByteWrites a single byte.
WriteBytesOverloaded. Writes an array of bytes.
WriteBytes (inherited from IndexOutput)Overloaded. Writes an array of bytes.
WriteChars (inherited from IndexOutput)Overloaded. Writes a sub sequence of chars from s as "modified UTF-8" encoded bytes.
WriteInt (inherited from IndexOutput)Writes an int as four bytes.
WriteLong (inherited from IndexOutput)Writes a long as eight bytes.
WriteString (inherited from IndexOutput)Writes a string.
WriteVInt (inherited from IndexOutput)Writes an int in a variable-length format. Writes between one and five bytes. Smaller values take fewer bytes. Negative numbers are not supported.
WriteVLong (inherited from IndexOutput)Writes an long in a variable-length format. Writes between one and five bytes. Smaller values take fewer bytes. Negative numbers are not supported.

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.

See Also

BufferedIndexOutput Class | Lucene.Net.Store Namespace