O'Reilly logo

Pro MongoDB™ Development by Deepak Vohra

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 6

image

Migrating an Apache Cassandra Table to MongoDB

While MongoDB is the most commonly used document-based NoSQL datastore, Apache Cassandra is the most commonly used wide column-based NoSQL datastore. The data models used in MongoDB and Apache Cassandra are different. MongoDB is based on a JSON (BSON) data model while Cassandra is based on a column/row (table) data model. Both provide a schema-less, flexible storage model. In this chapter we shall discuss migrating Apache Cassandra documents to MongoDB. This chapter includes the following topics:

  • Setting Up the Environment
  • Creating a Maven Project in Eclipse
  • Creating a Document in Apache ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required