Class FixedInt32BlockIndexInput
Abstract base class that reads fixed-size blocks of ints from an Lucene.Net.Store.IndexInput. While this is a simple approach, a more performant approach would directly create an impl of Int32IndexInput inside Lucene.Net.Store.Directory. Wrapping a generic Lucene.Net.Store.IndexInput will likely cost performance.
NOTE: This was FixedIntBlockIndexInput in LuceneNote
This API is experimental and might change in incompatible ways in the next release.
Implements
Inherited Members
Namespace: Lucene.Net.Codecs.IntBlock
Assembly: Lucene.Net.Codecs.dll
Syntax
public abstract class FixedInt32BlockIndexInput : Int32IndexInput, IDisposable
Remarks
Naive int block API that writes vInts. This is expected to give poor performance; it's really only for testing the pluggability. One should typically use pfor instead.
Constructors
FixedInt32BlockIndexInput(IndexInput)
Abstract base class that reads fixed-size blocks of ints from an Lucene.Net.Store.IndexInput. While this is a simple approach, a more performant approach would directly create an impl of Int32IndexInput inside Lucene.Net.Store.Directory. Wrapping a generic Lucene.Net.Store.IndexInput will likely cost performance.
NOTE: This was FixedIntBlockIndexInput in LuceneNote
This API is experimental and might change in incompatible ways in the next release.
Declaration
protected FixedInt32BlockIndexInput(IndexInput @in)
Parameters
Type | Name | Description |
---|---|---|
IndexInput | in |
Remarks
Naive int block API that writes vInts. This is expected to give poor performance; it's really only for testing the pluggability. One should typically use pfor instead.
Fields
m_blockSize
Abstract base class that reads fixed-size blocks of ints from an Lucene.Net.Store.IndexInput. While this is a simple approach, a more performant approach would directly create an impl of Int32IndexInput inside Lucene.Net.Store.Directory. Wrapping a generic Lucene.Net.Store.IndexInput will likely cost performance.
NOTE: This was FixedIntBlockIndexInput in LuceneNote
This API is experimental and might change in incompatible ways in the next release.
Declaration
protected readonly int m_blockSize
Field Value
Type | Description |
---|---|
int |
Remarks
Naive int block API that writes vInts. This is expected to give poor performance; it's really only for testing the pluggability. One should typically use pfor instead.
Methods
Dispose(bool)
Abstract base class that reads fixed-size blocks of ints from an Lucene.Net.Store.IndexInput. While this is a simple approach, a more performant approach would directly create an impl of Int32IndexInput inside Lucene.Net.Store.Directory. Wrapping a generic Lucene.Net.Store.IndexInput will likely cost performance.
NOTE: This was FixedIntBlockIndexInput in LuceneNote
This API is experimental and might change in incompatible ways in the next release.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
bool | disposing |
Overrides
Remarks
Naive int block API that writes vInts. This is expected to give poor performance; it's really only for testing the pluggability. One should typically use pfor instead.
GetBlockReader(IndexInput, int[])
Abstract base class that reads fixed-size blocks of ints from an Lucene.Net.Store.IndexInput. While this is a simple approach, a more performant approach would directly create an impl of Int32IndexInput inside Lucene.Net.Store.Directory. Wrapping a generic Lucene.Net.Store.IndexInput will likely cost performance.
NOTE: This was FixedIntBlockIndexInput in LuceneNote
This API is experimental and might change in incompatible ways in the next release.
Declaration
protected abstract FixedInt32BlockIndexInput.IBlockReader GetBlockReader(IndexInput @in, int[] buffer)
Parameters
Type | Name | Description |
---|---|---|
IndexInput | in | |
int[] | buffer |
Returns
Type | Description |
---|---|
FixedInt32BlockIndexInput.IBlockReader |
Remarks
Naive int block API that writes vInts. This is expected to give poor performance; it's really only for testing the pluggability. One should typically use pfor instead.
GetIndex()
Abstract base class that reads fixed-size blocks of ints from an Lucene.Net.Store.IndexInput. While this is a simple approach, a more performant approach would directly create an impl of Int32IndexInput inside Lucene.Net.Store.Directory. Wrapping a generic Lucene.Net.Store.IndexInput will likely cost performance.
NOTE: This was FixedIntBlockIndexInput in LuceneNote
This API is experimental and might change in incompatible ways in the next release.
Declaration
public override Int32IndexInput.Index GetIndex()
Returns
Type | Description |
---|---|
Int32IndexInput.Index |
Overrides
Remarks
Naive int block API that writes vInts. This is expected to give poor performance; it's really only for testing the pluggability. One should typically use pfor instead.
GetReader()
Abstract base class that reads fixed-size blocks of ints from an Lucene.Net.Store.IndexInput. While this is a simple approach, a more performant approach would directly create an impl of Int32IndexInput inside Lucene.Net.Store.Directory. Wrapping a generic Lucene.Net.Store.IndexInput will likely cost performance.
NOTE: This was FixedIntBlockIndexInput in LuceneNote
This API is experimental and might change in incompatible ways in the next release.
Declaration
public override Int32IndexInput.Reader GetReader()
Returns
Type | Description |
---|---|
Int32IndexInput.Reader |
Overrides
Remarks
Naive int block API that writes vInts. This is expected to give poor performance; it's really only for testing the pluggability. One should typically use pfor instead.