cassandra - SSTableSimpleUnsortedWriter and column family comparator -


am trying use sstableloader, cf created cql this:

create table test (     text,     b text,     c text,     d int,     e set<text>,     f text,     primary key ((a, b) c, d)) 

how should define column family comparator in sstablesimpleunsortedwriter ? or more specific how work when column defined set ?

sstablesimpleunsortedwriter(file directory,                                    ipartitioner partitioner,                                    string keyspace,                                    string columnfamily,                                    abstracttype<?> comparator,                                    abstracttype<?> subcomparator,                                    int buffersizeinmb,                                    compressionparameters compressparameters) 

you have @ how row stored internally storage engine -- inserting sample data, listing cli, should help, reading http://www.datastax.com/dev/blog/thrift-to-cql3.

the "right" solution create cql-aware writer.


Comments

Popular posts from this blog

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

java - Digest auth with Spring Security using javaconfig -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -