Latest Post

Sunday, 18 December 2016

What is Statements in Cassandra Query Language [CQL]

CQL Statements

CQL statements can be divided in the following categories:

  • Data Definition statements
  • Data Manipulation statements
  • Secondary Indexes statements.
  • Materialized Views statements.
  • Database Roles and Permissions statements
  • User-Defined Functions statements.
  • User-Defined Types statements.
  • Triggers statements.

All the statements are listed below

CQL Statements categories
statement purpose
Data Definition statements
use_statement
create_keyspace_statement
alter_keyspace_statement
drop_keyspace_statement
create_table_statement
alter_table_statement
drop_table_statement
truncate_statement
Data Manipulation statements
select_statement
insert_statement
update_statement
delete_statement
batch_statement
Secondary Indexes statements
create_index_statement
drop_index_statement
Materialized Views statements
create_materialized_view_statement
drop_materialized_view_statement
Database Roles and Permissions statements
create_role_statement
alter_role_statement
drop_role_statement
grant_role_statement
revoke_role_statement
list_roles_statement
grant_permission_statement
revoke_permission_statement
list_permissions_statement
create_user_statement
alter_user_statement
drop_user_statement
list_users_statement
User-Defined Functions statements
create_function_statement
drop_function_statement
create_aggregate_statement
drop_aggregate_statement
User-Defined Types statements
create_type_statement
alter_type_statement
drop_type_statement
Triggers statements
create_trigger_statement
drop_trigger_statement



Government Jobs