ColumnMap Methods |
The ColumnMap type exposes the following members.
Name | Description | |
---|---|---|
AsCounter |
Tells the mapper that this is a counter column
| |
AsFrozen |
Tells the mapper that the column type is frozen.
Only valid for collections, tuples, and user-defined types. For example: frozen<address>
| |
AsStatic |
Tells the mapper that this is a static column
| |
Ignore |
Tells the mapper to ignore this property/field when mapping.
| |
WithDbType(Type) |
Tells the mapper to convert the data in the property or field to the Type specified when doing an INSERT or UPDATE (i.e. the
column type in Cassandra). (NOTE: This does NOT affect the Type when fetching/SELECTing data from the database.)
| |
WithDbTypeT |
Tells the mapper to convert the data in the property or field to Type T when doing an INSERT or UPDATE (i.e. the
column type in Cassandra). (NOTE: This does NOT affect the Type when fetching/SELECTing data from the database.)
| |
WithFrozenKey |
Tells the mapper that the key of the column type is frozen.
Only valid for maps and sets, for example: map<frozen<tuple<text, text>>, uuid> .
| |
WithFrozenValue |
Tells the mapper that the value of the column type is frozen.
Only valid for maps and lists, for example: map<uuid, frozen<tuple<text, text>>> .
| |
WithName |
Tells the mapper to use the column name specified when mapping the property/field.
| |
WithSecondaryIndex |
Tells the mapper that this column is defined also as a secondary index
|