src/main/java/com/github/ddth/cql/internal/SessionIdentifier.java
public static SessionIdentifier getInstance(String hostsAndPorts, String username,
            String password, String keyspace) {
        return getInstance(hostsAndPorts, username, password, null, keyspace);
    }
public static SessionIdentifier getInstance(String hostsAndPorts, String username,
            String password, String keyspace) {
        return getInstance(hostsAndPorts, username, password, null, keyspace);
    }
public static SessionIdentifier getInstance ( String hostsAndPorts , String username , String password , String keyspace ) { return getInstance ( hostsAndPorts , username , password , null , keyspace ) ; }
Helper method to get an instance of {@link SessionIdentifier}.

@param hostsAndPorts
example {@code "localhost:9042,host2,host3:19042"}
@param username
username to authenticate against Cassandra cluster
@param password
password to authenticate against Cassandra cluster
@param keyspace
keyspace to connect to
@return
Helper method to get an instance of { @link SessionIdentifier } .