/** * Build a new DSE cluster instance. * * @param hostsAndPorts * format: "host1:port1,host2,host3:port3". If no port is * specified, the {@link #DEFAULT_CASSANDRA_PORT} is used. * @param username * @param password * @param proxiedUser * DSE allows a user to connect as another user or role, provide the name of the * user/role you want to connect as via this parameter * @return */ public static DseCluster newDseCluster(String hostsAndPorts, String username, String password, String proxiedUser) { return newDseCluster(hostsAndPorts, username, password, proxiedUser, null); }
/** * {@inheritDoc} */ @Override protected DseCluster createCluster(ClusterIdentifier ci) { return DseUtils.newDseCluster(ci.hostsAndPorts, ci.username, ci.password, ci.authorizationId, getConfiguration()); }