Class LogsTableRow

java.lang.Object
com.azure.monitor.query.models.LogsTableRow

public final class LogsTableRow extends Object
Represents a row in a LogsTable of a logs query.
  • Constructor Details

    • LogsTableRow

      public LogsTableRow(int rowIndex, List<LogsTableCell> tableRow)
      Creates a row in a LogsTable 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

      public List<LogsTableCell> getRow()
      Returns the collection of values in this row.
      Returns:
      the collection of values in this row.
    • getColumnValue

      public Optional<LogsTableCell> getColumnValue(String columnName)
      Returns the value associated with the given column name. If the column name is not found Optional.isPresent() evaluates to false.
      Parameters:
      columnName - the column name for which the value is returned.
      Returns:
      The value associated with the given column name.