FacetRequest Class
- java.
lang. Object - com.
azure. resourcemanager. resourcegraph. models. FacetRequest
- com.
Implements
public final class FacetRequest
implements JsonSerializable<FacetRequest>
A request to compute additional statistics (facets) over the query results.
Constructor Summary
| Constructor | Description |
|---|---|
| FacetRequest() |
Creates an instance of Facet |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
expression()
Get the expression property: The column or list of columns to summarize by. |
|
static
Facet |
fromJson(JsonReader jsonReader)
Reads an instance of Facet |
|
Facet |
options()
Get the options property: The options for facet evaluation. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Facet |
withExpression(String expression)
Set the expression property: The column or list of columns to summarize by. |
|
Facet |
withOptions(FacetRequestOptions options)
Set the options property: The options for facet evaluation. |
Methods inherited from java.lang.Object
Constructor Details
FacetRequest
public FacetRequest()
Creates an instance of FacetRequest class.
Method Details
expression
public String expression()
Get the expression property: The column or list of columns to summarize by.
Returns:
fromJson
public static FacetRequest fromJson(JsonReader jsonReader)
Reads an instance of FacetRequest from the JsonReader.
Parameters:
Returns:
Throws:
options
public FacetRequestOptions options()
Get the options property: The options for facet evaluation.
Returns:
toJson
validate
public void validate()
Validates the instance.
withExpression
public FacetRequest withExpression(String expression)
Set the expression property: The column or list of columns to summarize by.
Parameters:
Returns:
withOptions
public FacetRequest withOptions(FacetRequestOptions options)
Set the options property: The options for facet evaluation.
Parameters:
Returns: