0%

Book Description

Learn how to create MapReduce views in CouchDB that let you query the document-oriented database for meaningful data. With this short and concise ebook, you'll get step-by-step instructions and lots of sample code to create and explore several MapReduce views, using an example database you construct.

Table of Contents

  1. Writing and Querying MapReduce Views in CouchDB
    1. Preface
      1. Conventions Used in This Book
      2. Using Code Examples
      3. SafariĀ® Books Online
      4. How to Contact Us
      5. Content Updates
        1. October 19, 2011
      6. Acknowledgments
    2. 1. Introduction
      1. Resources for Installing CouchDB
      2. Futon
      3. HTTP API
      4. cURL
      5. JSON
    3. 2. MapReduce
      1. Temporary Views
      2. Map
        1. One-To-One Mapping
        2. One-To-Many Mapping
        3. Conclusion
      3. Reduce
        1. Count
        2. Sum
        3. Stats
        4. Custom Reduce Functions
      4. Limitations of MapReduce
    4. 3. Design Documents
      1. Titles View
      2. Formats View
      3. Authors View
      4. Storage Considerations
    5. 4. Querying Views
      1. Range Queries
        1. Rows by Start and End Keys
        2. Rows by Key
        3. Rows by Start and End Keys and Document IDs
      2. Limiting, Skipping, and Reversing Results
        1. Limit
        2. Skip
        3. Reversing Output
      3. Grouping
        1. Exact Grouping
        2. Group Levels
      4. Including Documents
    6. 5. MapReduce Views for SQL Users
      1. Documents
      2. Views
      3. Compound Keys
      4. Relationships
        1. One to Many
          1. Embedded JSON array
          2. Related documents
        2. Many to Many
          1. List of keys
            1. Books and related author data
            2. Authors and related book data
            3. Books and related author references
            4. Authors and related book references
          2. Relationship document
            1. Books and related authors
            2. Authors and related books
            3. About the Author
3.149.26.176