org.elasticsearch.index.cache.field.data.none
Class NoneFieldDataCache

java.lang.Object
  extended by org.elasticsearch.index.AbstractIndexComponent
      extended by org.elasticsearch.index.cache.field.data.none.NoneFieldDataCache
All Implemented Interfaces:
CloseableComponent, FieldDataCache, IndexComponent

public class NoneFieldDataCache
extends AbstractIndexComponent
implements FieldDataCache


Field Summary
 
Fields inherited from class org.elasticsearch.index.AbstractIndexComponent
componentSettings, index, indexSettings, logger
 
Constructor Summary
NoneFieldDataCache(Index index, Settings indexSettings)
           
 
Method Summary
 FieldData cache(FieldDataType type, org.apache.lucene.index.IndexReader reader, java.lang.String fieldName)
           
 void clear()
           
 void clear(org.apache.lucene.index.IndexReader reader)
           
 void clearUnreferenced()
           
 void close()
           
 java.lang.String type()
           
 
Methods inherited from class org.elasticsearch.index.AbstractIndexComponent
index, nodeName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoneFieldDataCache

@Inject
public NoneFieldDataCache(Index index,
                                 @IndexSettings
                                 Settings indexSettings)
Method Detail

cache

public FieldData cache(FieldDataType type,
                       org.apache.lucene.index.IndexReader reader,
                       java.lang.String fieldName)
                throws java.io.IOException
Specified by:
cache in interface FieldDataCache
Throws:
java.io.IOException

type

public java.lang.String type()
Specified by:
type in interface FieldDataCache

clear

public void clear()
Specified by:
clear in interface FieldDataCache

clear

public void clear(org.apache.lucene.index.IndexReader reader)
Specified by:
clear in interface FieldDataCache

clearUnreferenced

public void clearUnreferenced()
Specified by:
clearUnreferenced in interface FieldDataCache

close

public void close()
           throws ElasticSearchException
Specified by:
close in interface CloseableComponent
Throws:
ElasticSearchException