Class CachedOrdinalsReader.CachedOrds
Holds the cached ordinals in two parallel int[] arrays.
Inheritance
System.Object
CachedOrdinalsReader.CachedOrds
Implements
Inherited Members
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.Facet.Taxonomy
Assembly: Lucene.Net.Facet.dll
Syntax
public sealed class CachedOrds : IAccountable
Constructors
| Improve this Doc View SourceCachedOrds(OrdinalsReader.OrdinalsSegmentReader, Int32)
Creates a new CachedOrdinalsReader.CachedOrds from the BinaryDocValues.
Assumes that the BinaryDocValues is not null
.
Declaration
public CachedOrds(OrdinalsReader.OrdinalsSegmentReader source, int maxDoc)
Parameters
Type | Name | Description |
---|---|---|
OrdinalsReader.OrdinalsSegmentReader | source | |
System.Int32 | maxDoc |
Properties
| Improve this Doc View SourceOffsets
Index into Ordinals for each document.
Declaration
public int[] Offsets { get; }
Property Value
Type | Description |
---|---|
System.Int32[] |
Ordinals
Holds ords for all docs.
Declaration
public int[] Ordinals { get; }
Property Value
Type | Description |
---|---|
System.Int32[] |
Methods
| Improve this Doc View SourceRamBytesUsed()
Declaration
public long RamBytesUsed()
Returns
Type | Description |
---|---|
System.Int64 |