Class MockSingleInt32Factory
Encodes ints directly as vInts with MockSingleInt32IndexOutput.
Note
This API is experimental and might change in incompatible ways in the next release.
Inherited Members
Namespace: Lucene.Net.Codecs.MockSep
Assembly: Lucene.Net.TestFramework.dll
Syntax
public class MockSingleInt32Factory : Int32StreamFactory
Methods
CreateOutput(Directory, string, IOContext)
Create an Lucene.Net.Codecs.Sep.Int32IndexOutput on the provided fileName.
Declaration
public override Int32IndexOutput CreateOutput(Directory dir, string fileName, IOContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| Directory | dir | |
| string | fileName | |
| IOContext | context |
Returns
| Type | Description |
|---|---|
| Int32IndexOutput |
Overrides
OpenInput(Directory, string, IOContext)
Create an Lucene.Net.Codecs.Sep.Int32IndexInput on the provided fileName.
Declaration
public override Int32IndexInput OpenInput(Directory dir, string fileName, IOContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| Directory | dir | |
| string | fileName | |
| IOContext | context |
Returns
| Type | Description |
|---|---|
| Int32IndexInput |