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

Dse\Table instance or null

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

Get user type by name

Returns:
Type Details
Type\UserType|null

Get user type by name

array

userTypes

( )

Get all user types

Returns:
Type Details
array

Get all user types

MaterizedView null

materializedView

( string $name )

Get materialized view by name

Parameters:
Name Type Details
$name string

Get materialized view by name

Returns:
Type Details
MaterizedView|null

Get materialized view by name

array

materializedViews

( )

Gets all materialized views

Returns:
Type Details
array

Gets all materialized views

Function null

function_

( string $name, mixed $params )

Get a function by name and signature

Parameters:
Name Type Details
$name string

Get a function by name and signature

$params string|Dse\Type

Get a function by name and signature

Returns:
Type Details
Function|null

Get a function by name and signature

array

functions

( )

Get all functions

Returns:
Type Details
array

Get all functions

Dse\Aggregate null

aggregate

( string $name, mixed $params )

Get an aggregate by name and signature

Parameters:
Name Type Details
$name string

Get an aggregate by name and signature

$params string|Dse\Type

Get an aggregate by name and signature

Returns:
Type Details
Aggregate|null

Get an aggregate by name and signature

array

aggregates

( )

Get all aggregates

Returns:
Type Details
array

Get all aggregates