Cassandra and Hector = MultiGetSliceQuery, with Column-Values ​​of different types?

Hello,

I do not understand how to request cassandra with a hector, but the return values ​​of the columns are not of the same type, but of many of them:

I put???? where I do not know what to do:

MultigetSliceQuery<String, String, ??????> multigetSliceQuery = HFactory.createMultigetSliceQuery(keyspace, stringSerializer, stringSerializer, ???????);

For example, if all my column values ​​are of type String, I would put String. But I have different ones like String, Integer and byte [] on the same line. Therefore, I must go through more than one Serializer.

How to solve this?

Thank.

(can one pls create a hector as a tag? I'm not allowed to do this)

+3
source share

All Articles