Creates the ADD part of an alter query for a column name and a type.
Creates the ADD part of an alter query for a column name and a type. This is used when new columns are added to an existing definitions. It will return only the last part of the clause, as follows:
ADD $column $columnType.
The existing built query to append to.
The name of the column to add in the alter query.
The type of the new column.
A CQLQuery enclosing the ADD part of an alter query.
Used to create the query string of a static column.
Used to create the query string of a static column. Creates the ADD part of an alter query for a column name and a type. Appends a STATIC modifier to the column definition. This is used when new columns are added to an existing definitions. It will return only the last part of the clause, as follows:
ADD $column $columnType.
The existing built query to append to.
The name of the column to add in the alter query.
The type of the new column.
A CQLQuery enclosing the ADD part of an alter query.
Creates the alter part of an ALTER query, used when changing the type of existing columns.
Creates the alter part of an ALTER query, used when changing the type of existing columns.
ALTER $column TYPE $columnType.
The name of the column to add in the alter query.
The type of the new column.
A CQLQuery enclosing the ALTER part of an alter query.
Adds an option to an ALTER query from the list of CREATE query options.
Adds an option to an ALTER query from the list of CREATE query options.
Inside an ALTER query, the with
definition is a chainned query, not a multi-part query.
That means every single option call will alter the init part of a query with no
preservation of state or immutable state.
This specific type of option refers to things like: - Compaction strategies - Compression strategies - etc..
The init query clause.
The clause or option to append to the root query.
A new CQL query, where the underlying query contains an option clause.