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<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 |
List<T> |
getResult(String queryId, Class<T> type)
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<LogsBatchQueryResult> batchResults)
Creates an instance of LogsBatchQueryResultCollection to hold all results of a batch of logs queries.
Parameters:
Method Details
getBatchResults
public List<LogsBatchQueryResult> getBatchResults()
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:
getResult
public List<T> <T>getResult(String queryId, Class<T> type)
Returns the batch query result of a specific query identified by the queryId.
Parameters:
Returns: