Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9131231
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T08:06:35+00:00 2026-06-17T08:06:35+00:00

Is there a recommended way, using a Java client, to copy / clone a

  • 0

Is there a recommended way, using a Java client, to copy / clone a row in a Cassandra column family?

I’m currently using Hector (1.0-2) with Cassandra 1.1.8 but switching to another client library shouldn’t be a problem.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T08:06:36+00:00Added an answer on June 17, 2026 at 8:06 am

    Nope, get all rows by sending a list of keys(happens in parallel on the disks so i/o is faster that way). loop through all rows in memory(which is real fast anyways) and do one write operation writing all rows back to the disks.(again, the write is done on all disks in parallel so disk write is fast).

    The i/o is what you need to worry about anyways as the in-memory ops are fast typically. If you are doing A HUGE amount of copying, you need to switch to map/reduce instead.

    If you are using PlayOrm on cassandra, just write a copy method on the entity you are copying to keep your code clean.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm wondering if there is a recommended way of doing deep clone/copy of instance
Is there a recommended way of using Django to clean an input string without
Is there any recommended Java application profiling tutorial? I am now using JProfiler and
I've read all recommended articles on SynchronizationContext, but there is one small question I
Is there a simple way to intercept methods in java. I need to add
We're using a vendor licensed copy of the Tanuki Java Service Wrapper to start
what is the best way of displaying/using the revision number in a java webapp?
Are there any recommended libraries, patterns or examples on how to implement Prefetching and/or
Is there a good or recommended tool that manages both DDLs and DMLs migrations?
Is there a dtls library that you recommended?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.