Skip to content

Customizing calls

elandau edited this page Nov 29, 2012 · 3 revisions

Settings a different consistency level for each call

OperationResult<Void> result =
keyspace.prepareQuery(CF_STANDARD1)
  .setConsistencyLevel(ConsistencyLevel.CL_ONE)
  .getKey("Key1").copyTo(CF_STANDARD2, "Key2")
  .execute();
Clone this wiki locally