DZone
Java Zone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
  • Refcardz
  • Trend Reports
  • Webinars
  • Zones
  • |
    • Agile
    • AI
    • Big Data
    • Cloud
    • Database
    • DevOps
    • Integration
    • IoT
    • Java
    • Microservices
    • Open Source
    • Performance
    • Security
    • Web Dev
DZone > Java Zone > Writing and Querying MapReduce Views in CouchDB

Writing and Querying MapReduce Views in CouchDB

Bradley Holt user avatar by
Bradley Holt
·
Nov. 29, 11 · Java Zone · Interview
Like (0)
Save
Tweet
7.03K Views

Join the DZone community and get the full member experience.

Join For Free
my first book, writing and querying mapreduce views in couchdb , was published by o’reilly media some time ago. it is a short and concise ebook with step-by-step instructions and lots of sample code. most examples are provided both in futon and using couchdb’s restful http api (using curl).

in my experience, web developers who are new to couchdb often encounter three main barriers to understanding and using couchdb. first, its json documents. second, its restful http api. third, its mapreduce views. the first two are fairly straightforward and many web developers already have experience with json and restful http apis. once you understand the benefits of using json as a document format and exposing the database through a restful http api, then understanding mapreduce views becomes the main barrier.

the goal of this book is to walk readers through both writing mapreduce views and then querying these same views. both the map and reduce steps are explained separately. several example map functions are demonstrated and the built-in reduce functions are covered. there are also discussions about custom reduce functions and the limitations of mapreduce. there are examples of creating both temporary views and saving views permanently to design documents. finally, there is a chapter on querying views which talks about range queries, limiting rows, skipping rows, reversing results, exact grouping, group levels, and including the original documents in query results.

p.s. if you are a blogger and would like to review this book, then please ping me and let me know.

writing and querying mapreduce views in couchdb: indexing and querying documents


source: http://bradley-holt.com/2011/01/writing-and-querying-mapreduce-views-in-couchdb
MapReduce hadoop

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Waterfall Vs. Agile Methodologies: Which Is Best For Project Management?
  • Usage of Java Streams and Lambdas in Selenium WebDriver
  • The Most Popular Technologies for Java Microservices Right Now
  • Simulators vs. Emulators: What's the Difference

Comments

Java Partner Resources

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • MVB Program
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends:

DZone.com is powered by 

AnswerHub logo