FacetRequestOptions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The options for facet evaluation.
public class FacetRequestOptions
public class FacetRequestOptions : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ResourceGraph.Models.FacetRequestOptions>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ResourceGraph.Models.FacetRequestOptions>
type FacetRequestOptions = class
type FacetRequestOptions = class
interface IJsonModel<FacetRequestOptions>
interface IPersistableModel<FacetRequestOptions>
Public Class FacetRequestOptions
Public Class FacetRequestOptions
Implements IJsonModel(Of FacetRequestOptions), IPersistableModel(Of FacetRequestOptions)
- Inheritance
-
FacetRequestOptions
- Implements
Constructors
FacetRequestOptions() |
Initializes a new instance of FacetRequestOptions. |
Properties
Filter |
Specifies the filter condition for the 'where' clause which will be run on main query's result, just before the actual faceting. |
SortBy |
The column name or query expression to sort on. Defaults to count if not present. |
SortOrder |
The sorting order by the selected column (count by default). |
Top |
The maximum number of facet rows that should be returned. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<FacetRequestOptions>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<FacetRequestOptions>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<FacetRequestOptions>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<FacetRequestOptions>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<FacetRequestOptions>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET