hi, everyone, i am trying to use Hector api with MultigetSliceQuery to retrieve multirows. i wrote the code like this.
private StringSerializer stringSerializer = StringSerializer.get();
MultigetSliceQuery<String, String, String> multigetSliceQuery = HFactory
.createMultigetSliceQuery("Hotel", stringSerializer,
stringSerializer, stringSerializer);
but the compiler said : The method createMultigetSliceQuery(Keyspace, Serializer<K>, Serializer<N>, Serializer<V>) in the type HFactory is not applicable for the arguments (String, StringSerializer, StringSerializer, StringSerializer)
it happens also by other Factory method. such as:
Factory .createRangeSlicesQuery(ksOperator, StringSerializer.get(), StringSerializer.get(), StringSerializer.get());
where are the problem? i don't understand that... thank you for help..
