public final class LogsBatchQueryResult extends LogsQueryResult
Constructor and Description |
---|
LogsBatchQueryResult(String id,
int status,
List<LogsTable> logsTables,
com.azure.core.util.BinaryData statistics,
com.azure.core.util.BinaryData visualization,
com.azure.core.experimental.models.HttpResponseError error)
Creates an instance of
LogsBatchQueryResult containing the result of a single logs query in a batch. |
Modifier and Type | Method and Description |
---|---|
String |
getId()
Returns the query id.
|
int |
getStatus()
Returns the response status of the query.
|
boolean |
hasFailed()
Returns true if the query failed.
|
getAllTables, getError, getStatistics, getTable, getVisualization
public LogsBatchQueryResult(String id, int status, List<LogsTable> logsTables, com.azure.core.util.BinaryData statistics, com.azure.core.util.BinaryData visualization, com.azure.core.experimental.models.HttpResponseError error)
LogsBatchQueryResult
containing the result of a single logs query in a batch.id
- The query id.status
- The response status of the query.logsTables
- The list of LogsTable
returned as query result.statistics
- The query execution statistics.visualization
- The visualization information for the logs query.error
- The error details if there was an error executing the query.public String getId()
public int getStatus()
public boolean hasFailed()
false
.Copyright © 2021 Microsoft Corporation. All rights reserved.