I tried the following code:-
*************************
Integer[] keys={43};
Integer[] columns={42};
MultigetSliceQuery<Integer, Integer,byte[]> query =
HFactory.createMultigetSliceQuery("trialKeyspace", integerSerializer,
integerSerializer, BYTES_ARRAY_SERIALIZER);
query.setColumnFamily("ProfileData").setKeys(keys).setColumnNames(columns);
QueryResult<Rows<Integer, Integer, byte[]>> queryResult = query.execute();
*****************************
However, If I change keyserializer & 'keys' to be of byte[] type, then
query is successful.
A thing to note is that, I am able to retrieve the same set of columns
through SliceQuery but not through MultigetsliceQuery.
MultigetSlicequery also works but if I use byte serializer as the key
serializer, but fails with integerSerializer passed for serializing
the key.
I inserted the columns with integer serializers only!
Thanks
On Tue, Mar 1, 2011 at 10:16 PM, Nate McCall <na...@datastax.com> wrote:
Thanks for your efforts in helping resolve this.
Regards.
Asil.
Thanks
Asil