售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
Couchbase Essentials
Table of Contents
Couchbase Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Getting Comfortable with Couchbase
The NoSQL landscape
NoSQL taxonomies
Installing Couchbase
Installing Couchbase on Linux
Installing Couchbase on Windows
Installing Couchbase on Mac OS X
Ports
Running Couchbase for the first time
Exploring the Couchbase Console
Couchbase architecture
Couchbase clusters
Replication
Balancing and rebalancing
Couchbase SDKs
RAM matters
Summary
2. Using Couchbase CRUD Operations
The Couchbase SDKs
Basic operations
Connecting to your cluster
Creating and updating a record
Reading and deleting records
Advanced CRUD operations
Temporary keys
Appending and incrementing data
Storing complex types
Concurrency and locking
Asynchronous operations
Durability operations
Summary
3. Creating Secondary Indexes with Views
Couchbase documents
Couchbase indexes
MapReduce
Map functions
Reduce functions
Couchbase MapReduce
Basic mapping
Basic reducing
Couchbase views
Couchbase Console
Development views
Design documents
Creating a view
Querying views
Grouping
Key queries
Eventual consistency
Couchbase SDKs and views
Summary
4. Advanced Views
Querying by type
Nested collections
Range queries
Multiple keys per document
Compound indexes
Grouping keys
Emitting values
Querying with beer-sample
Querying all documents by type
Counting breweries by location
Finding beer documents by brewery
Collated views
Summary
5. Introducing N1QL
Installing N1QL
Simple queries
Null or missing properties
String utilities
Aggregation and math
Complex structures
Working with collections
Joins
SDK support
Summary
6. Designing a Schema-less Data Model
Key design
Keys, metadata, and RAM
Predictable keys
Unpredictable keys
Storing keys
Key restrictions
Document design
Denormalization
Object-to-document mappings
Data types
Document separation
Object schemas
Schema-less structure changes
Object and document properties
Document relationships
Finalizing the schema
Summary
7. Creating a To-do App with Couchbase
A simple to-do schema
Working with SDKs
A brief overview of MVC
Using SDK clients
Creating a task
Listing tasks
Showing only incomplete tasks
Nested tasks
Summary
A. Couchbase SDKs
Couchbase Java SDK
Current version
How to obtain it
The basics
Couchbase .NET SDK
Current version
How to obtain it
The basics
Couchbase PHP SDK
Current version
How to obtain it
The basics
The Couchbase Node.js SDK
Current version
How to obtain it
The basics
Couchbase Python SDK
Current version
How to obtain it
The basics
Couchbase Ruby SDK
Current version
How to obtain it
The basics
Couchbase C SDK
Current version
How to obtain it
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜