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 whether this keyspace has an index with the given name
-
Parameters:
-
| Name |
Type |
Details |
| name |
String |
index name
|
-
Returns:
-
| Type |
Details |
Boolean |
whether this keyspace has an index with the given name
|
Returns an index or nil
-
Parameters:
-
| Name |
Type |
Details |
| name |
String |
index name
|
-
Returns:
-
| Type |
Details |
(Index or nil) |
an index or nil
|
Yield or enumerate each index defined in this keyspace
- Overloads:
-
Returns self
-
Yield Parameters:
-
| Name |
Type |
Details |
| index |
Index |
current index
|
-
Returns:
-
Returns a list of indexes
-
Returns:
-
| Type |
Details |
Array<Index> |
a list of indexes
|
Returns whether this keyspace has a materialized view with the given name
-
Parameters:
-
| Name |
Type |
Details |
| name |
String |
materialized view name
|
-
Returns:
-
| Type |
Details |
Boolean |
whether this keyspace has a materialized view with the given name
|
Returns a materialized view or nil
-
Parameters:
-
| Name |
Type |
Details |
| name |
String |
materialized view name
|
-
Returns:
-
Yield or enumerate each materialized view defined in this keyspace
- Overloads:
-
Returns self
-
Yield Parameters:
-
-
Returns:
-
Returns a list of materialized views
-
Returns:
-
Returns whether this keyspace has a user-defined type with the
given name
-
Parameters:
-
| Name |
Type |
Details |
| name |
String |
user-defined type name
|
-
Returns:
-
| Type |
Details |
Boolean |
whether this keyspace has a user-defined type with the
given name
|
Returns a type or nil
-
Parameters:
-
| Name |
Type |
Details |
| name |
String |
user-defined type name
|
-
Returns:
-
Yield or enumerate each user-defined type present in this keyspace
- Overloads:
-
Returns self
-
Yield Parameters:
-
-
Returns:
-
Returns a list of user-defined types
-
Returns:
-
Returns whether this keyspace has a function with the given name and
arguments
-
Parameters:
-
| Name |
Type |
Details |
| name |
String |
function name
|
| args |
Array<String> |
(var-args style) function argument types
|
-
Returns:
-
| Type |
Details |
Boolean |
whether this keyspace has a function with the given name and
arguments
|
Returns a function or nil
-
Parameters:
-
| Name |
Type |
Details |
| name |
String |
function name
|
| args |
Array<String> |
(var-args style) function argument types
|
-
Returns:
-
| Type |
Details |
(Function or nil) |
a function or nil
|
Yield or enumerate each function defined in this keyspace
- Overloads:
-
Returns self
-
Yield Parameters:
-
| Name |
Type |
Details |
| function |
Function |
current function
|
-
Returns:
-
Returns a list of functions
-
Returns:
-
| Type |
Details |
Array<Function> |
a list of functions
|
Returns whether this keyspace has an aggregate with the given
name and arguments
-
Parameters:
-
| Name |
Type |
Details |
| name |
String |
aggregate name
|
| args |
Array<String> |
(var-args style) aggregate function argument types
|
-
Returns:
-
| Type |
Details |
Boolean |
whether this keyspace has an aggregate with the given
name and arguments
|
Returns an aggregate or nil
-
Parameters:
-
| Name |
Type |
Details |
| name |
String |
aggregate name
|
| args |
Array<String> |
(var-args style) aggregate function argument types
|
-
Returns:
-
| Type |
Details |
(Aggregate or nil) |
an aggregate or nil
|
Yield or enumerate each aggregate defined in this keyspace
- Overloads:
-
Returns self
-
Yield Parameters:
-
| Name |
Type |
Details |
| aggregate |
Aggregate |
current aggregate
|
-
Returns:
-
Returns a list of aggregates
-
Returns:
-
| Type |
Details |
Array<Aggregate> |
a list of aggregates
|
Returns a cql representation of this keyspace
-
Returns:
-
| Type |
Details |
String |
a cql representation of this keyspace
|