Class PackedInt32s.NullReader
A PackedInt32s.Reader which has all its values equal to 0 (bitsPerValue = 0).
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.Util.Packed
Assembly: Lucene.Net.dll
Syntax
public sealed class NullReader : PackedInt32s.Reader
Constructors
| Improve this Doc View SourceNullReader(Int32)
Sole constructor.
Declaration
public NullReader(int valueCount)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | valueCount |
Properties
| Improve this Doc View SourceBitsPerValue
Declaration
public override int BitsPerValue { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Overrides
| Improve this Doc View SourceCount
Declaration
public override int Count { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Overrides
Methods
| Improve this Doc View SourceGet(Int32)
Declaration
public override long Get(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Returns
Type | Description |
---|---|
System.Int64 |
Overrides
| Improve this Doc View SourceGet(Int32, Int64[], Int32, Int32)
Declaration
public override int Get(int index, long[] arr, int off, int len)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | |
System.Int64[] | arr | |
System.Int32 | off | |
System.Int32 | len |
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
| Improve this Doc View SourceRamBytesUsed()
Declaration
public override long RamBytesUsed()
Returns
Type | Description |
---|---|
System.Int64 |