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

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.

主站蜘蛛池模板: 盐亭县| 周至县| 石楼县| 溧阳市| 武山县| 中山市| 左云县| 三台县| 若尔盖县| 沂源县| 略阳县| 开鲁县| 扶余县| 巴塘县| 镶黄旗| 全南县| 阳信县| 安丘市| 叙永县| 龙川县| 县级市| 丹寨县| 紫金县| 依安县| 屯留县| 彭州市| 丹江口市| 左权县| 五指山市| 商河县| 酒泉市| 额尔古纳市| 镇江市| 牙克石市| 改则县| 白银市| 竹山县| 沛县| 台湾省| 岑溪市| 虎林市|