Decoder

ldbc.dsl.codec.Decoder
See theDecoder companion object
class Decoder[A](f: (resultSet: ResultSet, prefix: Option[String]) => A)

Class to get the DataType that matches the Scala type information from the ResultSet.

Type parameters

A

Scala types that match SQL DataType

Attributes

Companion
object
Source
Decoder.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def decode(resultSet: ResultSet, prefix: Option[String]): A

Method to retrieve data from a ResultSet

Method to retrieve data from a ResultSet

Value parameters

prefix

Prefix to be added to the column name when retrieving data from the ResultSet.

resultSet

A table of data representing a database result set, which is usually generated by executing a statement that queries the database.

Attributes

Source
Decoder.scala