org.elasticsearch.index
Class AbstractIndexComponent
java.lang.Object
org.elasticsearch.index.AbstractIndexComponent
- All Implemented Interfaces:
- IndexComponent
- Direct Known Subclasses:
- AbstractCharFilterFactory, AbstractConcurrentMapFieldDataCache, AbstractConcurrentMapFilterCache, AbstractIndexAnalyzerProvider, AbstractIndexStore, AbstractJvmQueryParserCache, AbstractSimilarityProvider, AbstractTokenFilterFactory, AbstractTokenizerFactory, AbstractWeightedFilterCache, AnalysisService, BlobStoreIndexGateway, DocumentMapperParser, IndexAliasesService, IndexCache, IndexQueryParserService, IndexServiceManagement, IndexSettingsService, InternalIndexService, LocalIndexGateway, MapperService, NoneBloomCache, NoneFieldDataCache, NoneFilterCache, NoneIndexGateway, NoneQueryParserCache, PercolatorExecutor, PercolatorService, RobinIndexEngine, SimilarityService, SimpleBloomCache, SimpleIdCache
public abstract class AbstractIndexComponent
- extends java.lang.Object
- implements IndexComponent
Constructor Summary |
protected |
AbstractIndexComponent(Index index,
Settings indexSettings)
Constructs a new index component, with the index name and its settings. |
protected |
AbstractIndexComponent(Index index,
Settings indexSettings,
java.lang.String prefixSettings)
Constructs a new index component, with the index name and its settings, as well as settings prefix. |
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,
java.lang.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 java.lang.String nodeName()