Package com.azure.monitor.query.models
Class LogsTableCell
java.lang.Object
com.azure.monitor.query.models.LogsTableCell
Represents a single value of a specific row and column in
LogsTable
.-
Constructor Summary
ConstructorDescriptionLogsTableCell
(String columnName, LogsColumnType columnType, int columnIndex, int rowIndex, Object rowValue) Creates an instance ofLogsTableCell
. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the column index of the column this cell is associated with.Returns the name of the column this cell is associated with.Returns the data type of the value this cell contains.int
Returns the row index of the row this cell is associated with.Returns the value as a boolean.Returns the value as anOffsetDateTime
.Returns the value as a double.Returns the value as a dynamic type which can be deserialized into a model type fromBinaryData
.Returns the value as an integer.Returns the value as a long.Returns the value as a string.
-
Constructor Details
-
LogsTableCell
public LogsTableCell(String columnName, LogsColumnType columnType, int columnIndex, int rowIndex, Object rowValue) Creates an instance ofLogsTableCell
.- 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
Returns the data type of the value this cell contains.- Returns:
- the data type of the value this cell contains.
-
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
Returns the value as a string.- Returns:
- the value as a string.
-
getValueAsBoolean
Returns the value as a boolean.- Returns:
- the value as a boolean.
-
getValueAsInteger
Returns the value as an integer.- Returns:
- the value as an integer.
-
getValueAsDouble
Returns the value as a double.- Returns:
- the value as a double.
-
getValueAsLong
Returns the value as a long.- Returns:
- the value as a long.
-
getValueAsDynamic
Returns the value as a dynamic type which can be deserialized into a model type fromBinaryData
.- Returns:
- the value as a dynamic type which can be deserialized into a model type from
BinaryData
.
-
getValueAsDateTime
Returns the value as anOffsetDateTime
.- Returns:
- the value as an
OffsetDateTime
.
-