LogsTableCell Class
- java.
lang. Object - com.
azure. monitor. query. models. LogsTableCell
- com.
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. |
Logs |
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. |
Offset |
getValueAsDateTime()
Returns the value as an OffsetDateTime. |
Double |
getValueAsDouble()
Returns the value as a double. |
Binary |
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:
Method Details
getColumnIndex
public int getColumnIndex()
Returns the column index of the column this cell is associated with.
Returns:
getColumnName
public String getColumnName()
Returns the name of the column this cell is associated with.
Returns:
getColumnType
public LogsColumnType getColumnType()
Returns the data type of the value this cell contains.
Returns:
getRowIndex
public int getRowIndex()
Returns the row index of the row this cell is associated with.
Returns:
getValueAsBoolean
public Boolean getValueAsBoolean()
Returns the value as a boolean.
Returns:
getValueAsDateTime
public OffsetDateTime getValueAsDateTime()
Returns the value as an OffsetDateTime.
Returns:
getValueAsDouble
public Double getValueAsDouble()
Returns the value as a double.
Returns:
getValueAsDynamic
public BinaryData getValueAsDynamic()
Returns the value as a dynamic type which can be deserialized into a model type from BinaryData.
Returns:
getValueAsInteger
public Integer getValueAsInteger()
Returns the value as an integer.
Returns:
getValueAsLong
public Long getValueAsLong()
Returns the value as a long.
Returns:
getValueAsString
public String getValueAsString()
Returns the value as a string.
Returns:
Applies to
Azure SDK for Java