Writing and Querying MapReduce Views in CouchDB
Samenvatting
If you want to use CouchDB to support real-world applications, you'll need to create MapReduce views that let you query this document-oriented database for meaningful data. With this short and concise ebook, you'll learn how to create a variety of MapReduce views to help you query and aggregate data in CouchDB’s large, distributed datasets.
You'll get step-by-step instructions and lots of sample code to create and explore several MapReduce views through the course of the book, using an example database you construct. To work with these different views, you’ll learn how to use the Futon web administration console and the cURL command line tool that come with CouchDB.Learn how the Map and Reduce steps work independently and together to index your dataUse the example database to create several temporary views based on different criteriaDiscover the uses of Map and Reduce JavaScript functionsConvert your temporary views to permanent views within a design documentLearn several options for querying the data within your viewsLimit the number of results returned, skip some results, or reverse the order of the outputGroup your results by exact keys or by parts of keys
Bradley Holt, co-founder of the creative services firm Found Line, is a web developer and entrepreneur ten years of PHP and MySQL experience. He began using CouchDB before the release of version 1.0. Bradley is an active member of the PHP community, and can be reached at bradley-holt.com.
Specificaties
Inhoudsopgave
Conventions Used in This Book;
Using Code Examples;
Safari® Books Online;
How to Contact Us;
Content Updates;
Acknowledgments;
Chapter 1: Introduction;
1.1 Resources for Installing CouchDB;
1.2 Futon;
1.3 HTTP API;
1.4 cURL;
1.5 JSON;
Chapter 2: MapReduce;
2.1 Temporary Views;
2.2 Map;
2.3 Reduce;
2.4 Limitations of MapReduce;
Chapter 3: Design Documents;
3.1 Titles View;
3.2 Formats View;
3.3 Authors View;
3.4 Storage Considerations;
Chapter 4: Querying Views;
4.1 Range Queries;
4.2 Limiting, Skipping, and Reversing Results;
4.3 Grouping;
4.4 Including Documents;
Chapter 5: MapReduce Views for SQL Users;
5.1 Documents;
5.2 Views;
5.3 Compound Keys;
5.4 Relationships;
Net verschenen
Rubrieken
- aanbestedingsrecht
- aansprakelijkheids- en verzekeringsrecht
- accountancy
- algemeen juridisch
- arbeidsrecht
- bank- en effectenrecht
- bestuursrecht
- bouwrecht
- burgerlijk recht en procesrecht
- europees-internationaal recht
- fiscaal recht
- gezondheidsrecht
- insolventierecht
- intellectuele eigendom en ict-recht
- management
- mens en maatschappij
- milieu- en omgevingsrecht
- notarieel recht
- ondernemingsrecht
- pensioenrecht
- personen- en familierecht
- sociale zekerheidsrecht
- staatsrecht
- strafrecht en criminologie
- vastgoed- en huurrecht
- vreemdelingenrecht