com.datastax.spark.connector.cql
Returns a common data center name of the given contact points.
Returns a common data center name of the given contact points.
For each contact point there must be a Host in allHosts
collection in order to determine its data center
name. If contact points belong to more than a single data center, an IllegalArgumentException is thrown.
Returns true if given host is local host
Sorts nodes in the following order: 1.
Sorts nodes in the following order: 1. local node in a given DC 2. live nodes in a given DC 3. the rest of nodes in a given DC
Nodes within a group are ordered randomly. Nodes from other DCs are not included.