SemanticFieldState Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. search. documents. models. SemanticFieldState
- com.
- com.
public final class SemanticFieldState
extends ExpandableStringEnum<SemanticFieldState>
The way the field was used for the semantic enrichment process.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Semantic |
PARTIAL
The field was partially used for semantic enrichment. |
|
static final
Semantic |
UNUSED
The field was not used for semantic enrichment. |
|
static final
Semantic |
USED
The field was fully used for semantic enrichment. |
Constructor Summary
| Constructor | Description |
|---|---|
| SemanticFieldState() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Semantic |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Semantic |
fromString(String name)
Creates or finds a Semantic |
|
static
Collection<Semantic |
values()
Gets known Semantic |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
PARTIAL
public static final SemanticFieldState PARTIAL
The field was partially used for semantic enrichment.
UNUSED
public static final SemanticFieldState UNUSED
The field was not used for semantic enrichment.
USED
public static final SemanticFieldState USED
The field was fully used for semantic enrichment.
Constructor Details
SemanticFieldState
@Deprecated
public SemanticFieldState()
Deprecated
Creates a new instance of SemanticFieldState value.
Method Details
fromString
public static SemanticFieldState fromString(String name)
Creates or finds a SemanticFieldState from its string representation.
Parameters:
Returns:
values
public static Collection<SemanticFieldState> values()
Gets known SemanticFieldState values.
Returns: