Class SearchMetadata
java.lang.Object
com.azure.resourcemanager.loganalytics.models.SearchMetadata
- All Implemented Interfaces:
com.azure.json.JsonSerializable<SearchMetadata>
public final class SearchMetadata
extends Object
implements com.azure.json.JsonSerializable<SearchMetadata>
Metadata for search results.
-
Method Summary
Modifier and TypeMethodDescriptionGet the aggregatedGroupingFields property: The aggregated grouping fields.Get the aggregatedValueField property: The aggregated value field.Get the coreSummaries property: The core summaries.etag()Get the etag property: The ETag of the search results.static SearchMetadatafromJson(com.azure.json.JsonReader jsonReader) Reads an instance of SearchMetadata from the JsonReader.id()Get the id property: The id of the search results request.Get the lastUpdated property: The time of last update.max()Get the max property: The max of all aggregates returned in the result set.Get the requestTime property: The request time.Get the resultType property: The search result type.schema()Get the schema property: The schema.searchId()Get the searchId property: The request id of the search.sort()Get the sort property: How the results are sorted.Get the startTime property: The start time for the search.status()Get the status property: The status of the search results.sum()Get the sum property: The sum of all aggregates returned in the result set.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) top()Get the top property: The number of top search results.total()Get the total property: The total number of search results.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Method Details
-
searchId
Get the searchId property: The request id of the search.- Returns:
- the searchId value.
-
resultType
Get the resultType property: The search result type.- Returns:
- the resultType value.
-
total
Get the total property: The total number of search results.- Returns:
- the total value.
-
top
-
id
Get the id property: The id of the search results request.- Returns:
- the id value.
-
coreSummaries
Get the coreSummaries property: The core summaries.- Returns:
- the coreSummaries value.
-
status
Get the status property: The status of the search results.- Returns:
- the status value.
-
startTime
Get the startTime property: The start time for the search.- Returns:
- the startTime value.
-
lastUpdated
Get the lastUpdated property: The time of last update.- Returns:
- the lastUpdated value.
-
etag
Get the etag property: The ETag of the search results.- Returns:
- the etag value.
-
sort
Get the sort property: How the results are sorted.- Returns:
- the sort value.
-
requestTime
Get the requestTime property: The request time.- Returns:
- the requestTime value.
-
aggregatedValueField
Get the aggregatedValueField property: The aggregated value field.- Returns:
- the aggregatedValueField value.
-
aggregatedGroupingFields
Get the aggregatedGroupingFields property: The aggregated grouping fields.- Returns:
- the aggregatedGroupingFields value.
-
sum
Get the sum property: The sum of all aggregates returned in the result set.- Returns:
- the sum value.
-
max
Get the max property: The max of all aggregates returned in the result set.- Returns:
- the max value.
-
schema
Get the schema property: The schema.- Returns:
- the schema value.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<SearchMetadata>- Throws:
IOException
-
fromJson
Reads an instance of SearchMetadata from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of SearchMetadata if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the SearchMetadata.
-