Class MockFixedInt32BlockPostingsFormat.MockInt32Factory
Encodes blocks as vInts of a fixed block size.
Inheritance
Int32StreamFactory
MockFixedInt32BlockPostingsFormat.MockInt32Factory
Assembly: Lucene.Net.TestFramework.dll
Syntax
public class MockFixedInt32BlockPostingsFormat.MockInt32Factory : Int32StreamFactory
Constructors
MockInt32Factory(int)
Encodes blocks as vInts of a fixed block size.
Declaration
public MockInt32Factory(int blockSize)
Parameters
Type |
Name |
Description |
int |
blockSize |
|
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 |
|
Overrides