This method will filter the columns from a Clustering Order definition.
This method will filter the columns from a Clustering Order definition. It is used to define TimeSeries tables, using the ClusteringOrder trait combined with a directional trait, either Ascending or Descending.
This method will simply add to the trailing of a query.
The clustering key, defined as a string or the empty string.
Creates an index on the keys on any column except for a Map column which requires special handling.
Creates an index on the keys on any column except for a Map column which requires special handling. By default, mixing an index in a column will result in an index created on the values of the column.
The name of the table to create the index on.
The keyspace to whom the table belongs to.
The name of the column to create the secondary index on.
A CQLQuery containing the valid CQL of creating a secondary index on a Cassandra column.
Creates an index on the entries of a Map column.
Creates an index on the entries of a Map column. By default, mixing an index in a column will result in an index created on the values of the map. To allow secondary indexing on entries, Cassandra appends a ENTRIES($column) wrapper to the CQL query.
The name of the table to create the index on.
The keyspace to whom the table belongs to.
The name of the column to create the secondary index on.
A CQLQuery containing the valid CQL of creating a secondary index for the entries of a Map column.
Creates an index on the keys of a Map column.
Creates an index on the keys of a Map column. By default, mixing an index in a column will result in an index created on the values of the map. To allow secondary indexing on Keys, Cassandra appends a KEYS($column) wrapper to the CQL query.
The name of the table to create the index on.
The keyspace to whom the table belongs to.
The name of the column to create the secondary index on.
A CQLQuery containing the valid CQL of creating a secondary index for the keys of a Map column.e
This method will define the PRIMARY_KEY of the table.
This method will define the PRIMARY_KEY of the table.
- For more than one partition key, it will define a Composite Key. Example: PRIMARY_KEY((partition_key_1, partition_key2), primary_key_1, etc..)
- For a single partition key, it will define a Compound Key. Example: PRIMARY_KEY(partition_key_1, primary_key_1, primary_key_2)
- For no partition key, it will throw an exception.
A string value representing the primary key of the table.