class
DefaultColumnMapper[T] extends ColumnMapper[T]
Instance Constructors
-
new
DefaultColumnMapper(columnNameOverride: Map[String, String] = ...)(implicit arg0: ClassTag[T], arg1: scala.reflect.api.JavaUniverse.TypeTag[T])
Value Members
-
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
def
+(other: String): String
-
-
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
classTag: ClassTag[T]
-
def
clone(): AnyRef
-
def
columnMap(tableDef: TableDef, aliasToColumnName: Map[String, String]): ColumnMap
-
def
constructorParamToColumnName(paramName: String, tableDef: TableDef, aliasToColumnName: Map[String, String]): String
-
-
-
-
-
-
-
def
finalize(): Unit
-
def
formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
-
def
getterToColumnName(getterName: String, tableDef: TableDef, aliasToColumnName: Map[String, String]): String
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
-
def
newTable(keyspaceName: String, tableName: String): TableDef
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
resolve(name: String, tableDef: TableDef, aliasToColumnName: Map[String, String]): String
-
def
setterToColumnName(setterName: String, tableDef: TableDef, aliasToColumnName: Map[String, String]): String
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
Shadowed Implicit Value Members
-
val
self: Any
-
val
self: Any
A ColumnMapper that assumes camel case naming convention for property accessors and constructor names and underscore naming convention for column names.
Example mapping:
Additionally, it is possible to name columns exactly the same as property names (case-sensitive):