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
All Methods Instance Methods Concrete Methods 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 AtomicFieldData,IFD extends IndexFieldData.Global<FD>>
IFDload(org.apache.lucene.index.DirectoryReader indexReader, IFD indexFieldData)
<FD extends AtomicFieldData,IFD extends IndexFieldData<FD>>
FDload(org.apache.lucene.index.LeafReaderContext context, IFD indexFieldData)
-
-
-
Method Detail
-
load
public <FD extends AtomicFieldData,IFD extends IndexFieldData<FD>> FD load(org.apache.lucene.index.LeafReaderContext context, IFD indexFieldData) throws java.lang.Exception
- Specified by:
load
in interfaceIndexFieldDataCache
- Throws:
java.lang.Exception
-
load
public <FD extends AtomicFieldData,IFD extends IndexFieldData.Global<FD>> IFD load(org.apache.lucene.index.DirectoryReader indexReader, IFD indexFieldData) throws java.lang.Exception
- Specified by:
load
in interfaceIndexFieldDataCache
- 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 interfaceIndexFieldDataCache
-
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 interfaceIndexFieldDataCache
-
-