org.elasticsearch.index
Class AbstractIndexComponent
java.lang.Object
org.elasticsearch.index.AbstractIndexComponent
- All Implemented Interfaces:
- IndexComponent
- Direct Known Subclasses:
- AbstractCharFilterFactory, AbstractConcurrentMapFieldDataCache, AbstractIndexAnalyzerProvider, AbstractIndexStore, AbstractJvmQueryParserCache, AbstractSimilarityProvider, AbstractTokenFilterFactory, AbstractTokenizerFactory, AnalysisService, BlobStoreIndexGateway, DocumentMapperParser, IndexAliasesService, IndexCache, IndexQueryParserService, IndexServiceManagement, IndexSettingsService, InternalIndexService, LocalIndexGateway, MapperService, NoneBloomCache, NoneFieldDataCache, NoneFilterCache, NoneIndexGateway, NoneQueryParserCache, PercolatorExecutor, PercolatorService, ResidentQueryParserCache, RobinIndexEngine, SimilarityService, SimpleBloomCache, SimpleIdCache, WeightedFilterCache
public abstract class AbstractIndexComponent
- extends Object
- implements IndexComponent
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected final ESLogger logger
index
protected final Index index
indexSettings
protected final Settings indexSettings
componentSettings
protected final Settings componentSettings
AbstractIndexComponent
protected AbstractIndexComponent(Index index,
@IndexSettings
Settings indexSettings)
- Constructs a new index component, with the index name and its settings.
- Parameters:
index
- The index nameindexSettings
- The index settings
AbstractIndexComponent
protected AbstractIndexComponent(Index index,
@IndexSettings
Settings indexSettings,
String prefixSettings)
- Constructs a new index component, with the index name and its settings, as well as settings prefix.
- Parameters:
index
- The index nameindexSettings
- The index settingsprefixSettings
- A settings prefix (like "com.mycompany") to simplify extracting the component settings
index
public Index index()
- Specified by:
index
in interface IndexComponent
nodeName
public String nodeName()
Copyright © 2009-2012. All Rights Reserved.