Class SemanticFieldState
java.lang.Object
com.azure.core.util.ExpandableStringEnum<SemanticFieldState>
com.azure.search.documents.models.SemanticFieldState
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class SemanticFieldState
extends com.azure.core.util.ExpandableStringEnum<SemanticFieldState>
The way the field was used for the semantic enrichment process.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SemanticFieldStateThe field was partially used for semantic enrichment.static final SemanticFieldStateThe field was not used for semantic enrichment.static final SemanticFieldStateThe field was fully used for semantic enrichment. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SemanticFieldStatefromString(String name) Creates or finds a SemanticFieldState from its string representation.static Collection<SemanticFieldState> values()Gets known SemanticFieldState values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
USED
The field was fully used for semantic enrichment. -
UNUSED
The field was not used for semantic enrichment. -
PARTIAL
The field was partially used for semantic enrichment.
-
-
Constructor Details
-
SemanticFieldState
Deprecated.Use thefromString(String)factory method.Creates a new instance of SemanticFieldState value.
-
-
Method Details
-
fromString
Creates or finds a SemanticFieldState from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding SemanticFieldState.
-
values
Gets known SemanticFieldState values.- Returns:
- known SemanticFieldState values.
-
fromString(String)factory method.