LogsBatchQueryResultCollection Class
- java.
lang. Object - com.
azure. monitor. query. models. LogsBatchQueryResultCollection
- com.
public final class LogsBatchQueryResultCollection
The collection wrapper to hold all results of a batch of logs queries.
Constructor Summary
Constructor | Description |
---|---|
LogsBatchQueryResultCollection(List<LogsBatchQueryResult> batchResults) |
Creates an instance of LogsBatchQueryResultCollection to hold all results of a batch of logs queries. |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<T> |
getResult(String queryId, Class<T> type)
Returns the batch query result of a specific query identified by the query |
List<Logs |
getBatchResults()
Returns the results of a batch of logs queries. |
Logs |
getResult(String queryId)
Returns the batch query result of a specific query identified by the query |
Methods inherited from java.lang.Object
Constructor Details
LogsBatchQueryResultCollection
public LogsBatchQueryResultCollection(List
Creates an instance of LogsBatchQueryResultCollection to hold all results of a batch of logs queries.
Parameters:
Method Details
getResult
public List
Returns the batch query result of a specific query identified by the queryId.
Parameters:
Returns:
getBatchResults
public List
Returns the results of a batch of logs queries.
Returns:
getResult
public LogsBatchQueryResult getResult(String queryId)
Returns the batch query result of a specific query identified by the queryId.
Parameters:
Returns:
Applies to
Azure SDK for Java