Instant Cassandra Query Language
暫譯: 即時 Cassandra 查詢語言
Amresh Singh
- 出版商: Packt Publishing
- 出版日期: 2013-09-10
- 售價: $1,190
- 貴賓價: 9.5 折 $1,131
- 語言: 英文
- 頁數: 54
- 裝訂: Paperback
- ISBN: 1783282711
- ISBN-13: 9781783282715
-
相關分類:
NoSQL
海外代購書籍(需單獨結帳)
商品描述
A practical, step-by-step guide for quickly getting started with Cassandra Query Language
Overview
- Learn something new in an Instant! A short, fast, focused guide delivering immediate results
- Covers the most frequently used constructs using practical examples
- Dive deeper into CQL, TTL, batch operations, and more
- Learn how to shed Thrift and adopt a CQL-based binary protocol
In Detail
Apache Cassandra is a fault-tolerant, distributed data store that offers linear scalability, allowing it to act as a storage platform for large, high-volume websites. Cassandra Query Language, or CQL, is the default language/method used to access, change, and query the Cassandra database. It is essential to learn how to use CQL since the old RPC-based mechanism is now giving way to CQL-based Cassandra drivers.
Instant Cassandra Query Language serves as a great starting point for anyone who has started working on Cassandra and who wishes to learn its query language, CQL, in a simple, concise, and quick way. It teaches you how to use CQL in an efficient manner and shows you the exact query commands you need to run.
Instant Cassandra Query Language takes you on a journey through Cassandra Query Language. We first introduce CQL and help you to get started with it by installing, configuring, and opening the console. In order to get a quick feel for it before delving deeper into its inner workings, we’ll run some basic read and write commands. After the stage is set, we’ll design and experiment with a simple social media application, explaining the different CQL constructs used along the way.
You’ll also learn some specific skills like how to specify database columns that expire after a certain period of time, how to create batch operations, and more. Since CQL is used as a base for Cassandra drivers, it’s important to explore the usage of CQL via different libraries. You’ll learn how to write client applications over Cassandra in different ways, namely using Thrift and Datastax Java Driver. A listing of high-level clients is also provided that serves as a good starting point for you to explore them further. With this book, you’ll learn everything you’re likely to encounter while working with CQL.
What you will learn from this book
- Install, configure, and start Cassandra and get to the CQL console
- Read, write, and delete data using CQL
- Design a database model for a social media application and use CQL over it
- Configure CQL operations for secondary indexes, composite keys, collection types, and counter column families
- Implement TTL, batch operations, and more using CQL
- Build client applications using CQL
Approach
Get to grips with a new technology, understand what it is and what it can do for you, and then get to work with the most important features and tasks. It’s an Instant Starter guide.
Who this book is written for
Instant Cassandra Query Language is great for those who are working with Cassandra databases and who want to either learn CQL to check data from the console or build serious applications using CQL. If you’re looking for something that helps you get started with CQL in record time and you hate the idea of learning a new language syntax, then this book is for you.
商品描述(中文翻譯)
一個實用的逐步指南,幫助您快速入門 Cassandra 查詢語言
概述
- 立即學習新知!一本短小、快速且專注的指南,提供即時結果
- 使用實際範例涵蓋最常用的結構
- 深入探討 CQL、TTL、批次操作等
- 學習如何擺脫 Thrift,採用基於 CQL 的二進位協議
詳細內容
Apache Cassandra 是一個容錯的分散式資料儲存系統,提供線性擴展性,使其能夠作為大型高流量網站的儲存平台。Cassandra 查詢語言(Cassandra Query Language,簡稱 CQL)是用來訪問、修改和查詢 Cassandra 資料庫的預設語言/方法。學習如何使用 CQL 是至關重要的,因為舊有的基於 RPC 的機制現在正逐漸被基於 CQL 的 Cassandra 驅動程式取代。
《Instant Cassandra Query Language》是任何開始使用 Cassandra 並希望以簡單、簡潔和快速的方式學習其查詢語言 CQL 的人們的絕佳起點。它教您如何有效地使用 CQL,並顯示您需要執行的確切查詢命令。
《Instant Cassandra Query Language》將帶您踏上探索 Cassandra 查詢語言的旅程。我們首先介紹 CQL,並通過安裝、配置和打開控制台來幫助您入門。為了在深入了解其內部運作之前快速感受它,我們將執行一些基本的讀取和寫入命令。在設置好環境後,我們將設計並實驗一個簡單的社交媒體應用程式,並在過程中解釋所使用的不同 CQL 結構。
您還將學習一些特定技能,例如如何指定在特定時間後過期的資料庫欄位、如何創建批次操作等。由於 CQL 是 Cassandra 驅動程式的基礎,因此探索通過不同庫使用 CQL 的方法非常重要。您將學習如何以不同方式編寫 Cassandra 的客戶端應用程式,即使用 Thrift 和 Datastax Java Driver。書中還提供了一個高級客戶端的列表,作為您進一步探索的良好起點。通過這本書,您將學習到在使用 CQL 時可能遇到的所有內容。
您將從這本書中學到什麼
- 安裝、配置並啟動 Cassandra,並進入 CQL 控制台
- 使用 CQL 讀取、寫入和刪除資料
- 為社交媒體應用程式設計資料庫模型並在其上使用 CQL
- 配置 CQL 操作以支援次級索引、複合鍵、集合類型和計數器欄位族
- 使用 CQL 實現 TTL、批次操作等
- 使用 CQL 建立客戶端應用程式
方法
掌握一項新技術,了解它是什麼以及它能為您做什麼,然後開始使用最重要的功能和任務。這是一本即時入門指南。
本書的讀者對象
《Instant Cassandra Query Language》非常適合那些正在使用 Cassandra 資料庫並希望學習 CQL 以從控制台檢查資料或使用 CQL 建立嚴肅應用程式的人。如果您正在尋找能幫助您快速入門 CQL 的資源,並且不喜歡學習新語言語法的想法,那麼這本書就是為您而寫的。