The user should be able to let the driver know what type of marshaller to use when storing data on the thrift side of the driver. This should override what the schema says.
It would be great if this could work similar to the Pycassa driver. For instance, if the schema for the CF has a default validator of UTF8Type() and you want to make a single column (composite in this case) a boolean value, the driver should have the ability to force Cassandra to ignore it's default column family validator:
from pycassa.types import BooleanType
column_family.column_validators[('foo', 'bar')] = BooleanType()
columns[('foo','bar')] = True
This will be done in the following manner:
columnFamily.setColumnValidator(['foo','bar'], 'CompositeType(BytesType, LongType)';
Added with 1191611