RE: Creating 'Put' requests

2015-04-24 Thread Matthew Johnson
rom:* Jonathan Haddad [mailto:j...@jonhaddad.com] *Sent:* 24 April 2015 14:15 *To:* user@cassandra.apache.org *Subject:* Re: Creating 'Put' requests To add to Phil's point, there's no circumstance in which I would use an unlogged batch, under load I have yet to hear it do any

Re: Creating 'Put' requests

2015-04-24 Thread Jonathan Haddad
use of the distributed nature of Cassandra, there is a > better solution, see > https://medium.com/@foundev/cassandra-batch-loading-without-the-batch-keyword-40f00e35e23e > > > > >> Thanks! >> Matt >> >> >> -Original Message- >> From: Jim Wi

Re: Creating 'Put' requests

2015-04-24 Thread Jonathan Haddad
e >> https://medium.com/@foundev/cassandra-batch-loading-without-the-batch-keyword-40f00e35e23e >> >> >> >> >>> Thanks! >>> Matt >>> >>> >>> -Original Message- >>> From: Jim Witschey [mailto:jim.witsc...@dat

Re: Creating 'Put' requests

2015-04-24 Thread Jens Rantil
there is a > better solution, see > https://medium.com/@foundev/cassandra-batch-loading-without-the-batch-keyword-40f00e35e23e > > > > >> Thanks! >> Matt >> >> >> -----Original Message- >> From: Jim Witschey [mailto:jim.witsc...@datastax.com] >> Sen

Re: Creating 'Put' requests

2015-04-24 Thread Phil Yang
ure of Cassandra, there is a better solution, see https://medium.com/@foundev/cassandra-batch-loading-without-the-batch-keyword-40f00e35e23e > Thanks! > Matt > > > -Original Message- > From: Jim Witschey [mailto:jim.witsc...@datastax.com] > Sent: 23 April 2015

Re: Creating 'Put' requests

2015-04-23 Thread Alex Popescu
On Thu, Apr 23, 2015 at 8:50 AM, Matthew Johnson wrote: > Unfortunately it seems that I was misinformed on the “dynamically creating > timeseries columns” feature, and that this WAS deprecated in CQL3 – in > order to dynamically create columns I would have to issue an ‘ALTER TABLE’ > statement fo

RE: Creating 'Put' requests

2015-04-23 Thread Matthew Johnson
an acceptable approach? Many thanks, Matt PS apologies for the noobness!! -Original Message- From: Matthew Johnson [mailto:matt.john...@algomi.com] Sent: 23 April 2015 15:16 To: user@cassandra.apache.org Subject: RE: Creating 'Put' requests Hi Jim, This would sti

RE: Creating 'Put' requests

2015-04-23 Thread Matthew Johnson
om: Jim Witschey [mailto:jim.witsc...@datastax.com] Sent: 23 April 2015 14:46 To: user@cassandra.apache.org Subject: Re: Creating 'Put' requests Are prepared statements what you're looking for? http://docs.datastax.com/en/developer/java-driver/2.1/java-driver/quick_start/q

Re: Creating 'Put' requests

2015-04-23 Thread Jim Witschey
Are prepared statements what you're looking for? http://docs.datastax.com/en/developer/java-driver/2.1/java-driver/quick_start/qsSimpleClientBoundStatements_t.html Jim Witschey Software Engineer in Test | jim.witsc...@datastax.com On Thu, Apr 23, 2015 at 9:28 AM, Matthew Johnson wrote: > Hi

Creating 'Put' requests

2015-04-23 Thread Matthew Johnson
Hi all, Currently looking at switching from HBase to Cassandra, and one big difference so far is that in HBase, we create a ‘Put’ object, add to it a set of column/value pairs, and send the Put to the server. So far in Cassandra 2.1.4 the tutorials seem to suggest using CQL3, which I really like