IBM Developer Advocacy

Cloudant Learning Center – Developer Resources


This page contains the following resources available to Cloudant developers.

Some integration examples

Cloudant plays well with others. You can integrate with many other technologies.

Sample databases and applications

The Examples Cloudant account contains some really great example databases and Cloudant applications showcasing the different ways to index and search your data.
You can replicate any of these databases to your own Cloudant account. Find out how to create a replication job.

Category Examples
Search Indexes
Secondary Indexes
Cloudant Query
Cloudant Geospatial
Apache Spark
Medium and large datasets
  • https://examples.cloudant.com/lobby-search
  • https://examples.cloudant.com/nyctaxi
  • https://examples.cloudant.com/sales
  • https://examples.cloudant.com/simplegeo_places
  • https://examples.cloudant.com/user_profiles

Import Tools

How to move data in and out of Cloudant is a common question. This page includes a number of utilities to migrate and transform your data. Note that in most cases, tools that are compatible with Apache CouchDB will also work with Cloudant so are included for your reference.

Tool Commercial or DIY Details
IBM Infosphere Information Server Commercial
IBM InfoSphere Data Replication Commercial
  • InfoSphere Data Replication offers an easy-to-use, highly scalable, low-impact, and enterprise-ready data replication platform
  • Developerworks overview
  • A PDF showing IBM InfoSphere Data Replication’s Change Data Capture (CDC) Cloudant Apply feature.
IBM InfoSphere Master Data Management Commercial
  • Use the MDM and Cloudant integration sample to extract on-premises master data and then store that data in IBM Cloudant
  • Documentation
IBM SPSS Modeler for Predictive Analytics Commercial
  • A Cloudant Extension for IBM SPSS Modeler to import data from a IBM Cloudant Databases.
  • Blog post with details on the extension along with a tutorial using an IoT sensor use case.
IBM Schema Discovery Process
(Cloudant –> DashDB)
Commercial
  • Currently available on Cloudant DBaaS Shared and Enterprise to port data to DashDB
  • Will create a relational schema in DashDB out of Cloudant JSON and migrate Cloudant data into DashDB
  • Access DashDB via Cloudant or directly on Bluemix
  • Cloudant blog post along with updated blog post
  • Find video tutorials on warehousing Cloudant data into dashDB on the Learning Center.
spark-cloudant Open Source, maintained by IBM
  • Cloudant connector for Spark as Spark SQL external datasource.
  • Find video tutorials on using Spark for analytics of Cloudant data on the Learning Center.
  • Connector is included in IBM Analytics for Apache Spark or can be used in stand-alone Spark
Eight-Wire Conductor Commercial
  • Migrate between RDBMS or CSV file to Cloudant
  • Video on the Conductor tool and migrating from SQL Server to Cloudant
  • Eight-wire blog post on using it with Cloudant
SPViewer CouchDBPumper for Oracle Commercial
  • Migrate between Oracle and CouchDB/Cloudant
sql-to-nosql-importer DIY
  • Java tool to migrate data between MySQL/Oracle/PostgreSQL to CouchDB/Cloudant
CSV Import Utilities DIY
  • There are a number of utilities to import .csv files into Cloudant. One can take a dump of a RDBMS table, convert to .csv and easily load into Cloudant.
  • CSVtoCloudant – CouchApp HTML5 tool to migrate a .csv file to Cloudant. Access at this site, but requires CORS to be enabled on your Cloudant account. Alternatively, replicate this Cloudant database into your Cloudant account and access it at ../db/_design/csvtocloudant/index.html.
  • csv2couchdb – Mango Information Systems CouchApp HTML5 tool to migrate a .csv file to Cloudant
  • csv-import – Python tool to import .csv into Cloudant
  • couchimport – Node.js tool to import .csv or .tsv file into Cloudant
  • Cloudant-Uploader – Node.js tool to import .csv file into Cloudant
couchtato DIY
  • Node.js tool to iterate and manipulate Cloudant/CouchDB documents. Good for mass updates, deletes, counts, etc.
MongoDB to Cloudant DIY
  • This blog post shows how to do a basic bulk export from Mongo and import to Cloudant.
HDFS Connector DIY
  • Python script to poll the changes feed to export Cloudant JSON documents to Hadoop filesystem via WebHDFS.

Mobile

Cloudant is ideal for mobile apps. Cloudant sync allows mobile and distributed apps to scale by replicating and syncing data between multiple readable, writeable copies of the data in other data centers, and even on mobile iOS and Android devices.

Check our our library repos on GitHub:

Cloudant Sync for Android repo
Cloudant Sync for iOS repo

And read about how an offline-first approach can make your app function seamlessly for users.

Libraries

There are several official development libraries. These libraries are often a big help, but if you prefer, you can use only your language’s native HTTP and JSON libraries to develop against Cloudant.

Select your language/platform

Android

Java ObjectiveC Node.js
iOS Python Swift Apache Spark

 

eLearning Course

Find the Indexing and Querying an IBM Cloudant Database eLearning course on the IBM Skills Gateway.