There is one High Level Java client for Cassandra which supports CQL is
Kundera.
You can find it here https://github.com/impetus-opensource/Kundera.
Other useful links are
https://github.com/impetus-opensource/Kundera/wiki/Getting-Started-in-5-minutes
https://github.com/impetus-opensource/Kundera/
={'class': 'SizeTieredCompactionStrategy'} AND
> compression={'sstable_compression': 'SnappyCompressor'};
>
> Cheers
>
> -
> Aaron Morton
> Freelance Cassandra Consultant
> New Zealand
>
> @aaronmorton
> http://www.thelastpickle.com
&g
Hi,
While I creating counter column family a extra column is being added
what I do ?
Table creation script
CREATE TABLE counters (
key text,
value counter,
PRIMARY KEY (key)
) WITH COMPACT STORAGE
after describing column family I am getting following
CREATE TABLE counters (
key text,
A valid query with that schema would be for instance:
> select * from "CQLUSER" where token(id) > token(4)
> though I don't know if that help in any way for what you aimed to do.
>
> --
> Sylvain
>
>
> On Wed, Apr 10, 2013 at 9:42 AM, Kuldeep Mishra
>
Hi ,
TABLE -
CREATE TABLE "CQLUSER" (
id int PRIMARY KEY,
age int,
name text
)
Query -
select * from "CQLUSER" where token(name) > token(deep);
ERROR -
Bad Request: Failed parsing statement: [select * from "CQLUSER" where
token(name) > token(deep);] reason: NullPointerExce
Hi ,
I am trying to execute following query but not working and throwing
exception
QUERY:--
Cassandra.Client client;
client.execute_cql3_query(ByteBuffer.wrap("describe keyspace
mykeyspace".getBytes(Constants.CHARSET_UTF8)), Compression.NONE,
ConsistencyLevel.ONE);
client.exe
t;);
client.system_add_column_family(user_Def);
Thanks
KK
On Fri, Mar 15, 2013 at 4:24 PM, Sylvain Lebresne wrote:
> On Fri, Mar 15, 2013 at 11:43 AM, Kuldeep Mishra > wrote:
>
>> Hi,
>> Is it possible in Cassandra to make multiple column with same name ?,
>>
Hi,
Is it possible in Cassandra to make multiple column with same name ?, like
in this particular scenario I have two column with same name as "key",
first one is rowkey and second on is column name .
Thanks and Regards
Kuldeep
On Fri, Mar 15, 2013 at 4:05 PM, Kuldeep Mishra wrot
:
org.apache.cassandra.io.compress.SnappyCompressor
for value of *BIG_DECIMAL is *2.28542855225E-825373481
Thanks
Kuldeep
On Tue, Jan 29, 2013 at 1:52 PM, Rishabh Agrawal <
rishabh.agra...@impetus.co.in> wrote:
> Can you provide specs of the column family using describe.
>
>
>
while I an trying to list column family data using cassandra-cli then I am
getting following problem for decimal type data,
any suggestion will be appreciated.
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at java.lang.AbstractStringBuilder.(AbstractStringBuilder.java:
ndra.java:20833)
at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:78)
at
org.apache.cassandra.thrift.Cassandra$Client.recv_batch_mutate(Cassandra.java:964)
at
org.apache.cassandra.thrift.Cassandra$Client.batch_mutate(Cassandra.java:950)
````````
11 matches
Mail list logo