Class Int32IndexOutput
Defines basic API for writing ints to an Lucene.Net.Store.IndexOutput. IntBlockCodec interacts with this API. See IntBlockReader.
NOTE: block sizes could be variable
NOTE: This was IntIndexOutput in Lucene
Note
This API is experimental and might change in incompatible ways in the next release.
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.Codecs.Sep
Assembly: Lucene.Net.Codecs.dll
Syntax
public abstract class Int32IndexOutput : IDisposable
Methods
| Improve this Doc View SourceDispose()
Declaration
public void Dispose()
Dispose(Boolean)
Declaration
protected abstract void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
GetIndex()
If you are indexing the primary output file, call this and interact with the returned IndexWriter.
Declaration
public abstract Int32IndexOutput.Index GetIndex()
Returns
Type | Description |
---|---|
Int32IndexOutput.Index |
Write(Int32)
Write an System.Int32 to the primary file. The value must be
= 0.
Declaration
public abstract void Write(int v)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | v |
Implements
System.IDisposable