Description Usage Arguments Details Value Author(s) Examples
RC.connect
connects a to a host running Cassandra. All
subsequent operations are performed on the handle returned by this
function.
RC.close
closes a Cassandra connection.
RC.login
perform an authentication request.
1 2 3 | RC.connect(host = NULL, port = 9160L)
RC.close(conn)
RC.login(conn, username = "default", password = "")
|
host |
host name or IP address to connect to using TCP/IP |
port |
port to connect to on the above host |
conn |
connection handle as returned by |
username |
username for the authentication dictionary |
password |
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.
RC.close
return NULL
RC.login
returns conn
.
Simon Urbanek
1 2 3 4 5 6 7 8 | ## Not run:
c <- RC.connect("cassandra-host")
RC.login(c, "foo", "bar")
RC.cluster.name(c)
RC.describe.keyspaces(c)
RC.close(c)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.