public class LogsQueryResult extends Object
Constructor and Description |
---|
LogsQueryResult(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
LogsQueryResult with a list of LogsTable . |
Modifier and Type | Method and Description |
---|---|
List<LogsTable> |
getAllTables()
The list of
LogsTable returned as query result. |
com.azure.core.experimental.models.HttpResponseError |
getError()
Returns the error details if there was an error executing the query.
|
com.azure.core.util.BinaryData |
getStatistics()
Returns the query statistics.
|
LogsTable |
getTable()
The primary
LogsTable returned as query result. |
com.azure.core.util.BinaryData |
getVisualization()
Returns the visualization information for the logs query.
|
public LogsQueryResult(List<LogsTable> logsTables, com.azure.core.util.BinaryData statistics, com.azure.core.util.BinaryData visualization, com.azure.core.experimental.models.HttpResponseError error)
LogsQueryResult
with a list of LogsTable
.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 List<LogsTable> getAllTables()
LogsTable
returned as query result.LogsTable
returned as query result.public LogsTable getTable()
LogsTable
returned as query result.LogsTable
returned as query result.IllegalStateException
- If this method is called when the query result contains more than one table.public com.azure.core.util.BinaryData getStatistics()
public com.azure.core.experimental.models.HttpResponseError getError()
public com.azure.core.util.BinaryData getVisualization()
Copyright © 2021 Microsoft Corporation. All rights reserved.