<?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: Querying different datatypes(UUID,DateTime,String,Long) in Hector</title>
		<link>http://www.datastax.com/support-forums/topic/querying-different-datatypesuuiddatetimestringlong-in-hector</link>
		<description>Software, Support, and Training for Apache Cassandra</description>
		<language>en-US</language>
		<pubDate>Mon, 20 May 2013 05:12:25 +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/querying-different-datatypesuuiddatetimestringlong-in-hector" rel="self" type="application/rss+xml" />

		<item>
			<title>BharathSubash on "Querying different datatypes(UUID,DateTime,String,Long) in Hector"</title>
			<link>http://www.datastax.com/support-forums/topic/querying-different-datatypesuuiddatetimestringlong-in-hector#post-8599</link>
			<pubDate>Wed, 23 Jan 2013 09:54:45 +0000</pubDate>
			<dc:creator>BharathSubash</dc:creator>
			<guid isPermaLink="false">8599@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;These are the values of Key and Value. &#60;/p&#62;
&#60;p&#62;key = &#34;user_id&#34;;&#60;br /&#62;
Val = &#34;1000000000000000021&#34;;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>BharathSubash on "Querying different datatypes(UUID,DateTime,String,Long) in Hector"</title>
			<link>http://www.datastax.com/support-forums/topic/querying-different-datatypesuuiddatetimestringlong-in-hector#post-8598</link>
			<pubDate>Wed, 23 Jan 2013 09:53:26 +0000</pubDate>
			<dc:creator>BharathSubash</dc:creator>
			<guid isPermaLink="false">8598@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Hi &#60;/p&#62;
&#60;p&#62;How can we query columns with different datatypes in Hector? The result will contain columns with datatypes datetime,String, long and UUID. &#60;/p&#62;
&#60;p&#62;Currently i'm using IndexedSlicesQuery, &#60;/p&#62;
&#60;p&#62;IndexedSlicesQuery&#38;lt;UUID,String,ByteBuffer&#38;gt; indexedSlicesQuery= HFactory.createIndexedSlicesQuery(keyspace, uuidSerializer, StringSerializer.get(), ByteBufferSerializer.get());&#60;/p&#62;
&#60;p&#62;setting the Gte parameter like&#60;/p&#62;
&#60;p&#62;indexedSlicesQuery.addGteExpression(Key(),ByteBuffer.wrap(val.getBytes())))&#60;/p&#62;
&#60;p&#62;(key,val both are string fields.)&#60;br /&#62;
I'm getting the following exception while executing query.&#60;/p&#62;
&#60;p&#62;indexedSlicesQuery.execute();&#60;/p&#62;
&#60;p&#62;me.prettyprint.hector.api.exceptions.HInvalidRequestException: InvalidRequestException(why:[757365725f6964]=[31303030303030303030303030303030303231] failed value validation (Expected 8 or 0 byte long (19)))&#60;/p&#62;
&#60;p&#62;Whats the problem here? Is there any better way to get the columns with different datatypes using hector?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
