- Cassandra Design Patterns(Second Edition)
- Rajanarayanan Thottuvaikkatumana
- 168字
- 2021-07-09 20:59:16
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: "In the Order
table, CustomerId
is a foreign key referring the CustomerId
of the Customer
table."
A block of code is set as follows:
CREATE KEYSPACE PacktCDP1 WITH replication = {'class': 'SimpleStrategy', 'replication_factor' : 3}; USE PacktCDP1; CREATE TABLE CustomerOrder ( CustomerId bigint, OrderId bigint, CustomerName text static, Email text static, OrderDate timestamp, OrderTotal float, PRIMARY KEY (CustomerId, OrderId) )
Any command-line input or output is written as follows:
USE PacktCDP1; list CustomerOrder; Using default limit of 100 Using default cell limit of 100 RowKey: 1 => (name=1:, value=, timestamp=1433970886092681) => (name=1:customername, value=4d61726b2054686f6d6173, timestamp=1433970886092681)
推薦閱讀
- Android 9 Development Cookbook(Third Edition)
- PLC編程及應用實戰
- Java面向對象程序設計
- Web性能實戰
- 機器學習微積分一本通(Python版)
- Hacking Android
- Drupal Search Engine Optimization
- Python編程基礎教程
- Microsoft HoloLens By Example
- 3D Printing Designs:The Sun Puzzle
- Head First Kotlin程序設計
- Scratch編程從入門到精通
- Elastix Unified Communications Server Cookbook
- 零基礎學Java(第5版)
- R語言與網站分析