Class ReaderSlice
Subreader slice from a parent composite reader.
Note
This API is for internal purposes only and might change in incompatible ways in the next release.
Inheritance
System.Object
ReaderSlice
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)
Namespace: Lucene.Net.Index
Assembly: Lucene.Net.dll
Syntax
public sealed class ReaderSlice
Constructors
| Improve this Doc View SourceReaderSlice(Int32, Int32, Int32)
Sole constructor.
Declaration
public ReaderSlice(int start, int length, int readerIndex)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | start | |
System.Int32 | length | |
System.Int32 | readerIndex |
Fields
| Improve this Doc View SourceEMPTY_ARRAY
Zero-length ReaderSlice array.
Declaration
public static readonly ReaderSlice[] EMPTY_ARRAY
Field Value
Type | Description |
---|---|
ReaderSlice[] |
Properties
| Improve this Doc View SourceLength
Number of documents in this slice.
Declaration
public int Length { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
ReaderIndex
Sub-reader index for this slice.
Declaration
public int ReaderIndex { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Start
Document ID this slice starts from.
Declaration
public int Start { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this Doc View SourceToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()