Class IndexFieldDataCache.None

java.lang.Object
org.elasticsearch.index.fielddata.IndexFieldDataCache.None
All Implemented Interfaces:
IndexFieldDataCache
Enclosing interface:
IndexFieldDataCache

public static class IndexFieldDataCache.None
extends java.lang.Object
implements IndexFieldDataCache
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.elasticsearch.index.fielddata.IndexFieldDataCache

    IndexFieldDataCache.Listener, IndexFieldDataCache.None
  • Constructor Summary

    Constructors
    Constructor Description
    None()  
  • Method Summary

    Modifier and Type Method Description
    void clear()
    Clears all the field data stored cached in on this index.
    void clear​(java.lang.String fieldName)
    Clears all the field data stored cached in on this index for the specified field name.
    <FD extends LeafFieldData,​ IFD extends IndexFieldData.Global<FD>>
    IFD
    load​(org.apache.lucene.index.DirectoryReader indexReader, IFD indexFieldData)  
    <FD extends LeafFieldData,​ IFD extends IndexFieldData<FD>>
    FD
    load​(org.apache.lucene.index.LeafReaderContext context, IFD indexFieldData)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • None

      public None()
  • Method Details

    • load

      public <FD extends LeafFieldData,​ IFD extends IndexFieldData<FD>> FD load​(org.apache.lucene.index.LeafReaderContext context, IFD indexFieldData) throws java.lang.Exception
      Specified by:
      load in interface IndexFieldDataCache
      Throws:
      java.lang.Exception
    • load

      public <FD extends LeafFieldData,​ IFD extends IndexFieldData.Global<FD>> IFD load​(org.apache.lucene.index.DirectoryReader indexReader, IFD indexFieldData) throws java.lang.Exception
      Specified by:
      load in interface IndexFieldDataCache
      Throws:
      java.lang.Exception
    • clear

      public void clear()
      Description copied from interface: IndexFieldDataCache
      Clears all the field data stored cached in on this index.
      Specified by:
      clear in interface IndexFieldDataCache
    • clear

      public void clear​(java.lang.String fieldName)
      Description copied from interface: IndexFieldDataCache
      Clears all the field data stored cached in on this index for the specified field name.
      Specified by:
      clear in interface IndexFieldDataCache