public static final class PackedInts.NullReader extends PackedInts.Reader
PackedInts.Reader which has all its values equal to 0 (bitsPerValue = 0).| Constructor and Description | 
|---|
NullReader(int valueCount)
Sole constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
long | 
get(int index)
Returns the numeric value for the specified document ID. 
 | 
int | 
get(int index,
   long[] arr,
   int off,
   int len)
Bulk get: read at least one and at most  
len longs starting
 from index into arr[off:off+len] and return
 the actual number of values that have been read. | 
long | 
ramBytesUsed()
Return the memory usage of this object in bytes. 
 | 
int | 
size()  | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetChildResourcespublic long get(int index)
NumericDocValuesget in class NumericDocValuesindex - document ID to lookuppublic int get(int index,
               long[] arr,
               int off,
               int len)
PackedInts.Readerlen longs starting
 from index into arr[off:off+len] and return
 the actual number of values that have been read.get in class PackedInts.Readerpublic int size()
size in class PackedInts.Readerpublic long ramBytesUsed()
AccountableCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.