Insert « cassandra « Java Database Q&A





1. Cassandra and inserting float columns    stackoverflow.com

I have the following Cassandra configuration:


    <ColumnFamily CompareWith="LongType" Name="MiFamily">
But when I try to insert the following value:

    public byte[] dateToByte(Date date) throws Exception {
  ...

2. cassandra pelops exception "socket write error" once some data is inserted in batch in cassandra java    stackoverflow.com

"org.apache.thrift.transport.TTransportException: java.net.SocketException: Software caused connection abort: socket write error" Getting this error after some batches are processed(i.e some data is inserted into the cassandra) m using pelops client for casssandra consistency level is ONE Thanks, samarth ...

3. Cassandra bulk insertion using Binay memtable (BMT) or storage proxy    stackoverflow.com

i want to bulk insert to cassandra using storage proxy or Binary memtable (BMT) in java ,but i am not able to find any documentation ,API or example of the same ...

4. insert JSON String in Apache-Cassandra 0.8.2    stackoverflow.com

Anybody know which is the easy way to insert a json string in cassandra. Suppose I have a json string like this: {'key1':'val1','key2':'val2'} In MongoDB we can insert directly a json string like ...

5. Cassandra CQL unable to insert (no viable alternative at input)    stackoverflow.com

After setup cassandra (0.8.4) and tested with insert and select via CLI, i move on to JDBC (1.0.3) with CQL. This is where, i encounter SQLException on following code, any idea?

Connection ...