Cassandra custom data type

644 Views Asked by At

is it possiable to write and read custom data type in cassandra 2.1. I've found this article in the web. But cassandras' 2.1 org.apache.cassandra.db.marshal.AbstractType.class has different interface. I know that is possiable to CREATE TYPE using query inside, according to this article. But I have complex class

public class Record implements Serializable {
private static final long serialVersionUID = 7508863944692581230L;

private final UUID id;
private final Map<String, String> values;
private final Set<String> set;

` Could anyone help me to solve this problem?

0

There are 0 best solutions below