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 LuceneNote
This API is experimental and might change in incompatible ways in the next release.
Implements
Inherited Members
Namespace: Lucene.Net.Codecs.Sep
Assembly: Lucene.Net.Codecs.dll
Syntax
public abstract class Int32IndexOutput : IDisposable
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()
Dispose(bool)
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 LuceneNote
This API is experimental and might change in incompatible ways in the next release.
Declaration
protected abstract void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
bool | 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(int)
Write an int to the primary file. The value must be
= 0.
Declaration
public abstract void Write(int v)
Parameters
Type | Name | Description |
---|---|---|
int | v |