A PHP representation of a keyspace

Implements

Methods

string

name

( )

Returns keyspace name

Returns:
Type Details
string

Name

string

replicationClassName

( )

Returns replication class name

Returns:
Type Details
string

Replication class

Dse\Map

replicationOptions

( )

Returns replication options

Returns:
Type Details
Dse\Map

Replication options

string

hasDurableWrites

( )

Returns whether the keyspace has durable writes enabled

Returns:
Type Details
string

Whether durable writes are enabled

Dse\Table

table

( string $name )

Returns a table by name

Parameters:
Name Type Details
$name string

Dse\Table name

Returns:
Type Details
Dse\Table
array

tables

( )

Returns all tables defined in this keyspace

Returns:
Type Details
array

An array of Table instances

Type\UserType null

userType

( string $name )

Get user type by name

Parameters:
Name Type Details
$name string

User type name

Returns:
Type Details
Type\UserType|null

A user type or null

array

userTypes

( )

Get all user types

Returns:
Type Details
array

An array of user types

MaterizedView null

materializedView

( string $name )

Get materialized view by name

Parameters:
Name Type Details
$name string

Materialized view name

Returns:
Type Details
MaterizedView|null

A materialized view or null

array

materializedViews

( )

Gets all materialized views

Returns:
Type Details
array

An array of materialized views

Dse\Function null

function

( string $name, mixed $params )

Get a function by name and signature

Parameters:
Name Type Details
$name string

Dse\Function name

$params string|Dse\Type

Dse\Function arguments

Returns:
Type Details
Function|null

A function or null

array

functions

( )

Get all functions

Returns:
Type Details
array

An array of functions

Dse\Aggregate null

aggregate

( string $name, mixed $params )

Get an aggregate by name and signature

Parameters:
Name Type Details
$name string

Dse\Aggregate name

$params string|Dse\Type

Dse\Aggregate arguments

Returns:
Type Details
Aggregate|null

An aggregate or null

array

aggregates

( )

Get all aggregates

Returns:
Type Details
array

An array of aggregates