|
4 | 4 | This section describes the Cassandra Query Language (CQL) commands supported by the {product} database. |
5 | 5 |
|
6 | 6 | ''' |
7 | | -xref:reference/cql-commands/alter-keyspace.adoc[ALTER KEYSPACE] :: |
| 7 | +xref:cassandra:developing/cql/ddl.adoc#alter-keyspace-statement[ALTER KEYSPACE] :: |
8 | 8 | Changes keyspace replication strategy and enables or disables commit log. |
9 | 9 |
|
10 | | -xref:reference/cql-commands/alter-materialized-view.adoc[ALTER MATERIALIZED VIEW] :: |
| 10 | +xref:cassandra:developing/cql/mvs.adoc#alter-materialized-view-statement[ALTER MATERIALIZED VIEW] :: |
11 | 11 | Changes the table properties of a materialized view. |
12 | 12 |
|
13 | | -xref:reference/cql-commands/alter-role.adoc[ALTER ROLE] :: |
| 13 | +xref:cassandra:developing/cql/security.adoc#alter-role-statement[ALTER ROLE] :: |
14 | 14 | Changes password and sets superuser or login options. |
15 | 15 |
|
16 | | -xref:reference/cql-commands/alter-table.adoc[ALTER TABLE] :: |
| 16 | +xref:cassandra:reference/cql-commands/alter-table.adoc[ALTER TABLE] :: |
17 | 17 | Modifies the columns and properties of a table, or modify |
18 | 18 |
|
19 | | -xref:reference/cql-commands/alter-type.adoc[ALTER TYPE] :: |
| 19 | +xref:cassandra:developing/cql/types.adoc#udts[ALTER TYPE] :: |
20 | 20 | Modifies an existing user-defined type (UDT). |
21 | 21 |
|
22 | | -xref:reference/cql-commands/alter-user.adoc[ALTER USER (Deprecated)] :: |
| 22 | +xref:cassandra:developing/cql/security.adoc#alter-user-statement[ALTER USER (Deprecated)] :: |
23 | 23 | Deprecated. Alter existing user options. |
24 | 24 |
|
25 | | -xref:reference/cql-commands/batch.adoc[BATCH] :: |
| 25 | +xref:cassandra:developing/cql/dml.adoc#batch_statement[BATCH] :: |
26 | 26 | Applies multiple data modification language (DML) statements with atomicity and/or in isolation. |
27 | 27 |
|
28 | | -xref:reference/cql-commands/create-aggregate.adoc[CREATE AGGREGATE] :: |
| 28 | +xref:cassandra:developing/cql/functions.adoc#create-aggregate-statement[CREATE AGGREGATE] :: |
29 | 29 | Defines a user-defined aggregate. |
30 | | -xref:reference/cql-commands/create-custom-index.adoc[CREATE CUSTOM INDEX] :: |
| 30 | +xref:cassandra:reference/cql-commands/create-custom-index.adoc[CREATE CUSTOM INDEX] :: |
31 | 31 | Creates a storage-attached index. |
32 | 32 |
|
33 | | -xref:reference/cql-commands/create-function.adoc[CREATE FUNCTION] :: |
| 33 | +xref:cassandra:developing/cql/functions.adoc#create-function-statement[CREATE FUNCTION] :: |
34 | 34 | Creates custom function to execute user provided code. |
35 | 35 |
|
36 | | -xref:reference/cql-commands/create-index.adoc[CREATE INDEX] :: |
| 36 | +xref:cassandra:reference/cql-commands/create-index.adoc[CREATE INDEX] :: |
37 | 37 | Defines a new index for a single column of a table. |
38 | 38 |
|
39 | | -xref:reference/cql-commands/create-keyspace.adoc[CREATE KEYSPACE] :: |
| 39 | +xref:cassandra:developing/cql/ddl.adoc#create-keyspace-statement[CREATE KEYSPACE] :: |
40 | 40 |
|
41 | | -xref:reference/cql-commands/create-materialized-view.adoc[CREATE MATERIALIZED VIEW] :: |
| 41 | +xref:cassandra:developing/cql/mvs.adoc#create-materialized-view-statement[CREATE MATERIALIZED VIEW] :: |
42 | 42 | Optimizes read requests and eliminates the need for multiple write requests by duplicating data from a base table. |
43 | 43 |
|
44 | | -xref:reference/cql-commands/create-role.adoc[CREATE ROLE] :: |
| 44 | +xref:cassandra:developing/cql/security.adoc#create-role-statement[CREATE ROLE] :: |
45 | 45 | Creates a cluster wide database object used for access control. |
46 | 46 |
|
47 | | -xref:reference/cql-commands/create-table.adoc[CREATE TABLE] :: |
| 47 | +xref:cassandra:reference/cql-commands/create-table.adoc[CREATE TABLE] :: |
48 | 48 | Creates a new table. |
49 | 49 |
|
50 | | -xref:reference/cql-commands/create-type.adoc[CREATE TYPE] :: |
| 50 | +xref:cassandra:developing/cql/types.adoc#udts[CREATE TYPE] :: |
51 | 51 | Creates a custom data type in the keyspace that contains one or more fields of related information. |
52 | 52 |
|
53 | | -xref:reference/cql-commands/create-user.adoc[CREATE USER (Deprecated)] :: |
| 53 | +xref:cassandra:developing/cql/security.adoc#create-user-statement[CREATE USER (Deprecated)] :: |
54 | 54 | Deprecated. Creates a new user. |
55 | 55 |
|
56 | | -xref:reference/cql-commands/delete.adoc[DELETE] :: |
| 56 | +xref:cassandra:developing/cql/dml.adoc#delete_statement[DELETE] :: |
57 | 57 | Removes data from one or more columns or removes the entire row |
58 | 58 |
|
59 | | -xref:reference/cql-commands/drop-aggregate.adoc[DROP AGGREGATE] :: |
| 59 | +xref:cassandra:developing/cql/functions.adoc#drop-aggregate-statement[DROP AGGREGATE] :: |
60 | 60 | Deletes a user-defined aggregate from a keyspace. |
61 | 61 |
|
62 | | -xref:reference/cql-commands/drop-function.adoc[DROP FUNCTION] :: |
| 62 | +xref:cassandra:developing/cql/functions.adoc#drop-function-statement[DROP FUNCTION] :: |
63 | 63 | Deletes a user-defined function (UDF) from a keyspace. |
64 | 64 |
|
65 | | -xref:reference/cql-commands/drop-index.adoc[DROP INDEX] :: |
| 65 | +xref:cassandra:reference/cql-commands/drop-index.adoc[DROP INDEX] :: |
66 | 66 | Removes an index from a table. |
67 | 67 |
|
68 | | -xref:reference/cql-commands/drop-keyspace.adoc[DROP KEYSPACE] :: |
| 68 | +xref:cassandra:developing/cql/ddl.adoc#drop-keyspace-statement[DROP KEYSPACE] :: |
69 | 69 | Removes the keyspace. |
70 | 70 |
|
71 | | -xref:reference/cql-commands/drop-materialized-view.adoc[DROP MATERIALIZED VIEW] :: |
| 71 | +xref:cassandra:developing/cql/mvs.adoc#drop-materialized-view-statement[DROP MATERIALIZED VIEW] :: |
72 | 72 | Removes the named materialized view. |
73 | 73 |
|
74 | | -xref:reference/cql-commands/drop-role.adoc[DROP ROLE] :: |
| 74 | +xref:cassandra:developing/cql/security.adoc#drop-role-statement[DROP ROLE] :: |
75 | 75 | Removes a role. |
76 | 76 |
|
77 | | -xref:reference/cql-commands/drop-table.adoc[DROP TABLE] :: |
| 77 | +xref:cassandra:reference/cql-commands/drop-table.adoc[DROP TABLE] :: |
78 | 78 | Removes the table. |
79 | 79 |
|
80 | | -xref:reference/cql-commands/drop-type.adoc[DROP TYPE] :: |
| 80 | +xref:cassandra:developing/cql/types.adoc#udts[DROP TYPE] :: |
81 | 81 | Drop a user-defined type. |
82 | 82 |
|
83 | | -xref:reference/cql-commands/drop-user.adoc[DROP USER (Deprecated)] :: |
| 83 | +xref:cassandra:developing/cql/security.adoc#drop-user-statement[DROP USER (Deprecated)] :: |
84 | 84 | Removes a user. |
85 | 85 |
|
86 | | -xref:reference/cql-commands/grant.adoc[GRANT] :: |
| 86 | +xref:cassandra:developing/cql/security.adoc#grant-permission-statement[GRANT] :: |
87 | 87 | Allow access to database resources. |
88 | 88 |
|
89 | | -xref:reference/cql-commands/insert.adoc[INSERT] :: |
| 89 | +xref:cassandra:developing/cql/dml.adoc#insert-statement[INSERT] :: |
90 | 90 | Inserts an entire row or upserts data into existing rows. |
91 | 91 |
|
92 | | -xref:reference/cql-commands/list-permissions.adoc[LIST PERMISSIONS] :: |
| 92 | +xref:cassandra:developing/cql/security.adoc#list-permissions-statement[LIST PERMISSIONS] :: |
93 | 93 | Lists permissions on resources. |
94 | 94 |
|
95 | | -xref:reference/cql-commands/list-roles.adoc[LIST ROLES] :: |
| 95 | +xref:cassandra:developing/cql/security.adoc#list-roles-statement[LIST ROLES] :: |
96 | 96 | Lists roles and shows superuser and login status. |
97 | 97 |
|
98 | | -xref:reference/cql-commands/list-users.adoc[LIST USERS (Deprecated)] :: |
| 98 | +xref:cassandra:developing/cql/security.adoc#list-users-statement[LIST USERS (Deprecated)] :: |
99 | 99 | Lists existing internal authentication users and their superuser status. |
100 | 100 |
|
101 | | -xref:reference/cql-commands/restrict.adoc[RESTRICT] :: |
102 | | -Denies the permission on a resource, even if the role is directly granted or inherits permissions. |
103 | | - |
104 | | -xref:reference/cql-commands/restrict-rows.adoc[RESTRICT ROWS] :: |
105 | | -Configures the column used for row-level access control. |
106 | | - |
107 | | -xref:reference/cql-commands/revoke.adoc[REVOKE] :: |
| 101 | +xref:cassandra:developing/cql/security.adoc#revoke-permission-statement[REVOKE] :: |
108 | 102 | Removes privileges on database objects from roles. |
109 | 103 |
|
110 | | -xref:reference/cql-commands/select.adoc[SELECT] :: |
| 104 | +xref:cassandra:developing/cql/dml.adoc#select-statement[SELECT] :: |
111 | 105 | Returns data from a table. |
112 | 106 |
|
113 | | -xref:reference/cql-commands/truncate.adoc[TRUNCATE] :: |
| 107 | +xref:cassandra:developing/cql/ddl.adoc#truncate-statement[TRUNCATE] :: |
114 | 108 | Removes all data from a table. |
115 | 109 |
|
116 | | -xref:reference/cql-commands/unrestrict.adoc[UNRESTRICT] :: |
117 | | -Removes a restriction from a role. |
118 | | - |
119 | | -xref:reference/cql-commands/unrestrict-rows.adoc[UNRESTRICT ROWS] :: |
120 | | -Removes the column definition for row-level access control. |
121 | | - |
122 | | -xref:reference/cql-commands/update.adoc[UPDATE] :: |
| 110 | +xref:cassandra:developing/cql/dml.adoc#update-statement[UPDATE] :: |
123 | 111 | Modifies one or more column values to a row in a table. |
124 | 112 |
|
125 | | -xref:reference/cql-commands/use.adoc[USE] :: |
126 | | -Selects the keyspace for the current client session. |
| 113 | +xref:cassandra:developing/cql/ddl.adoc#use-statement[USE] :: |
| 114 | +Selects the keyspace for the current client session. |
0 commit comments