abstract class ScalTableRow extends TableRow
Abstract base class for table result rows which include the column type information in addition to the column values.
Encapsulates a row of an intermediate result. Contains the accessor functions for the included data values.
- Alphabetic
- By Inheritance
- ScalTableRow
- TableRow
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ScalTableRow()
Abstract Value Members
- abstract def getScalExprOpt(cname: String): Option[ScalColValue]
Retrieve contents of a column as a scalar value expression, if any
Retrieve contents of a column as a scalar value expression, if any
- cname
Column name
- returns
Contents of the column as an Option[ScalColValue] object, which is None when cname is not present in the schema
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def getBlobOpt(cname: String): Option[Blob]
Retrieve contents of a column as a Blob
Retrieve contents of a column as a Blob
Throws IllegalArgumentException if the column does not exist, or if the contents cannot be converted to Blob.
- cname
Column name (must be present in the the schema)
- returns
Contents of the column as an Option[Blob] object (non-null value returned as Some[Blob], null as None)
- Definition Classes
- ScalTableRow → TableRow
- def getBooleanOpt(cname: String): Option[Boolean]
Retrieve contents of a column as a Boolean
Retrieve contents of a column as a Boolean
Throws IllegalArgumentException if the column does not exist, or if the contents cannot be converted to Boolean.
- cname
Column name (must be present in the the schema)
- returns
Contents of the column as an Option[Boolean] object (non-null value returned as Some[Boolean], null as None)
- Definition Classes
- ScalTableRow → TableRow
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def getClobOpt(cname: String): Option[Clob]
Retrieve contents of a column as a Clob
Retrieve contents of a column as a Clob
Throws IllegalArgumentException if the column does not exist, or if the contents cannot be converted to Clob.
- cname
Column name (must be present in the the schema)
- returns
Contents of the column as an Option[Clob] object (non-null value returned as Some[Clob], null as None)
- Definition Classes
- ScalTableRow → TableRow
- def getDateOpt(cname: String): Option[Date]
Retrieve contents of a column as a Date
Retrieve contents of a column as a Date
Throws IllegalArgumentException if the column does not exist, or if the contents cannot be converted to Date.
- cname
Column name (must be present in the the schema)
- returns
Contents of the column as an Option[Date] object (non-null value returned as Some[Date], null as None)
- Definition Classes
- ScalTableRow → TableRow
- def getDoubleOpt(cname: String): Option[Double]
Retrieve contents of a column as a Double
Retrieve contents of a column as a Double
Throws IllegalArgumentException if the column does not exist, or if the contents cannot be converted to Double.
- cname
Column name (must be present in the the schema)
- returns
Contents of the column as an Option[Double] object (non-null value returned as Some[Double], null as None)
- Definition Classes
- ScalTableRow → TableRow
- def getFloatOpt(cname: String): Option[Float]
Retrieve contents of a column as a Float
Retrieve contents of a column as a Float
Throws IllegalArgumentException if the column does not exist, or if the contents cannot be converted to Float.
- cname
Column name (must be present in the the schema)
- returns
Contents of the column as an Option[Float] object (non-null value returned as Some[Float], null as None)
- Definition Classes
- ScalTableRow → TableRow
- def getIntOpt(cname: String): Option[Int]
Retrieve contents of a column as an Int
Retrieve contents of a column as an Int
Throws IllegalArgumentException if the column does not exist, or if the contents cannot be converted to Int.
- cname
Column name (must be present in the the schema)
- returns
Contents of the column as an Option[Int] object (non-null value returned as Some[Int], null as None)
- Definition Classes
- ScalTableRow → TableRow
- def getLongOpt(cname: String): Option[Long]
Retrieve contents of a column as a Long
Retrieve contents of a column as a Long
Throws IllegalArgumentException if the column does not exist, or if the contents cannot be converted to Long.
- cname
Column name (must be present in the the schema)
- returns
Contents of the column as an Option[Long] object (non-null value returned as Some[Long], null as None)
- Definition Classes
- ScalTableRow → TableRow
- def getScalExpr(colRef: ColRef): ScalColValue
Retrieve contents of a column as a scalar value expression
Retrieve contents of a column as a scalar value expression
Throws IllegalArgumentException if the column does not exist
- colRef
Column reference (must be present in the the schema)
- returns
Contents of the column as a ScalColValue object
- def getScalExpr(cname: String): ScalColValue
Retrieve contents of a column as a scalar value expression
Retrieve contents of a column as a scalar value expression
Throws IllegalArgumentException if the column does not exist
- cname
Column name (must be present in the the schema)
- returns
Contents of the column as a ScalColValue object
- def getScalExpr(col: Column): ScalColValue
Retrieve contents of a column as a scalar value expression
Retrieve contents of a column as a scalar value expression
Throws IllegalArgumentException if the column does not exist
- col
Column object (must be present in the the schema)
- returns
Contents of the column as a ScalColValue object
- Definition Classes
- TableRow
- def getScalExpr(cname: String, sqlType: SqlType): ScalColValue
Retrieve contents of a column as a scalar value expression
Retrieve contents of a column as a scalar value expression
Throws IllegalArgumentException if the column does not exist
- cname
Column name (must be present in the the schema)
- sqlType
Specifies the SQL type of the scalar value expression
- returns
Contents of the column as a ScalColValue object
- Definition Classes
- TableRow
- def getScalExprMap(cols: List[Column]): Map[String, ScalColValue]
Retrieve contents of multiple columns as scalar value expressions
Retrieve contents of multiple columns as scalar value expressions
Throws IllegalArgumentException if any of the columns does not exist
- cols
List of Column objects (each column must be present in the the schema)
- returns
Mapping of column names to the contents of each column encoded as a ScalColValue object
- Definition Classes
- TableRow
- def getScalExprOpt(colRef: ColRef): Option[ScalColValue]
Retrieve contents of a column as a scalar value expression, if any
Retrieve contents of a column as a scalar value expression, if any
- colRef
Column reference
- returns
Contents of the column as an Option[ScalColValue] object, which is None when colRef is not present in the schema
- def getScalValueOpt(cname: String, sqlType: SqlType): Option[ScalValueBase]
Retrieve contents of a column as a scalar value expression
Retrieve contents of a column as a scalar value expression
Throws IllegalArgumentException if the column does not exist
- cname
Column name (must be present in the the schema)
- sqlType
Specifies the SQL type of the scalar value expression
- returns
Contents of the column as an Option[ScalValueBase] object (non-null value returned as Some[ScalValueBase], null as None)
- Definition Classes
- TableRow
- def getShortOpt(cname: String): Option[Short]
Retrieve contents of a column as a Short
Retrieve contents of a column as a Short
Throws IllegalArgumentException if the column does not exist, or if the contents cannot be converted to Short.
- cname
Column name (must be present in the the schema)
- returns
Contents of the column as an Option[Short] object (non-null value returned as Some[Short], null as None)
- Definition Classes
- ScalTableRow → TableRow
- def getStringOpt(cname: String): Option[String]
Retrieve contents of a column as a String
Retrieve contents of a column as a String
Throws IllegalArgumentException if the column does not exist
- cname
Column name (must be present in the the schema)
- returns
Contents of the column as an Option[String] object (non-null value returned as Some[String], null as None)
- Definition Classes
- ScalTableRow → TableRow
- def getTimeOpt(cname: String): Option[Time]
Retrieve contents of a column as a Time
Retrieve contents of a column as a Time
Throws IllegalArgumentException if the column does not exist, or if the contents cannot be converted to Time.
- cname
Column name (must be present in the the schema)
- returns
Contents of the column as an Option[Time] object (non-null value returned as Some[Time], null as None)
- Definition Classes
- ScalTableRow → TableRow
- def getTimestampOpt(cname: String): Option[Timestamp]
Retrieve contents of a column as a Timestamp
Retrieve contents of a column as a Timestamp
Throws IllegalArgumentException if the column does not exist, or if the contents cannot be converted to Timestamp.
- cname
Column name (must be present in the the schema)
- returns
Contents of the column as an Option[Timestamp] object (non-null value returned as Some[Timestamp], null as None)
- Definition Classes
- ScalTableRow → TableRow
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isNull(col: ColRef): Boolean
Is the column null in this row?
Is the column null in this row?
Throws IllegalArgumentException if the column does not exist
- col
Column reference (must be present in the the schema)
- returns
true if the column is null in this row, false otherwise
- Definition Classes
- TableRow
- def isNull(col: Column): Boolean
Is the column null in this row?
Is the column null in this row?
Throws IllegalArgumentException if the column does not exist
- col
Column object (must be present in the the schema)
- returns
true if the column is null in this row, false otherwise
- Definition Classes
- TableRow
- def isNull(cname: String): Boolean
Is the column null in this row?
Is the column null in this row?
Throws IllegalArgumentException if the column does not exist
- cname
Column name (must be present in the the schema)
- returns
true if the column is null in this row, false otherwise
- Definition Classes
- TableRow
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])