LogsTableCell Class

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

public final class LogsTableCell

Represents a single value of a specific row and column in LogsTable.

Constructor Summary

Constructor Description
LogsTableCell(String columnName, LogsColumnType columnType, int columnIndex, int rowIndex, Object rowValue)

Creates an instance of LogsTableCell.

Method Summary

Modifier and Type Method and Description
int getColumnIndex()

Returns the column index of the column this cell is associated with.

String getColumnName()

Returns the name of the column this cell is associated with.

LogsColumnType getColumnType()

Returns the data type of the value this cell contains.

int getRowIndex()

Returns the row index of the row this cell is associated with.

Boolean getValueAsBoolean()

Returns the value as a boolean.

OffsetDateTime getValueAsDateTime()

Returns the value as an OffsetDateTime.

Double getValueAsDouble()

Returns the value as a double.

BinaryData getValueAsDynamic()

Returns the value as a dynamic type which can be deserialized into a model type from BinaryData.

Integer getValueAsInteger()

Returns the value as an integer.

Long getValueAsLong()

Returns the value as a long.

String getValueAsString()

Returns the value as a string.

Methods inherited from java.lang.Object

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

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.

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.

getColumnType

public LogsColumnType getColumnType()

Returns the data type of the value this cell contains.

Returns:

the data type of the value this cell contains.

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.

getValueAsBoolean

public Boolean getValueAsBoolean()

Returns the value as a boolean.

Returns:

the value as a boolean.

getValueAsDateTime

public OffsetDateTime getValueAsDateTime()

Returns the value as an OffsetDateTime.

Returns:

the value as an OffsetDateTime.

getValueAsDouble

public Double getValueAsDouble()

Returns the value as a double.

Returns:

the value as a double.

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.

getValueAsInteger

public Integer getValueAsInteger()

Returns the value as an integer.

Returns:

the value as an integer.

getValueAsLong

public Long getValueAsLong()

Returns the value as a long.

Returns:

the value as a long.

getValueAsString

public String getValueAsString()

Returns the value as a string.

Returns:

the value as a string.

Applies to