Class ClusterKey


  • public class ClusterKey
    extends Object
    Cosmos DB Cassandra table cluster key.
    • Constructor Detail

      • ClusterKey

        public ClusterKey()
    • Method Detail

      • name

        public String name()
        Get name of the Cosmos DB Cassandra table cluster key.
        Returns:
        the name value
      • withName

        public ClusterKey withName​(String name)
        Set name of the Cosmos DB Cassandra table cluster key.
        Parameters:
        name - the name value to set
        Returns:
        the ClusterKey object itself.
      • orderBy

        public String orderBy()
        Get order of the Cosmos DB Cassandra table cluster key, only support "Asc" and "Desc".
        Returns:
        the orderBy value
      • withOrderBy

        public ClusterKey withOrderBy​(String orderBy)
        Set order of the Cosmos DB Cassandra table cluster key, only support "Asc" and "Desc".
        Parameters:
        orderBy - the orderBy value to set
        Returns:
        the ClusterKey object itself.