Skip to content

ClusteringKey

Source code in docs_src/capo_keyspaces/types/clustering_key.py
class ClusteringKey(TypedDict, closed=True):
    name: "capo_keyspaces.types.generic_string.GenericString"
    """<p>The name(s) of the clustering column(s).</p>"""
    order_by: "capo_keyspaces.types.sort_order.SortOrder"
    """<p>Sets the ascendant (<code>ASC</code>) or descendant (<code>DESC</code>) order modifier.</p>"""

name instance-attribute

The name(s) of the clustering column(s).

order_by instance-attribute

order_by: SortOrder

Sets the ascendant (ASC) or descendant (DESC) order modifier.