Interface IColumnDefinition
A definition for how a property/field maps to a POCO.
Namespace: Cassandra.Mapping
Assembly: Cassandra.dll
Syntax
public interface IColumnDefinition
Properties
ColumnName
The name of the column in the database that this property/field maps to.
Declaration
string ColumnName { get; }
Property Value
Type | Description |
---|---|
string |
ColumnType
The data type of the column in C* for inserting/updating data.
Declaration
Type ColumnType { get; }
Property Value
Type | Description |
---|---|
Type |
HasFrozenKey
Determines if the key of the column type is frozen. Only valid for maps and sets, for example: map<frozen<tuple<text, text>>, uuid> .
Declaration
bool HasFrozenKey { get; }
Property Value
Type | Description |
---|---|
bool |
HasFrozenValue
Determines if the value of the column type is frozen. Only valid for maps and lists, for example: map<uuid, frozen<tuple<text, text>>> .
Declaration
bool HasFrozenValue { get; }
Property Value
Type | Description |
---|---|
bool |
Ignore
Whether the property/field should be ignored when mapping.
Declaration
bool Ignore { get; }
Property Value
Type | Description |
---|---|
bool |
IsCounter
Determines if this column is a counter column
Declaration
bool IsCounter { get; }
Property Value
Type | Description |
---|---|
bool |
IsExplicitlyDefined
Whether or not this column has been explicitly defined (for use when TypeDefinition.ExplicitColumns is true).
Declaration
bool IsExplicitlyDefined { get; }
Property Value
Type | Description |
---|---|
bool |
IsFrozen
Determines if the column is frozen. Only valid for collections, tuples, and user-defined types. For example: frozen<address>
Declaration
bool IsFrozen { get; }
Property Value
Type | Description |
---|---|
bool |
IsStatic
Determines if this column is a static column
Declaration
bool IsStatic { get; }
Property Value
Type | Description |
---|---|
bool |
MemberInfo
The MemberInfo for the property or field.
Declaration
MemberInfo MemberInfo { get; }
Property Value
Type | Description |
---|---|
MemberInfo |
MemberInfoType
The Type of the property or field (i.e. FieldInfo.FieldType or PropertyInfo.PropertyType).
Declaration
Type MemberInfoType { get; }
Property Value
Type | Description |
---|---|
Type |
SecondaryIndex
Determines if there is a secondary index defined for this column
Declaration
bool SecondaryIndex { get; }
Property Value
Type | Description |
---|---|
bool |