Class IndexOutput
Abstract base class for output to a file in a Directory. A random-access output stream. Used for all Lucene index output operations.
Inheritance
Namespace:
Assembly: Lucene.Net.NetCore.dll
Syntax
public abstract class IndexOutput : IDisposable
Properties
Name | Description |
---|---|
File |
Returns the current position in this file, where the next write will occur. |
Length | The number of bytes in the file. |
Methods
Name | Description |
---|---|
Close() | Closes this stream to further operations. |
Copy |
Copy numBytes bytes from input to ourself. |
Dispose() | Closes this stream to further operations. |
Dispose(Boolean) | |
Flush() | Forces any buffered output to be written. |
Seek(Int64) | Sets current position in this file, where the next write will occur. |
Set |
Set the file length. By default, this method does nothing (it's optional for a Directory to implement it). But, certain Directory implementations (for |
Write |
Writes a single byte. |
Write |
Writes an array of bytes. |
Write |
Writes an array of bytes. |
Write |
Writes a sub sequence of characters from char[] as the old format (modified UTF-8 encoded bytes). |
Write |
Writes a sub sequence of characters from s as the old format (modified UTF-8 encoded bytes). |
Write |
Writes an int as four bytes. |
Write |
Writes a long as eight bytes. |
Write |
Writes a string. |
WriteStringStringMap(Collections.Generic.IDictionary<String, String>) | |
Write |
Writes an int in a variable-length format. Writes between one and five bytes. Smaller values take fewer bytes. Negative numbers are not supported. |
Write |
Writes an long in a variable-length format. Writes between one and five bytes. Smaller values take fewer bytes. Negative numbers are not supported. |