[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cassandra-dev
Subject:    Re: Embedding Cassandra
From:       Ersin Er <ersin.er () gmail ! com>
Date:       2015-03-24 18:15:04
Message-ID: CABgRvPFsCQAPbZ9KXOcFyq9fJ29KUc-ybUVBiViw_xv5EXc1gg () mail ! gmail ! com
[Download RAW message or body]


I am trying to use Cassandra as a distributed systems infrastructure
component.
So it's gonna be embedded in Java processes to form a cluster and
queries will be executed by the wrapping process, not external clients.

On Tue, Mar 24, 2015 at 5:33 PM, Jack Krupansky <jack.krupansky@gmail.com>
wrote:

> Are you trying to use Cassandra as a simple single-node data store within a
> process, or are you trying to wrap Cassandra and run a cluster of custom
> nodes? IOW, what are you trying to accomplish.
>
> You could always run Cassandra as a spawned, background process, fully
> controlled by a parent process.
>
> Who is doing the queries, the program in which Cassandra is embedded, or an
> external client over the net?
>
>
> -- Jack Krupansky
>
> On Tue, Mar 24, 2015 at 5:38 AM, Ersin Er <ersin.er@gmail.com> wrote:
>
> > Hi all,
> >
> > As far as I understand it seems to be enough to initialize and activate
> > CassandraDaemon for embedding Cassandra. (Right?)
> >
> > My question is what's the next step? Which class or classes should I use
> in
> > order to execute CQL queries for example?
> >
> > Any pointers would be great.
> >
> > Thanks!
> >
> > --
> > Ersin Er
> >
>



-- 
Ersin Er


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic