Class LogsTableCell

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

public final class LogsTableCell extends Object
Represents a single value of a specific row and column in LogsTable.
  • Constructor Details

    • LogsTableCell

      public LogsTableCell(String columnName, LogsColumnType columnType, int columnIndex, int rowIndex, Object rowValue)
      Creates an instance of LogsTableCell.
      Parameters:
      columnName - The name of the column this cell is associated with.
      columnType - The data type of the value this cell contains.
      columnIndex - The column index of the column this cell is associated with.
      rowIndex - The row index of the row this cell is associated with.
      rowValue - The value of the cell.
  • Method Details

    • getColumnType

      public LogsColumnType getColumnType()
      Returns the data type of the value this cell contains.
      Returns:
      the data type of the value this cell contains.
    • getColumnName

      public String getColumnName()
      Returns the name of the column this cell is associated with.
      Returns:
      the name of the column this cell is associated with.
    • getColumnIndex

      public int getColumnIndex()
      Returns the column index of the column this cell is associated with.
      Returns:
      the column index of the column this cell is associated with.
    • getRowIndex

      public int getRowIndex()
      Returns the row index of the row this cell is associated with.
      Returns:
      the row index of the row this cell is associated with.
    • getValueAsString

      public String getValueAsString()
      Returns the value as a string.
      Returns:
      the value as a string.
    • getValueAsBoolean

      public Boolean getValueAsBoolean()
      Returns the value as a boolean.
      Returns:
      the value as a boolean.
    • getValueAsInteger

      public Integer getValueAsInteger()
      Returns the value as an integer.
      Returns:
      the value as an integer.
    • getValueAsDouble

      public Double getValueAsDouble()
      Returns the value as a double.
      Returns:
      the value as a double.
    • getValueAsLong

      public Long getValueAsLong()
      Returns the value as a long.
      Returns:
      the value as a long.
    • getValueAsDynamic

      public BinaryData getValueAsDynamic()
      Returns the value as a dynamic type which can be deserialized into a model type from BinaryData.
      Returns:
      the value as a dynamic type which can be deserialized into a model type from BinaryData.
    • getValueAsDateTime

      public OffsetDateTime getValueAsDateTime()
      Returns the value as an OffsetDateTime.
      Returns:
      the value as an OffsetDateTime.