Class FSDirectory.FSIndexOutput
Writes output with System.IO.FileStream.Write(System.Byte[],System.Int32,System.Int32)
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lucene.Net.Store
Assembly: Lucene.Net.dll
Syntax
protected class FSIndexOutput : BufferedIndexOutput, IDisposable
Constructors
| Improve this Doc View SourceFSIndexOutput(FSDirectory, String)
Declaration
public FSIndexOutput(FSDirectory parent, string name)
Parameters
Type | Name | Description |
---|---|---|
FSDirectory | parent | |
System.String | name |
Properties
| Improve this Doc View SourceChecksum
Declaration
public override long Checksum { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
Overrides
| Improve this Doc View SourceLength
Declaration
public override long Length { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
Overrides
| Improve this Doc View SourcePosition
Declaration
public override long Position { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
Overrides
Methods
| Improve this Doc View SourceDispose(Boolean)
Closes this stream to further operations.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
Overrides
| Improve this Doc View SourceFlush()
Forces any buffered output to be written.
Declaration
public override void Flush()
Overrides
| Improve this Doc View SourceFlushBuffer(Byte[], Int32, Int32)
Expert: implements buffer write. Writes bytes at the current position in the output.
Declaration
protected override void FlushBuffer(byte[] b, int offset, int size)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | b | the bytes to write |
System.Int32 | offset | the offset in the byte array |
System.Int32 | size |
Overrides
| Improve this Doc View SourceSeek(Int64)
Random-access methods
Declaration
[Obsolete("(4.1) this method will be removed in Lucene 5.0")]
public override void Seek(long pos)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | pos |
Overrides
| Improve this Doc View SourceWriteByte(Byte)
Declaration
public override void WriteByte(byte b)
Parameters
Type | Name | Description |
---|---|---|
System.Byte | b |
Overrides
| Improve this Doc View SourceWriteBytes(Byte[], Int32, Int32)
Declaration
public override void WriteBytes(byte[] b, int offset, int length)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | b | |
System.Int32 | offset | |
System.Int32 | length |
Overrides
Implements
System.IDisposable