Class GeoStatsCommandDescriptor
Command descriptor for querylanguage GEOSTATS command. This is similiar to STATS with some built in functions for City, State and Country by Coordinates.
Inherited Members
Namespace: Oci.LoganalyticsService.Models
Assembly: OCI.DotNetSDK.Loganalytics.dll
Syntax
public class GeoStatsCommandDescriptor : AbstractCommandDescriptor
Properties
CityField
Declaration
[JsonProperty(PropertyName = "cityField")]
public AbstractField CityField { get; set; }
Property Value
Type | Description |
---|---|
AbstractField | The city field to use. Only applicable when include = CUSTOM. |
ContinentField
Declaration
[JsonProperty(PropertyName = "continentField")]
public AbstractField ContinentField { get; set; }
Property Value
Type | Description |
---|---|
AbstractField | The continent field to use. Only applicable when include = CUSTOM. |
CoordinatesField
Declaration
[JsonProperty(PropertyName = "coordinatesField")]
public AbstractField CoordinatesField { get; set; }
Property Value
Type | Description |
---|---|
AbstractField | The coordinates field to use. Only applicable when include = CUSTOM. |
CountryField
Declaration
[JsonProperty(PropertyName = "countryField")]
public AbstractField CountryField { get; set; }
Property Value
Type | Description |
---|---|
AbstractField | The country field to use. Only applicable when include = CUSTOM. |
Functions
Declaration
[JsonProperty(PropertyName = "functions")]
public List<FunctionField> Functions { get; set; }
Property Value
Type | Description |
---|---|
List<FunctionField> | Statistical functions specified in the query string. At least 1 is required for a GEOSTATS command. |
GroupByFields
Declaration
[JsonProperty(PropertyName = "groupByFields")]
public List<AbstractField> GroupByFields { get; set; }
Property Value
Type | Description |
---|---|
List<AbstractField> | Group by fields if specified in the query string. Required if include = CUSTOM. |
Include
Declaration
[JsonProperty(PropertyName = "include")]
[JsonConverter(typeof(ResponseEnumConverter))]
public GeoStatsCommandDescriptor.IncludeEnum? Include { get; set; }
Property Value
Type | Description |
---|---|
GeoStatsCommandDescriptor.IncludeEnum? | Indicates which coordinates to show. Either client, server, client and server or custom. If custom is specified at least one of coordinatesField, regionField or countryField is required. Defaults to client. |
RegionField
Declaration
[JsonProperty(PropertyName = "regionField")]
public AbstractField RegionField { get; set; }
Property Value
Type | Description |
---|---|
AbstractField | The region field to use. Only applicable when include = CUSTOM. |