|
Lucene.Net
3.0.3
Lucene.Net is a port of the Lucene search engine library, written in C# and targeted at .NET runtime users.
|
Base implementation class for buffered IndexOutput. More...
Inherits Lucene.Net.Store.IndexOutput.
Inherited by Lucene.Net.Store.SimpleFSDirectory.SimpleFSIndexOutput.
Public Member Functions | |
| override void | WriteByte (byte b) |
| Writes a single byte. | |
| override void | WriteBytes (byte[] b, int offset, int length) |
| Writes an array of bytes. | |
| override void | Flush () |
| Forces any buffered output to be written. | |
| abstract void | FlushBuffer (byte[] b, int offset, int len) |
| Expert: implements buffer write. Writes bytes at the current position in the output. | |
| override void | Seek (long pos) |
| Sets current position in this file, where the next write will occur. | |
Public Member Functions inherited from Lucene.Net.Store.IndexOutput | |
| virtual void | WriteBytes (byte[] b, int length) |
| Writes an array of bytes. | |
| virtual void | WriteInt (int i) |
| Writes an int as four bytes. | |
| virtual void | WriteVInt (int i) |
| Writes an int in a variable-length format. Writes between one and five bytes. Smaller values take fewer bytes. Negative numbers are not supported. | |
| virtual void | WriteLong (long i) |
| Writes a long as eight bytes. | |
| virtual void | WriteVLong (long i) |
| Writes an long in a variable-length format. Writes between one and five bytes. Smaller values take fewer bytes. Negative numbers are not supported. | |
| virtual void | WriteString (System.String s) |
| Writes a string. | |
| virtual void | WriteChars (System.String s, int start, int length) |
| Writes a sub sequence of characters from s as the old format (modified UTF-8 encoded bytes). | |
| virtual void | WriteChars (char[] s, int start, int length) |
| Writes a sub sequence of characters from char[] as the old format (modified UTF-8 encoded bytes). | |
| virtual void | CopyBytes (IndexInput input, long numBytes) |
| Copy numBytes bytes from input to ourself. | |
| void | Close () |
| Closes this stream to further operations. | |
| void | Dispose () |
| Closes this stream to further operations. | |
| virtual void | SetLength (long length) |
| Set the file length. By default, this method does nothing (it's optional for a Directory to implement it). But, certain Directory implementations (for | |
| virtual void | WriteStringStringMap (System.Collections.Generic.IDictionary< string, string > map) |
Protected Member Functions | |
| override void | Dispose (bool disposing) |
| Closes this stream to further operations. | |
Properties | |
| override long | FilePointer [get] |
| Returns the current position in this file, where the next write will occur. | |
| abstract override long | Length [get] |
| The number of bytes in the file. | |
Properties inherited from Lucene.Net.Store.IndexOutput | |
| abstract long | FilePointer [get] |
| Returns the current position in this file, where the next write will occur. | |
| abstract long | Length [get] |
| The number of bytes in the file. | |
Base implementation class for buffered IndexOutput.
Definition at line 24 of file BufferedIndexOutput.cs.
|
protectedvirtual |
Closes this stream to further operations.
Implements Lucene.Net.Store.IndexOutput.
Reimplemented in Lucene.Net.Store.SimpleFSDirectory.SimpleFSIndexOutput.
Definition at line 131 of file BufferedIndexOutput.cs.
|
virtual |
Forces any buffered output to be written.
Implements Lucene.Net.Store.IndexOutput.
Definition at line 100 of file BufferedIndexOutput.cs.
|
pure virtual |
Expert: implements buffer write. Writes bytes at the current position in the output.
| b | the bytes to write |
| offset | the offset in the byte array |
| len | the number of bytes to write |
Implemented in Lucene.Net.Store.SimpleFSDirectory.SimpleFSIndexOutput.
|
virtual |
Sets current position in this file, where the next write will occur.
Implements Lucene.Net.Store.IndexOutput.
Reimplemented in Lucene.Net.Store.SimpleFSDirectory.SimpleFSIndexOutput.
Definition at line 156 of file BufferedIndexOutput.cs.
|
virtual |
Writes a single byte.
Implements Lucene.Net.Store.IndexOutput.
Definition at line 37 of file BufferedIndexOutput.cs.
|
virtual |
Writes an array of bytes.
| b | the bytes to write |
| length | the number of bytes to write |
Implements Lucene.Net.Store.IndexOutput.
Definition at line 51 of file BufferedIndexOutput.cs.
|
get |
Returns the current position in this file, where the next write will occur.
Definition at line 149 of file BufferedIndexOutput.cs.
|
get |
The number of bytes in the file.
Definition at line 163 of file BufferedIndexOutput.cs.
1.8.3