Connect, login, close connection to Cassandra
RC.connect connects a to a host running Cassandra. All
subsequent operations are performed on the handle returned by this
RC.close closes a Cassandra connection.
RC.login perform an authentication request.
1 2 3
host name or IP address to connect to using TCP/IP
port to connect to on the above host
connection handle as returned by
username for the authentication dictionary
password for the authentication dictionary
RC.connect return an opaque connection handle that has to be
used for all subsequent calls on the same connection.
RCassandra uses low-level system calls to communicate with
Cassandra, this handle is not an R connection.
RC.close closes an existing Cassandra connection.
RC.login sends an authenticataion request with the given
credentials. How this is processed depend on the authentication module
use in the Cassandra instance this connection connects to.
RC.connect returns a Cassandra connection handle.
1 2 3 4 5 6 7 8