Package org.elasticsearch.index
Class AbstractIndexComponent
- java.lang.Object
-
- org.elasticsearch.index.AbstractIndexComponent
-
- All Implemented Interfaces:
IndexComponent
- Direct Known Subclasses:
AbstractCharFilterFactory
,AbstractIndexAnalyzerProvider
,AbstractIndexFieldData
,AbstractTokenFilterFactory
,AbstractTokenizerFactory
,BitsetFilterCache
,DisabledQueryCache
,GlobalOrdinalsIndexFieldData
,GlobalOrdinalsIndexFieldData.Consumer
,IndexCache
,IndexFieldDataService
,IndexQueryCache
,IndexService
,MapperService
,SimilarityService
public abstract class AbstractIndexComponent extends java.lang.Object implements IndexComponent
-
-
Field Summary
Fields Modifier and Type Field Description protected DeprecationLogger
deprecationLogger
protected IndexSettings
indexSettings
protected org.apache.logging.log4j.Logger
logger
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractIndexComponent(IndexSettings indexSettings)
Constructs a new index component, with the index name and its settings.
-
Method Summary
Modifier and Type Method Description IndexSettings
getIndexSettings()
Index
index()
-
-
-
Field Detail
-
logger
protected final org.apache.logging.log4j.Logger logger
-
deprecationLogger
protected final DeprecationLogger deprecationLogger
-
indexSettings
protected final IndexSettings indexSettings
-
-
Constructor Detail
-
AbstractIndexComponent
protected AbstractIndexComponent(IndexSettings indexSettings)
Constructs a new index component, with the index name and its settings.
-
-
Method Detail
-
index
public Index index()
- Specified by:
index
in interfaceIndexComponent
-
getIndexSettings
public IndexSettings getIndexSettings()
-
-