Class FieldUsageTrackingDirectoryReader.FieldUsageTrackingLeafReader

java.lang.Object
org.apache.lucene.index.IndexReader
org.apache.lucene.index.LeafReader
org.apache.lucene.index.FilterLeafReader
org.elasticsearch.common.lucene.index.SequentialStoredFieldsLeafReader
org.elasticsearch.search.internal.FieldUsageTrackingDirectoryReader.FieldUsageTrackingLeafReader
All Implemented Interfaces:
Closeable, AutoCloseable
Enclosing class:
FieldUsageTrackingDirectoryReader

public static final class FieldUsageTrackingDirectoryReader.FieldUsageTrackingLeafReader extends SequentialStoredFieldsLeafReader
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.apache.lucene.index.FilterLeafReader

    org.apache.lucene.index.FilterLeafReader.FilterFields, org.apache.lucene.index.FilterLeafReader.FilterPostingsEnum, org.apache.lucene.index.FilterLeafReader.FilterTerms, org.apache.lucene.index.FilterLeafReader.FilterTermsEnum

    Nested classes/interfaces inherited from class org.apache.lucene.index.IndexReader

    org.apache.lucene.index.IndexReader.CacheHelper, org.apache.lucene.index.IndexReader.CacheKey, org.apache.lucene.index.IndexReader.ClosedListener
  • Field Summary

    Fields inherited from class org.apache.lucene.index.FilterLeafReader

    in
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    document(int docID, org.apache.lucene.index.StoredFieldVisitor visitor)
     
    protected org.apache.lucene.codecs.StoredFieldsReader
    doGetSequentialStoredFieldsReader(org.apache.lucene.codecs.StoredFieldsReader reader)
    Implementations should return a StoredFieldsReader that wraps the provided reader that is optimized for sequential access (adjacent doc ids).
    org.apache.lucene.index.BinaryDocValues
     
    org.apache.lucene.index.IndexReader.CacheHelper
     
    org.apache.lucene.index.NumericDocValues
     
    org.apache.lucene.index.PointValues
     
    org.apache.lucene.index.IndexReader.CacheHelper
     
    org.apache.lucene.index.SortedDocValues
     
    org.apache.lucene.index.SortedNumericDocValues
     
    org.apache.lucene.index.SortedSetDocValues
     
    org.apache.lucene.index.Fields
    getTermVectors(int docID)
     
    org.apache.lucene.index.Terms
    terms(String field)
     
     

    Methods inherited from class org.elasticsearch.common.lucene.index.SequentialStoredFieldsLeafReader

    getSequentialStoredFieldsReader

    Methods inherited from class org.apache.lucene.index.FilterLeafReader

    checkIntegrity, doClose, getDelegate, getFieldInfos, getLiveDocs, getMetaData, getNumericDocValues, maxDoc, numDocs, unwrap

    Methods inherited from class org.apache.lucene.index.LeafReader

    docFreq, getContext, getDocCount, getSumDocFreq, getSumTotalTermFreq, postings, postings, totalTermFreq

    Methods inherited from class org.apache.lucene.index.IndexReader

    close, decRef, document, document, ensureOpen, equals, getRefCount, getTermVector, hasDeletions, hashCode, incRef, leaves, numDeletedDocs, registerParentReader, tryIncRef

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

  • Method Details

    • getTermVectors

      public org.apache.lucene.index.Fields getTermVectors(int docID) throws IOException
      Overrides:
      getTermVectors in class org.apache.lucene.index.FilterLeafReader
      Throws:
      IOException
    • getPointValues

      public org.apache.lucene.index.PointValues getPointValues(String field) throws IOException
      Overrides:
      getPointValues in class org.apache.lucene.index.FilterLeafReader
      Throws:
      IOException
    • document

      public void document(int docID, org.apache.lucene.index.StoredFieldVisitor visitor) throws IOException
      Overrides:
      document in class org.apache.lucene.index.FilterLeafReader
      Throws:
      IOException
    • terms

      public org.apache.lucene.index.Terms terms(String field) throws IOException
      Overrides:
      terms in class org.apache.lucene.index.FilterLeafReader
      Throws:
      IOException
    • getBinaryDocValues

      public org.apache.lucene.index.BinaryDocValues getBinaryDocValues(String field) throws IOException
      Overrides:
      getBinaryDocValues in class org.apache.lucene.index.FilterLeafReader
      Throws:
      IOException
    • getSortedDocValues

      public org.apache.lucene.index.SortedDocValues getSortedDocValues(String field) throws IOException
      Overrides:
      getSortedDocValues in class org.apache.lucene.index.FilterLeafReader
      Throws:
      IOException
    • getSortedNumericDocValues

      public org.apache.lucene.index.SortedNumericDocValues getSortedNumericDocValues(String field) throws IOException
      Overrides:
      getSortedNumericDocValues in class org.apache.lucene.index.FilterLeafReader
      Throws:
      IOException
    • getSortedSetDocValues

      public org.apache.lucene.index.SortedSetDocValues getSortedSetDocValues(String field) throws IOException
      Overrides:
      getSortedSetDocValues in class org.apache.lucene.index.FilterLeafReader
      Throws:
      IOException
    • getNormValues

      public org.apache.lucene.index.NumericDocValues getNormValues(String field) throws IOException
      Overrides:
      getNormValues in class org.apache.lucene.index.FilterLeafReader
      Throws:
      IOException
    • toString

      public String toString()
      Overrides:
      toString in class org.apache.lucene.index.FilterLeafReader
    • doGetSequentialStoredFieldsReader

      protected org.apache.lucene.codecs.StoredFieldsReader doGetSequentialStoredFieldsReader(org.apache.lucene.codecs.StoredFieldsReader reader)
      Description copied from class: SequentialStoredFieldsLeafReader
      Implementations should return a StoredFieldsReader that wraps the provided reader that is optimized for sequential access (adjacent doc ids).
      Specified by:
      doGetSequentialStoredFieldsReader in class SequentialStoredFieldsLeafReader
    • getCoreCacheHelper

      public org.apache.lucene.index.IndexReader.CacheHelper getCoreCacheHelper()
      Specified by:
      getCoreCacheHelper in class org.apache.lucene.index.LeafReader
    • getReaderCacheHelper

      public org.apache.lucene.index.IndexReader.CacheHelper getReaderCacheHelper()
      Specified by:
      getReaderCacheHelper in class org.apache.lucene.index.IndexReader