src/main/java/com/github/ddth/cql/DseSessionManager.java
public DseSession getSession(String hostsAndPorts, String username, String password,
            String authorizationId, String keyspace, boolean forceNew) {
        return getSession(SessionIdentifier.getInstance(hostsAndPorts, username, password,
                authorizationId, keyspace), forceNew);
    }
public DseSession getSession(String hostsAndPorts, String username, String password,
            String authorizationId, String keyspace, boolean forceNew) {
        return getSession(SessionIdentifier.getInstance(hostsAndPorts, username, password,
                authorizationId, keyspace), forceNew);
    }
public DseSession getSession ( String hostsAndPorts , String username , String password , String authorizationId , String keyspace , boolean forceNew ) { return getSession ( SessionIdentifier . getInstance ( hostsAndPorts , username , password , authorizationId , keyspace ) , forceNew ) ; }
Obtain a DSE session instance.

@param hostsAndPorts
@param username
@param password
@param authorizationId
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
@param keyspace
@param forceNew
force create new session instance (the existing one, if any,
will be closed by calling {@link Session#closeAsync()})
@return
@throws NoHostAvailableException
@throws AuthenticationException
Obtain a DSE session instance .