internal void UpdateLocalInfo(Row row) { var localhost = _host; // Update cluster name, DC and rack for the one node we are connected to var clusterName = row.GetValue <string>("cluster_name"); if (clusterName != null) { _metadata.ClusterName = clusterName; } localhost.SetLocationInfo(row.GetValue <string>("data_center"), row.GetValue <string>("rack")); SetCassandraVersion(localhost, row); localhost.Tokens = row.GetValue <IEnumerable <string> >("tokens") ?? new string[0]; _metadata.SetCassandraVersion(localhost.CassandraVersion); }