Provides a mapping between given table or UDT and properties of type T
,
useful for creating objects of type T
.
Provides a mapping between given table or UDT and properties of type T
,
useful for creating objects of type T
. Throws IllegalArgumentException if
selectedColumns
does not provide some columns needed to instantiate object of type T
Provides a mapping between given table or UDT and properties of type T
,
useful for reading property values of type T
and writing them to Cassandra.
Provides a mapping between given table or UDT and properties of type T
,
useful for reading property values of type T
and writing them to Cassandra.
Throws IllegalArgumentException if selectedColumns
contains some columns that
don't have matching getters.
Provides a definition of the table that class T
could be saved to.
(columnMapper: StringAdd).self
(columnMapper: StringFormat).self
(columnMapper: ArrowAssoc[ColumnMapper[T]]).x
(Since version 2.10.0) Use leftOfArrow
instead
(columnMapper: Ensuring[ColumnMapper[T]]).x
(Since version 2.10.0) Use resultOfEnsuring
instead
Produces ColumnMapForReading or ColumnMapForWriting objects that map class
T
properties to columns in a given Cassandra table.You can associate a custom
ColumnMapper
object with any of your classes by providing an implicitColumnMapper
in the companion object of the mapped class: