Hi
How can we query columns with different datatypes in Hector? The result will contain columns with datatypes datetime,String, long and UUID.
Currently i'm using IndexedSlicesQuery,
IndexedSlicesQuery<UUID,String,ByteBuffer> indexedSlicesQuery= HFactory.createIndexedSlicesQuery(keyspace, uuidSerializer, StringSerializer.get(), ByteBufferSerializer.get());
setting the Gte parameter like
indexedSlicesQuery.addGteExpression(Key(),ByteBuffer.wrap(val.getBytes())))
(key,val both are string fields.)
I'm getting the following exception while executing query.
indexedSlicesQuery.execute();
me.prettyprint.hector.api.exceptions.HInvalidRequestException: InvalidRequestException(why:[757365725f6964]=[31303030303030303030303030303030303231] failed value validation (Expected 8 or 0 byte long (19)))
Whats the problem here? Is there any better way to get the columns with different datatypes using hector?
