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.