Enum ResponseProcessor.Kind
- java.lang.Object
-
- java.lang.Enum<ResponseProcessor.Kind>
-
- org.opensearch.client.opensearch.search_pipeline.ResponseProcessor.Kind
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ResponseProcessor.Kind>,JsonEnum,JsonpSerializable
- Enclosing class:
- ResponseProcessor
public static enum ResponseProcessor.Kind extends java.lang.Enum<ResponseProcessor.Kind> implements JsonEnum
ResponseProcessorvariant kinds.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.opensearch.client.json.JsonEnum
JsonEnum.Deserializer<T extends JsonEnum>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CollapsePersonalizeSearchRankingRenameFieldRerankRetrievalAugmentedGenerationSortSplitTruncateHits
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringjsonValue()static ResponseProcessor.KindvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ResponseProcessor.Kind[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Collapse
public static final ResponseProcessor.Kind Collapse
-
PersonalizeSearchRanking
public static final ResponseProcessor.Kind PersonalizeSearchRanking
-
RenameField
public static final ResponseProcessor.Kind RenameField
-
Rerank
public static final ResponseProcessor.Kind Rerank
-
RetrievalAugmentedGeneration
public static final ResponseProcessor.Kind RetrievalAugmentedGeneration
-
Sort
public static final ResponseProcessor.Kind Sort
-
Split
public static final ResponseProcessor.Kind Split
-
TruncateHits
public static final ResponseProcessor.Kind TruncateHits
-
-
Method Detail
-
values
public static ResponseProcessor.Kind[] 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 (ResponseProcessor.Kind c : ResponseProcessor.Kind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ResponseProcessor.Kind valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-