LogsQueryResult Class
- java.
lang. Object - com.
azure. monitor. query. models. LogsQueryResult
- com.
public class LogsQueryResult
The result of a logs query.
Constructor Summary
Constructor | Description |
---|---|
LogsQueryResult(List<LogsTable> logsTables, BinaryData statistics, BinaryData visualization, ResponseError error) |
Creates an instance LogsQueryResult with a list of LogsTable. |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Logs |
getAllTables()
The list of LogsTable returned as query result. |
Response |
getError()
Returns the error details if there was an error executing the query. |
Logs |
getQueryResultStatus()
Returns the status of the query result. |
Binary |
getStatistics()
Returns the query statistics. |
Logs |
getTable()
The primary LogsTable returned as query result. |
Binary |
getVisualization()
Returns the visualization information for the logs query. |
Methods inherited from java.lang.Object
Constructor Details
LogsQueryResult
public LogsQueryResult(List
Creates an instance LogsQueryResult with a list of LogsTable.
Parameters:
Method Details
getAllTables
getError
public ResponseError getError()
Returns the error details if there was an error executing the query.
Returns:
getQueryResultStatus
public LogsQueryResultStatus getQueryResultStatus()
Returns the status of the query result.
Returns:
getStatistics
public BinaryData getStatistics()
Returns the query statistics.
Returns:
getTable
getVisualization
public BinaryData getVisualization()
Returns the visualization information for the logs query.
Returns:
Applies to
Azure SDK for Java