- Mastering Apache Cassandra(Second Edition)
- Nishant Neeraj
- 286字
- 2021-07-23 19:55:07
Conventions
In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.
Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "Installing Cassandra on your local machine for experimental or development purposes is as easy as downloading and unzipping the tarball (the .tar
compressed file)."
A block of code is set as follows:
cqlsh:weblog> INSERT INTO blogs (id, blog_name, author, email, password) VALUES ( blobAsUuid(timeuuidAsBlob(now())), 'Random Ramblings', 'JRR Rowling', 'rowling@yahoo.com', 'someHashed#passwrd'); cqlsh:weblog> SELECT * FROM blogs; id | author | blog_name | email | password ------------+-------------+------------------+-------------------+-------------------- 83cec... | JRR Rowling | Random Ramblings | rowling@yahoo.com | someHashed#passwrd (1 rows)
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
# Cassandra Node IP=Data Center:Rack
# Data-center 1
10.110.6.30=DC1:RAC1
10.110.6.11=DC1:RAC1
10.110.4.30=DC1:RAC2
# Data-center 2
10.120.8.10=DC2:RAC1
10.120.8.11=DC2:RAC1
# Data-center 3
10.130.1.13=DC3:RAC1
10.130.2.10=DC3:RAC2
# default for unknown nodes
default=DC1:RAC0
Any command-line input or output is written as follows:
# Check if you have Java $ java -version java version "1.7.0_21" Java(TM) SE Runtime Environment (build 1.7.0_21-b11) Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)
New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this:
"Choose the Linux x64-rpm.bin version to download in order to install it on RHEL-like systems."
- 自己動手實現Lua:虛擬機、編譯器和標準庫
- 實用防銹油配方與制備200例
- Mastering Scientific Computing with R
- 老“碼”識途
- JavaScript:Moving to ES2015
- QGIS By Example
- C語言程序設計上機指導與習題解答(第2版)
- Learning Continuous Integration with TeamCity
- C#開發案例精粹
- Python從入門到精通
- C++反匯編與逆向分析技術揭秘(第2版)
- Qt5 C++ GUI Programming Cookbook
- 微課學人工智能Python編程
- Groovy 2 Cookbook
- 深入理解MySQL主從原理