官术网_书友最值得收藏!

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)

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

主站蜘蛛池模板: 天门市| 峨眉山市| 木兰县| 合江县| 稻城县| 曲阜市| 龙江县| 桂林市| 尚志市| 麻栗坡县| 资溪县| 东乡族自治县| 攀枝花市| 建德市| 西城区| 阳信县| 定日县| 太康县| 苗栗市| 枣阳市| 香格里拉县| 萝北县| 贵南县| 峨山| 马鞍山市| 新建县| 古田县| 东莞市| 永安市| 育儿| 洛川县| 清远市| 浦城县| 梨树县| 磴口县| 曲松县| 长岛县| 商洛市| 新郑市| 那曲县| 兴化市|