Represents a cassandra keyspace
- See Also:
-
Inherits
Object
Methods
Returns this keyspace name
-
Returns:
-
| Type |
Details |
String |
this keyspace name
|
Returns whether durables writes are enabled for this keyspace
-
Returns:
-
| Type |
Details |
Boolean |
whether durables writes are enabled for this keyspace
|
Returns whether this keyspace has a table with the given name
-
Parameters:
-
| Name |
Type |
Details |
| name |
String |
table name
|
-
Returns:
-
| Type |
Details |
Boolean |
whether this keyspace has a table with the given name
|
Returns a table or nil
-
Parameters:
-
| Name |
Type |
Details |
| name |
String |
table name
|
-
Returns:
-
| Type |
Details |
(Table or nil) |
a table or nil
|
Yield or enumerate each table defined in this keyspace
- Overloads:
-
Returns self
-
Yield Parameters:
-
| Name |
Type |
Details |
| table |
Table |
current table
|
-
Returns:
-
Returns a list of tables
-
Returns:
-
| Type |
Details |
Array<Table> |
a list of tables
|
Returns a cql representation of this table
-
Returns:
-
| Type |
Details |
String |
a cql representation of this table
|
Returns whether this keyspace is equal to the other
-
Returns:
-
| Type |
Details |
Boolean |
whether this keyspace is equal to the other
|
Returns a CLI-friendly keyspace representation
-
Returns:
-
| Type |
Details |
String |
a CLI-friendly keyspace representation
|