Commented your questions below.
HTH
- Lucas Nodine
On Mon, Sep 27, 2010 at 7:35 AM, sekhar kosuru wrote:
> Hi Lucas,
>
> Thanks for the reply.
>
> Please clarify me if i am wrong, this kind of filtering will work on Key
> values in ColumnFamily or any other column available i
Example code using C# below:
Collections.Generic.List results;
SlicePredicate predicate;
ColumnParent cp;
// Create Slice
predicate = new SlicePredicate()
{
Slice_range = new SliceRange()
{
Start = _utf8.GetBytes(""),
Finish = _utf8.GetBytes(""),
Count = 100,
Reversed = false
Have you looked at get_slice or multiget_slice (
http://wiki.apache.org/cassandra/API) to see if those will fit your needs?
I would expect the slice_range property of the SlicePredicate might get you
started.
- Lucas Nodine
On Mon, Sep 27, 2010 at 4:43 AM, sekhar kosuru wrote:
> Hi
>
>
stributed deployment) to apply a lock to the resource, system
wide.
I understand the technical aspects of how that should work; however, before
I begin that, does anyone have any suggestions or tips?
Thanks,
- Lucas Nodine
On Sun, Sep 26, 2010 at 4:34 PM, Jonathan Ellis wrote:
> Atomic
a column within that row. I'm just considering race
conditions.
Thanks,
Lucas Nodine
I am working with 0.7.0-beta1 (distribution from bin on website)
First, am I correct in that since beta1 keys are now bytes instead of
strings?
Second, should there be additional data before the key value that I specify
(read below for explaination)?
I am attempting to perform a batch mutation w
Just a tip for evaluation. Reads using Cassandra are expensive. Each link
in the graph would probably require a read transaction. I have never used a
graph db, but I would expect their API will be much more efficient for your
needs. Just something to consider before deciding.
Good luck!
- Luc
Chris, I believe if the timestamp being written if the same or older it will
not apply the write, but do not quote me on this, test it. In this case, if
the timestamp value does not matter, you could simply always write with a
timestamp of 1.
- LN
On Tue, Sep 21, 2010 at 5:58 AM, Christian Decke
try this bit...
TTransport transport = new TFramedTransport(new
TSocket(Settings.Instance.Host.Address.ToString(),
Settings.Instance.Host.Port));
TProtocol protocol = new TBinaryProtocol(transport);
Cassandra.Client cassandra = new Cassandra.Client(protocol);
HTH,
- Lucas
On Sun, Sep 19, 2010
mpaction was fixed some time ago for 0.7
> (CASSANDRA-16).
>
> On Wed, Sep 15, 2010 at 10:03 AM, Lucas Nodine
> wrote:
> > Hello Users,
> >
> > I am planning a system where both metadata and data will be stored.
> Usually
> > it will be small file such as wor
Hello Users,
I am planning a system where both metadata and data will be stored. Usually
it will be small file such as word documents along with some specific data
about the file. Sometimes, there will be a large file, possibly a few
hundred meg - a gig such as video. I have read a lot about su
port it.
Thx,
- LN
On Tue, Sep 7, 2010 at 3:00 PM, Lucas Nodine wrote:
> Jonathan,
>
> I have done it successfully with insert, but I have not tried it with
> mutate. I'll give that a try tonight.
>
> Thanks
> On Tue, Sep 7, 2010 at 2:54 PM, Jonathan Ellis wrote:
>
> You can also enable debug logging on the server and see if that
> matches what you want the client to be doing.
>
> On Tue, Sep 7, 2010 at 9:11 AM, Lucas Nodine
> wrote:
> > Hello all,
> >
> > I have posted the following to Stackoverflow, but thought that I
Hello all,
I have posted the following to Stackoverflow, but thought that I would also
try the list. If you have any suggestions, please let me know
I am working with Cassandra 0.6.5 using the thrift interface. I am trying to
use the batch_mutate method call, however, when I execute it, I receiv
14 matches
Mail list logo