SemanticField Class
- java.
lang. Object - com.
azure. search. documents. indexes. models. SemanticField
- com.
Implements
public final class SemanticField
implements JsonSerializable<SemanticField>
A field that is used as part of the semantic configuration.
Constructor Summary
Constructor | Description |
---|---|
SemanticField(String fieldName) |
Creates an instance of Semantic |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Semantic |
fromJson(JsonReader jsonReader)
Reads an instance of Semantic |
String |
getFieldName()
Get the field |
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
SemanticField
public SemanticField(String fieldName)
Creates an instance of SemanticField class.
Parameters:
Method Details
fromJson
public static SemanticField fromJson(JsonReader jsonReader)
Reads an instance of SemanticField from the JsonReader.
Parameters:
Returns:
Throws:
getFieldName
public String getFieldName()
Get the fieldName property: The fieldName property.
Returns:
toJson
Applies to
Azure SDK for Java