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 8538789
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T11:12:18+00:00 2026-06-11T11:12:18+00:00

My application uses an AbstractFactory for the DAO layer so once the HBase DAO

  • 0

My application uses an AbstractFactory for the DAO layer so once the HBase DAO family has been implemented, It would be very great for me to create the Cassandra DAO family and see the differences from several points of view.
Anyway, trying to do that, I saw Cassandra doesn’t support cell versioning like HBase (and my application makes a strong usage of that) so I was wondering if there are some table design trick (or something else) to “emulate” this behaviour in Cassandra

  • 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-11T11:12:19+00:00Added an answer on June 11, 2026 at 11:12 am

    One common strategy is to use composite column names with two components: the normal column name, and a version. What you use for the version component depends on your access patterns. If you might have updates coming from multiple clients simultaneously, then using a TimeUUID is your safest option. If only one client may update at a time, you can use something smaller, like a timestamp or version number.

    Assuming you use version numbers for simplicity, here’s what that might look like for storing documents with versioned fields:

    | ('body', 5) | ('body', 4) | ... | ('title', 1) | ('title', 0) |
    |-------------|-------------|-----|--------------|--------------|
    | 'Neque ...' | 'Dolor ...' | ... | 'Lorem Ipsum'| 'My Document'|
    

    This format is primarily useful if you want a specific version of a field, all versions of a field, or all versions of all fields.

    If you also want to support efficiently fetching the latest version of all fields at once, I suggest you denormalize and add a second column family where only the latest version of each field is store in its normal form. You can blindly overwrite these fields for each change. Continuing our example, this column family would look like:

    |   'body'    |    'title'    |
    |-------------|---------------|
    | 'Neque ...' | 'Lorem Ipsum' |
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My application uses a large amount of Panda objects. Each Panda has a list
Our application uses a XML configuation file. I thought that it would be nice
Our application uses Simple MAPI to send e-mails. One of our clients has problems
My application uses push notifications. It would be nice to show notifications status on
Our application uses a large product database that is updated once a day. Updates
My application uses Hibernate to connect to SQL Server. I recently changed my DAO
My Application uses camera, I would like to add overlay over the camera preview.
My application uses a MapView which will display multiple places. I have the latitude
My application uses a 3rd party dll. If I remove myapp.exe.local file from my
My application uses asp.net 4, C# and Entity Framework. My database contains a table

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.