org.apache.lucene.index
Class ReaderSlice

java.lang.Object
  extended by org.apache.lucene.index.ReaderSlice

public final class ReaderSlice
extends Object

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.

Field Summary
static ReaderSlice[] EMPTY_ARRAY
           
 int length
           
 int readerIndex
           
 int start
           
 
Constructor Summary
ReaderSlice(int start, int length, int readerIndex)
           
 
Method Summary
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

EMPTY_ARRAY

public static final ReaderSlice[] EMPTY_ARRAY

start

public final int start

length

public final int length

readerIndex

public final int readerIndex
Constructor Detail

ReaderSlice

public ReaderSlice(int start,
                   int length,
                   int readerIndex)
Method Detail

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.