<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>DataStax Support Forums &#187; Topic: Generic class not applicable?</title>
		<link>http://www.datastax.com/support-forums/topic/generic-class-not-applicable</link>
		<description>Software, Support, and Training for Apache Cassandra</description>
		<language>en-US</language>
		<pubDate>Fri, 24 May 2013 21:04:46 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.3</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.datastax.com/support-forums/search.php</link>
		</textInput>
		<atom:link href="http://www.datastax.com/support-forums/rss/topic/generic-class-not-applicable" rel="self" type="application/rss+xml" />

		<item>
			<title>ws832863 on "Generic class not applicable?"</title>
			<link>http://www.datastax.com/support-forums/topic/generic-class-not-applicable#post-9329</link>
			<pubDate>Tue, 05 Mar 2013 20:00:11 +0000</pubDate>
			<dc:creator>ws832863</dc:creator>
			<guid isPermaLink="false">9329@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;hi, everyone, i am trying to use Hector api with MultigetSliceQuery to retrieve multirows. i wrote the code like this.&#60;/p&#62;
&#60;p&#62;       private StringSerializer stringSerializer = StringSerializer.get();&#60;/p&#62;
&#60;p&#62;	MultigetSliceQuery&#38;lt;String, String, String&#38;gt; multigetSliceQuery = HFactory&#60;br /&#62;
				.createMultigetSliceQuery(&#34;Hotel&#34;, stringSerializer,&#60;br /&#62;
						stringSerializer, stringSerializer);&#60;/p&#62;
&#60;p&#62;but the compiler said : The method createMultigetSliceQuery(Keyspace, Serializer&#38;lt;K&#38;gt;, Serializer&#38;lt;N&#38;gt;, Serializer&#38;lt;V&#38;gt;) in the type HFactory is not applicable for the arguments (String, StringSerializer, StringSerializer, StringSerializer)&#60;/p&#62;
&#60;p&#62; it happens also by other Factory method. such as:&#60;br /&#62;
Factory .createRangeSlicesQuery(ksOperator, StringSerializer.get(), StringSerializer.get(), StringSerializer.get());&#60;/p&#62;
&#60;p&#62;where are the problem?  i don't understand that... thank you for help..
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
