Instant Cassandra Query Language
Amresh Singh
- 出版商: Packt Publishing
- 出版日期: 2013-09-10
- 售價: $1,170
- 貴賓價: 9.5 折 $1,112
- 語言: 英文
- 頁數: 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查詢語言(CQL)是訪問、更改和查詢Cassandra數據庫的默認語言/方法。學習如何使用CQL是必不可少的,因為舊的基於RPC的機制正在被基於CQL的Cassandra驅動程序取代。
《瞬間學會Cassandra查詢語言》是任何已經開始使用Cassandra並希望以簡單、簡潔和快速的方式學習其查詢語言CQL的人的絕佳起點。它教你如何高效地使用CQL,並展示了你需要運行的確切查詢命令。
《瞬間學會Cassandra查詢語言》帶你踏上Cassandra查詢語言的旅程。我們首先介紹CQL,幫助你安裝、配置和打開控制台。為了在深入研究其內部運作之前快速了解它,我們將運行一些基本的讀取和寫入命令。在設定舞台之後,我們將設計並實驗一個簡單的社交媒體應用程序,並解釋沿途使用的不同CQL結構。
你還將學習一些特定的技能,例如如何指定在一定時間後過期的數據庫列,如何創建批次操作等。由於CQL被用作Cassandra驅動程序的基礎,探索使用不同庫的CQL的用法非常重要。你將學習如何以不同方式在Cassandra上編寫客戶端應用程序,包括使用Thrift和Datastax Java Driver。還提供了一個高級客戶端列表,作為你進一步探索的良好起點。通過這本書,你將學到在使用CQL時可能遇到的一切。
從這本書中你將學到:
- 安裝、配置和啟動Cassandra,並進入CQL控制台
- 使用CQL讀取、寫入和刪除數據
- 為社交媒體應用程序設計數據庫模型,並在其上使用CQL
- 配置CQL操作的二級索引、複合鍵、集合類型和計數器列族
- 使用CQL實現TTL、批次操作等功能
- 使用CQL構建客戶端應用程序
方法:
掌握一項新技術,了解它是什麼以及它能為你做什麼,然後開始使用最重要的功能和任務。這是一本瞬間入門指南。
本書適合對Cassandra數據庫工作並希望通過控制台檢查數據或使用CQL構建嚴肅應用程序的人。如果你正在尋找一本能幫助你在最短時間內開始使用CQL,並且不喜歡學習新的語言語法的書,那麼這本書就是為你而寫的。