cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Varun Barala <varunbaral...@gmail.com>
Subject Re: Read data from specific node in cassandra
Date Thu, 05 May 2016 09:40:16 GMT
Hi Siddharth Verma,

You can define consistency level LOCAL_ONE.

and you can applyh consistency level during statement creation.

like this -> statement.setConsistencyLevel(ConsistencyLevel.LOCAL_ONE);

On Thu, May 5, 2016 at 3:55 PM, Siddharth Verma <
verma.siddharth@snapdeal.com> wrote:

> Hi,
> We have a 3 node cluster in DC1, where replication factor of keyspace is 3.
> How can i read data only from one particular node in java driver?
>
> Thanks,
> Siddharth Verma
>

Mime
View raw message