Package com.azure.monitor.query.models
Class LogsTableRow
java.lang.Object
com.azure.monitor.query.models.LogsTableRow
Represents a row in a
LogsTable
of a logs query.-
Constructor Summary
ConstructorDescriptionLogsTableRow
(int rowIndex, List<LogsTableCell> tableRow) Creates a row in aLogsTable
of a logs query. -
Method Summary
Modifier and TypeMethodDescriptiongetColumnValue
(String columnName) Returns the value associated with the given column name.getRow()
Returns the collection of values in this row.int
Returns the row index of this row.
-
Constructor Details
-
LogsTableRow
Creates a row in aLogsTable
of a logs query.- Parameters:
rowIndex
- The row index.tableRow
- The collection of values in the row.
-
-
Method Details
-
getRowIndex
public int getRowIndex()Returns the row index of this row.- Returns:
- the row index of this row.
-
getRow
Returns the collection of values in this row.- Returns:
- the collection of values in this row.
-
getColumnValue
Returns the value associated with the given column name. If the column name is not foundOptional.isPresent()
evaluates tofalse
.- Parameters:
columnName
- the column name for which the value is returned.- Returns:
- The value associated with the given column name.
-