Book description
Pro Couchbase Development: A NoSQL Platform for the Enterprise discusses programming for Couchbase using Java and scripting languages, querying and searching, handling migration, and integrating Couchbase with Hadoop, HDFS, and JSON. It also discusses migration from other NoSQL databases like MongoDB.
This book is for big data developers who use Couchbase NoSQL database or want to use Couchbase for their web applications as well as for those migrating from other NoSQL databases like MongoDB and Cassandra. For example, a reason to migrate from Cassandra is that it is not based on the JSON document model with support for a flexible schema without having to define columns and supercolumns. The target audience is largely Java developers but the book also supports PHP and Ruby developers who want to learn about Couchbase. The author supplies examples in Java, PHP, Ruby, and JavaScript.
After reading and using this hands-on guide for developing with Couchbase, you'll be able to build complex enterprise, database and cloud applications that leverage this powerful platform.
Table of contents
- Cover
- Title
- Copyright
- Contents at a Glance
- Contents
- About the Author
- About the Technical Reviewer
-
Chapter 1: Why NoSQL?
- What Is JSON?
- What Is Wrong with SQL?
- Advantages of NoSQL Databases
- What Has Big Data Got to Do with NoSQL?
- NoSQL Is Not without Drawbacks
-
Why Couchbase Server?
- Flexible Schema JSON Documents
- Scalability
- Auto-Sharding Cluster Technology
- High Performance from High Throughput and Low Latency
- Cluster High Availability
- Cross Data Center Replication
- Data Locality
- Rack Awareness
- Multiple Readers and Writers
- Support for Commonly Used Object-Oriented Languages
- Administration and Monitoring GUI
- Who Uses Couchbase Server and for What?
- Summary
- Chapter 2: Using the Java Client
- Chapter 3: Using Spring Data
- Chapter 4: Accessing Couchbase with PHP
- Chapter 5: Accessing with Ruby
- Chapter 6: Using Node.js
-
Chapter 7: Using Elasticsearch
- Setting the Environment
- Installing the Couchbase Plugin for Elasticsearch
- Starting Elasticsearch
- Providing an Index Template in Elasticsearch
- Creating an Empty Index in Elasticsearch
- Setting the Limit on Concurrent Requests in Elasticsearch
- Setting the Limit on Concurrent Replications in Couchbase Server
- Creating an Elasticsearch Cluster Reference in Couchbase
- Creating a Replication and Starting Data Transfer
- Querying Elasticsearch
- Adding Documents to Couchbase Server while Replicating
- The Document Count in Elasticsearch
- Summary
-
Chapter 8: Querying with N1QL
- Setting Up the Environment
- Running a SELECT Query
- Filtering with WHERE Clause
- JSON with Nested Objects
- JSON with Nested arrays
- JSON with Nested Objects and Arrays
- Applying Arithmetic & Comparison Operators
- Applying ROUND( ) and TRUNC( ) Functions
- Concatenating Strings
- Matching Patterns with LIKE & NOT LIKE
- Including and Excluding Null and Missing Fields
- Using Multiple Conditions with AND
- Making Multiple Selections with the OR Clause
- Ordering Result Set
- Using LIMIT and OFFSET to Select a Subset
- Grouping with GROUP BY
- Filtering with HAVING
- Selecting Distinct Values
- Summary
- Chapter 9: Migrating MongoDB
- Chapter 10: Migrating Apache Cassandra
- Chapter 11: Migrating Oracle Database
- Chapter 12: Using the Couchbase Hadoop Connector
- Index
Product information
- Title: Pro Couchbase Development: A NoSQL Platform for the Enterprise
- Author(s):
- Release date: August 2015
- Publisher(s): Apress
- ISBN: 9781484214343
You might also like
book
Tidy First?
Messy code is a nuisance. "Tidying" code, to make it more readable, requires breaking it up …
book
Learning Git
This book teaches Git in a simple, visual, and tangible manner so that you can build …
book
tmux 2
Your mouse is slowing you down. The time you spend context switching between your editor and …
book
Amazon Web Services in Action, Third Edition
Master essential best practices for deploying and managing applications on Amazon Web Services. This revised bestseller …