Interface ITypeDefinition
A definition for how to map a POCO.
Assembly: Cassandra.dll
Syntax
public interface ITypeDefinition
Properties
AllowFiltering
Determines that all queries generated for this table can be made allowing server side filtering
Declaration
bool AllowFiltering { get; }
Property Value
CaseSensitive
Determines if the queries generated using this definition should be case-sensitive
Declaration
bool CaseSensitive { get; }
Property Value
ClusteringKeys
Gets the clustering key columns of the table.
Declaration
Tuple<string, SortOrder>[] ClusteringKeys { get; }
Property Value
CompactStorage
Determines if the table is declared with COMPACT STORAGE
Declaration
bool CompactStorage { get; }
Property Value
ExplicitColumns
Whether or not this POCO should only have columns explicitly defined mapped.
Declaration
bool ExplicitColumns { get; }
Property Value
KeyspaceName
The name of the keyspace where the table is defined.
When the keyspace name is not null, the table name for the query generated will be fully qualified (ie: keyspace.tablename)
Declaration
string KeyspaceName { get; }
Property Value
PartitionKeys
Gets the partition key columns of the table.
Declaration
string[] PartitionKeys { get; }
Property Value
Type |
Description |
string[] |
|
PocoType
Declaration
Property Value
TableName
The name of the table to map the POCO to.
Declaration
string TableName { get; }
Property Value
Methods
GetColumnDefinition(FieldInfo)
Gets a column definition for the given field on the POCO.
Declaration
IColumnDefinition GetColumnDefinition(FieldInfo field)
Parameters
Type |
Name |
Description |
FieldInfo |
field |
|
Returns
GetColumnDefinition(PropertyInfo)
Gets a column definition for the given property on the POCO.
Declaration
IColumnDefinition GetColumnDefinition(PropertyInfo property)
Parameters
Type |
Name |
Description |
PropertyInfo |
property |
|
Returns