RC.cluster.name {RCassandra}R Documentation

Functions retrieving meta-information from a Cassandra connection

Description

RC.cluster.name returns the name of the cluster.

RC.version returns the protocol version.

RC.describe.keyspace returns a keyspace definition.

RC.describe.keyspaces returns a list of definitions for all keyspaces.

Usage

RC.cluster.name(conn)
RC.version(conn)
RC.describe.keyspaces(conn)
RC.describe.keyspace(conn, keyspace)

Arguments

conn

connection handle are returned by RC.connect

keyspace

string, name of the keyspace to describe

Value

For RC.cluster.name and RC.version a string.

For RC.describe.keyspace a structure describing the keyspace - see KsDef structure in Cassandra.

For RC.describe.keyspaces a list of the KsDef strctures.

Author(s)

Simon Urbanek

See Also

RC.connect, RC.get


[Package RCassandra version 0.1-3 Index]