Keyspace
interface Keyspace (View source)
A PHP representation of a keyspace
Methods
string
name()
Returns keyspace name
string
replicationClassName()
Returns replication class name
replicationOptions()
Returns replication options
string
hasDurableWrites()
Returns whether the keyspace has durable writes enabled
array
tables()
Returns all tables defined in this keyspace
array
userTypes()
Get all user types
MaterializedView|null
materializedView(string $name)
Get materialized view by name
array
materializedViews()
Gets all materialized views
array
functions()
Get all functions
Aggregate|null
array
aggregates()
Get all aggregates
Details
string
name()
Returns keyspace name
string
replicationClassName()
Returns replication class name
Map
replicationOptions()
Returns replication options
string
hasDurableWrites()
Returns whether the keyspace has durable writes enabled
Table|null
table(string $name)
Returns a table by name
array
tables()
Returns all tables defined in this keyspace
UserType|null
userType(string $name)
Get user type by name
array
userTypes()
Get all user types
MaterializedView|null
materializedView(string $name)
Get materialized view by name
array
materializedViews()
Gets all materialized views
array
functions()
Get all functions
Aggregate|null
aggregate(string $name, string|Type ...$params)
Get an aggregate by name and signature
array
aggregates()
Get all aggregates