ColumnMap Class |
Namespace: Dse.Mapping
public class ColumnMap : IColumnDefinition
The ColumnMap type exposes the following members.
Name | Description | |
---|---|---|
ColumnMap |
Creates a new ColumnMap for the property/field specified by the MemberInfo.
|
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
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Ignore |
Tells the mapper to ignore this property/field when mapping.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
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
|