Scalar

interface Scalar

Represents a scalar view over an ExprValue.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open fun booleanValue(): Boolean?

Returns this value as a Boolean or null if not applicable. This operation is only applicable for ExprValueType.BOOL

Link copied to clipboard
open fun bytesValue(): ByteArray?

Returns this value as a ByteArray, or null if not applicable. This operation is only applicable for ExprValueType.isLob

Link copied to clipboard
open fun dateValue(): LocalDate?

Returns this value as a LocalDate or null if not applicable. This operation is only applicable for ExprValueType.DATE

Link copied to clipboard
open fun numberValue(): Number?

Returns this value as a Long, Double, BigDecimal, or null if not applicable. This operation is only applicable for ExprValueType.isNumber

Link copied to clipboard
open fun stringValue(): String?

Returns this value as a String or null if not applicable. This operation is only applicable for ExprValueType.isText

Link copied to clipboard
open fun timestampValue(): Timestamp?

Returns this value as a Timestamp or null if not applicable. This operation is only applicable for ExprValueType.TIMESTAMP

Link copied to clipboard
open fun timeValue(): Time?

Returns this value as a Time or null if not applicable. This operation is only applicable for ExprValueType.TIME.