Class RAMOutputStream
A memory-resident IndexOutput implementation.
This is a Lucene.NET INTERNAL API, use at your own risk
Inheritance
System.Object
RAMOutputStream
Assembly: Lucene.Net.dll
Syntax
public class RAMOutputStream : IndexOutput, IDisposable
Constructors
|
Improve this Doc
View Source
RAMOutputStream()
Construct an empty output buffer.
Declaration
|
Improve this Doc
View Source
RAMOutputStream(RAMFile)
Declaration
public RAMOutputStream(RAMFile f)
Parameters
Properties
|
Improve this Doc
View Source
Checksum
Declaration
public override long Checksum { get; }
Property Value
Type |
Description |
System.Int64 |
|
Overrides
|
Improve this Doc
View Source
Length
Declaration
public override long Length { get; set; }
Property Value
Type |
Description |
System.Int64 |
|
Overrides
Methods
|
Improve this Doc
View Source
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
System.Boolean |
disposing |
|
Overrides
|
Improve this Doc
View Source
Flush()
Declaration
public override void Flush()
Overrides
|
Improve this Doc
View Source
GetFilePointer()
Declaration
public override long GetFilePointer()
Returns
Type |
Description |
System.Int64 |
|
Overrides
|
Improve this Doc
View Source
GetSizeInBytes()
Returns byte usage of all buffers.
Declaration
public virtual long GetSizeInBytes()
Returns
Type |
Description |
System.Int64 |
|
|
Improve this Doc
View Source
Reset()
Resets this to an empty file.
Declaration
public virtual void Reset()
|
Improve this Doc
View Source
Seek(Int64)
Declaration
public override void Seek(long pos)
Parameters
Type |
Name |
Description |
System.Int64 |
pos |
|
Overrides
|
Improve this Doc
View Source
WriteByte(Byte)
Declaration
public override void WriteByte(byte b)
Parameters
Type |
Name |
Description |
System.Byte |
b |
|
Overrides
|
Improve this Doc
View Source
WriteBytes(Byte[], Int32, Int32)
Declaration
public override void WriteBytes(byte[] b, int offset, int len)
Parameters
Type |
Name |
Description |
System.Byte[] |
b |
|
System.Int32 |
offset |
|
System.Int32 |
len |
|
Overrides
|
Improve this Doc
View Source
WriteTo(DataOutput)
Copy the current contents of this buffer to the named output.
Declaration
public virtual void WriteTo(DataOutput out)
Parameters
|
Improve this Doc
View Source
WriteTo(Byte[], Int32)
Copy the current contents of this buffer to output
byte array
Declaration
public virtual void WriteTo(byte[] bytes, int offset)
Parameters
Type |
Name |
Description |
System.Byte[] |
bytes |
|
System.Int32 |
offset |
|
Implements
IDisposable