Fetching contributors…
Cannot retrieve contributors at this time
17 lines (15 sloc) 366 Bytes
using FluentCassandra.Types;
namespace FluentCassandra
{
public class FluentCounterColumn : FluentColumn
{
public FluentCounterColumn(CassandraColumnSchema schema = null)
: base(schema)
{
schema = GetSchema();
schema.ValueType = CassandraType.CounterColumnType;
// ensure value type is set to column counter type
SetSchema(schema);
}
}
}