Class AssertingSortedDocValues
Wraps a Lucene.Net.Index.SortedDocValues but with additional asserts
Inheritance
System.Object
Lucene.Net.Index.BinaryDocValues
Lucene.Net.Index.SortedDocValues
AssertingSortedDocValues
Inherited Members
Lucene.Net.Index.SortedDocValues.GetTermsEnum()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lucene.Net.Index
Assembly: Lucene.Net.TestFramework.dll
Syntax
public class AssertingSortedDocValues : SortedDocValues
Constructors
| Improve this Doc View SourceAssertingSortedDocValues(SortedDocValues, Int32)
Declaration
public AssertingSortedDocValues(SortedDocValues in, int maxDoc)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Index.SortedDocValues | in | |
System.Int32 | maxDoc |
Properties
| Improve this Doc View SourceValueCount
Declaration
public override int ValueCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Overrides
Lucene.Net.Index.SortedDocValues.ValueCount
Methods
| Improve this Doc View SourceGet(Int32, BytesRef)
Declaration
public override void Get(int docID, BytesRef result)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | docID | |
Lucene.Net.Util.BytesRef | result |
Overrides
Lucene.Net.Index.SortedDocValues.Get(System.Int32, Lucene.Net.Util.BytesRef)
|
Improve this Doc
View Source
GetOrd(Int32)
Declaration
public override int GetOrd(int docID)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | docID |
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
Lucene.Net.Index.SortedDocValues.GetOrd(System.Int32)
|
Improve this Doc
View Source
LookupOrd(Int32, BytesRef)
Declaration
public override void LookupOrd(int ord, BytesRef result)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | ord | |
Lucene.Net.Util.BytesRef | result |
Overrides
Lucene.Net.Index.SortedDocValues.LookupOrd(System.Int32, Lucene.Net.Util.BytesRef)
|
Improve this Doc
View Source
LookupTerm(BytesRef)
Declaration
public override int LookupTerm(BytesRef key)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Util.BytesRef | key |
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
Lucene.Net.Index.SortedDocValues.LookupTerm(Lucene.Net.Util.BytesRef)