ConditionalSkill Class
- java.
lang. Object - com.
azure. search. documents. indexes. models. SearchIndexerSkill - com.
azure. search. documents. indexes. models. ConditionalSkill
- com.
- com.
public final class ConditionalSkill
extends SearchIndexerSkill
A skill that enables scenarios that require a Boolean operation to determine the data to assign to an output.
Constructor | Description |
---|---|
Conditional |
Creates an instance of Conditional |
Modifier and Type | Method and Description |
---|---|
static
Conditional |
from Reads an instance of Conditional |
String |
get Get the odata |
Conditional |
set Set the context property: Represents the level at which operations take place, such as the document root or document content (for example, /document or /document/content). |
Conditional |
set Set the description property: The description of the skill which describes the inputs, outputs, and usage of the skill. |
Conditional |
set Set the name property: The name of the skill which uniquely identifies it within the skillset. |
Json |
to |
Methods inherited from SearchIndexerSkill
Methods inherited from java.lang.Object
ConditionalSkill
public ConditionalSkill(List
Creates an instance of ConditionalSkill class.
Parameters:
fromJson
public static ConditionalSkill fromJson(JsonReader jsonReader)
Reads an instance of ConditionalSkill from the JsonReader.
Parameters:
Returns:
Throws:
getOdataType
public String getOdataType()
Get the odataType property: A URI fragment specifying the type of skill.
Overrides:
ConditionalSkill.getOdataType()Returns:
setContext
public ConditionalSkill setContext(String context)
Set the context property: Represents the level at which operations take place, such as the document root or document content (for example, /document or /document/content). The default is /document.
Overrides:
ConditionalSkill.setContext(String context)Parameters:
setDescription
public ConditionalSkill setDescription(String description)
Set the description property: The description of the skill which describes the inputs, outputs, and usage of the skill.
Overrides:
ConditionalSkill.setDescription(String description)Parameters:
setName
public ConditionalSkill setName(String name)
Set the name property: The name of the skill which uniquely identifies it within the skillset. A skill with no name defined will be given a default name of its 1-based index in the skills array, prefixed with the character '#'.
Overrides:
ConditionalSkill.setName(String name)Parameters:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ConditionalSkill.toJson(JsonWriter jsonWriter)Parameters:
Throws:
Azure SDK for Java-feedback
Azure SDK for Java is een open source project. Selecteer een koppeling om feedback te geven: