Enum AnalyzerSetting.Generator
- java.lang.Object
-
- java.lang.Enum<AnalyzerSetting.Generator>
-
- org.apache.skywalking.oap.server.storage.plugin.elasticsearch.base.AnalyzerSetting.Generator
-
- All Implemented Interfaces:
Serializable,Comparable<AnalyzerSetting.Generator>
- Enclosing class:
- AnalyzerSetting
public static enum AnalyzerSetting.Generator extends Enum<AnalyzerSetting.Generator>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description OAP_ANALYZER_SETTING_GENERATOROAP_LOG_ANALYZER_SETTING_GENERATOR
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AnalyzerSetting.GenerateAnalyzerSettingFuncgetGenerateFunc()static AnalyzerSetting.GeneratorgetGenerator(ElasticSearch.MatchQuery.AnalyzerType type)static AnalyzerSetting.GeneratorvalueOf(String name)Returns the enum constant of this type with the specified name.static AnalyzerSetting.Generator[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OAP_ANALYZER_SETTING_GENERATOR
public static final AnalyzerSetting.Generator OAP_ANALYZER_SETTING_GENERATOR
-
OAP_LOG_ANALYZER_SETTING_GENERATOR
public static final AnalyzerSetting.Generator OAP_LOG_ANALYZER_SETTING_GENERATOR
-
-
Method Detail
-
values
public static AnalyzerSetting.Generator[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AnalyzerSetting.Generator c : AnalyzerSetting.Generator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AnalyzerSetting.Generator valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getGenerateFunc
public AnalyzerSetting.GenerateAnalyzerSettingFunc getGenerateFunc()
-
getGenerator
public static AnalyzerSetting.Generator getGenerator(ElasticSearch.MatchQuery.AnalyzerType type) throws StorageException
- Throws:
StorageException
-
-