Share via


ConditionalSkill Class

Definition

A skill that enables scenarios that require a Boolean operation to determine the data to assign to an output.

public class ConditionalSkill : Azure.Search.Documents.Indexes.Models.SearchIndexerSkill, System.ClientModel.Primitives.IJsonModel<Azure.Search.Documents.Indexes.Models.ConditionalSkill>, System.ClientModel.Primitives.IPersistableModel<Azure.Search.Documents.Indexes.Models.ConditionalSkill>
type ConditionalSkill = class
    inherit SearchIndexerSkill
    interface IJsonModel<ConditionalSkill>
    interface IPersistableModel<ConditionalSkill>
Public Class ConditionalSkill
Inherits SearchIndexerSkill
Implements IJsonModel(Of ConditionalSkill), IPersistableModel(Of ConditionalSkill)
Inheritance
ConditionalSkill
Implements

Constructors

ConditionalSkill(IEnumerable<InputFieldMappingEntry>, IEnumerable<OutputFieldMappingEntry>)

Initializes a new instance of ConditionalSkill.

Properties

Context

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.

(Inherited from SearchIndexerSkill)
Description

The description of the skill which describes the inputs, outputs, and usage of the skill.

(Inherited from SearchIndexerSkill)
Inputs

Inputs of the skills could be a column in the source data set, or the output of an upstream skill.

(Inherited from SearchIndexerSkill)
Name

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 prefaced with the character "#" in debug sessions and error messages.

(Inherited from SearchIndexerSkill)
Outputs

The output of a skill is either a field in a search index, or a value that can be consumed as an input by another skill.

(Inherited from SearchIndexerSkill)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ConditionalSkill>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ConditionalSkill>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<SearchIndexerSkill>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from SearchIndexerSkill)
IJsonModel<SearchIndexerSkill>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from SearchIndexerSkill)
IPersistableModel<ConditionalSkill>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ConditionalSkill>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ConditionalSkill>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<SearchIndexerSkill>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from SearchIndexerSkill)
IPersistableModel<SearchIndexerSkill>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from SearchIndexerSkill)
IPersistableModel<SearchIndexerSkill>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from SearchIndexerSkill)

Applies to