CQL Keywords
Table of keywords and whether or not the words are reserved.
This table lists keywords and whether or not the words are reserved. A reserved keyword cannot be used as an identifier unless you enclose the word in double quotation marks. Non-reserved keywords have a specific meaning in certain context but can be used as an identifier outside this context.
Keyword | Reserved |
---|---|
ADD | yes |
ALL | no |
ALLOW | yes |
ALTER | yes |
AND | yes |
ANY | yes |
APPLY | yes |
ASC | yes |
ASCII | no |
AUTHORIZE | yes |
BATCH | yes |
BEGIN | yes |
BIGINT | no |
BLOB | no |
BOOLEAN | no |
BY | yes |
CLUSTERING | no |
COLUMNFAMILY | yes |
COMPACT | no |
COUNT | no |
COUNTER | no |
CONSISTENCY | no |
CREATE | yes |
DECIMAL | no |
DELETE | yes |
DESC | yes |
DOUBLE | no |
DROP | yes |
EACH_QUORUM | yes |
FILTERING | no |
FLOAT | no |
FROM | yes |
GRANT | yes |
IN | yes |
INDEX | yes |
INET | yes |
INSERT | yes |
INT | no |
INTO | yes |
KEY | no |
KEYSPACE | yes |
KEYSPACES | yes |
LEVEL | no |
LIMIT | yes |
LIST | no |
LOCAL_ONE | yes |
LOCAL_QUORUM | yes |
MAP | no |
MODIFY | yes |
NORECURSIVE | yes |
NOSUPERUSER | no |
OF | yes |
ON | yes |
ONE | yes |
ORDER | yes |
PASSWORD | yes |
PERMISSION | no |
PERMISSIONS | no |
PRIMARY | yes |
QUORUM | yes |
RENAME | yes |
REVOKE | yes |
SCHEMA | yes |
SELECT | yes |
SET | yes |
STORAGE | no |
SUPERUSER | no |
TABLE | yes |
TEXT | no |
TIMESTAMP | no |
TIMEUUID | no |
TO | yes |
TOKEN | yes |
THREE | yes |
TRUNCATE | yes |
TTL | no |
TWO | yes |
TYPE | no |
UNLOGGED | yes |
UPDATE | yes |
USE | yes |
USER | no |
USERS | no |
USING | yes |
UUID | no |
VALUES | no |
VARCHAR | no |
VARINT | no |
WHERE | yes |
WITH | yes |
WRITETIME | no |