Class MockVariableInt32BlockPostingsFormat.MockInt32Factory
If the first value is <= 3, writes baseBlockSize vInts at once,
otherwise writes 2*baseBlockSize vInts.
Inheritance
System.Object
MockVariableInt32BlockPostingsFormat.MockInt32Factory
Assembly: Lucene.Net.TestFramework.dll
Syntax
public class MockInt32Factory : Int32StreamFactory
Constructors
|
Improve this Doc
View Source
MockInt32Factory(Int32)
Declaration
public MockInt32Factory(int baseBlockSize)
Parameters
Type |
Name |
Description |
System.Int32 |
baseBlockSize |
|
Methods
|
Improve this Doc
View Source
CreateOutput(Directory, String, IOContext)
Declaration
public override Int32IndexOutput CreateOutput(Directory dir, string fileName, IOContext context)
Parameters
Type |
Name |
Description |
Directory |
dir |
|
System.String |
fileName |
|
IOContext |
context |
|
Returns
|
Improve this Doc
View Source
OpenInput(Directory, String, IOContext)
Declaration
public override Int32IndexInput OpenInput(Directory dir, string fileName, IOContext context)
Parameters
Type |
Name |
Description |
Directory |
dir |
|
System.String |
fileName |
|
IOContext |
context |
|
Returns