public abstract class AbstractIndexComponent extends Object implements IndexComponent
| Modifier and Type | Field and Description |
|---|---|
protected Settings |
componentSettings |
protected Index |
index |
protected Settings |
indexSettings |
protected ESLogger |
logger |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractIndexComponent(Index index,
Settings indexSettings)
Constructs a new index component, with the index name and its settings.
|
protected |
AbstractIndexComponent(Index index,
Settings indexSettings,
String prefixSettings)
Constructs a new index component, with the index name and its settings, as well as settings prefix.
|
protected final ESLogger logger
protected final Index index
protected final Settings indexSettings
protected final Settings componentSettings
protected AbstractIndexComponent(Index index, @IndexSettings Settings indexSettings)
index - The index nameindexSettings - The index settingsprotected AbstractIndexComponent(Index index, @IndexSettings Settings indexSettings, String prefixSettings)
index - The index nameindexSettings - The index settingsprefixSettings - A settings prefix (like "com.mycompany") to simplify extracting the component settingspublic Index index()
index in interface IndexComponentpublic String nodeName()
Copyright © 2009–2016. All rights reserved.