A PHP representation of a table

Implements

Methods

string

name

( )

Returns the name of this table

Returns:
Type Details
string

Name of the table

Dse\Value

option

( string $name )

Return a table’s option by name

Parameters:
Name Type Details
$name string

The name of the option

Returns:
Type Details
Dse\Value

Dse\Value of an option by name

array

options

( )

Returns all the table’s options

Returns:
Type Details
array

A dictionary of string and Value pairs of the table’s options.

string

comment

( )

Description of the table, if any

Returns:
Type Details
string

Dse\Table description or null

float

readRepairChance

( )

Returns read repair chance

Returns:
Type Details
float

Read repair chance

float

localReadRepairChance

( )

Returns local read repair chance

Returns:
Type Details
float

Local read repair chance

int

gcGraceSeconds

( )

Returns GC grace seconds

Returns:
Type Details
int

GC grace seconds

string

caching

( )

Returns caching options

Returns:
Type Details
string

Caching options

float

bloomFilterFPChance

( )

Returns bloom filter FP chance

Returns:
Type Details
float

Bloom filter FP chance

int

memtableFlushPeriodMs

( )

Returns memtable flush period in milliseconds

Returns:
Type Details
int

Memtable flush period in milliseconds

int

defaultTTL

( )

Returns default TTL.

Returns:
Type Details
int

Default TTL.

string

speculativeRetry

( )

Returns speculative retry.

Returns:
Type Details
string

Speculative retry.

int

indexInterval

( )

Returns index interval

Returns:
Type Details
int

Dse\Index interval

string

compactionStrategyClassName

( )

Returns compaction strategy class name

Returns:
Type Details
string

Compaction strategy class name

Dse\Map

compactionStrategyOptions

( )

Returns compaction strategy options

Returns:
Type Details
Dse\Map

Compaction strategy options

Dse\Map

compressionParameters

( )

Returns compression parameters

Returns:
Type Details
Dse\Map

Compression parameters

bool

populateIOCacheOnFlush

( )

Returns whether or not the populate_io_cache_on_flush is true

Returns:
Type Details
bool

Dse\Value of populate_io_cache_on_flush or null

bool

replicateOnWrite

( )

Returns whether or not the replicate_on_write is true

Returns:
Type Details
bool

Dse\Value of replicate_on_write or null

int

maxIndexInterval

( )

Returns the value of max_index_interval

Returns:
Type Details
int

Dse\Value of max_index_interval or null

int

minIndexInterval

( )

Returns the value of min_index_interval

Returns:
Type Details
int

Dse\Value of min_index_interval or null

Dse\Column

column

( string $name )

Returns column by name

Parameters:
Name Type Details
$name string

Name of the column

Returns:
Type Details
Dse\Column

Dse\Column instance

array

columns

( )

Returns all columns in this table

Returns:
Type Details
array

A list of Column instances

array

partitionKey

( )

Returns the partition key columns of the table

Returns:
Type Details
array

A list of of Column instance

array

primaryKey

( )

Returns both the partition and clustering key columns of the table

Returns:
Type Details
array

A list of of Column instance

array

clusteringKey

( )

Returns the clustering key columns of the table

Returns:
Type Details
array

A list of of Column instances

array

clusteringOrder

( )
Returns:
Type Details
array

A list of cluster column orders (‘asc’ and ‘desc’)

Dse\Index null

index

( string $name )

Get an index by name

Parameters:
Name Type Details
$name string

Dse\Index name

Returns:
Type Details
Index|null

An index or null

array

indexes

( )

Gets all indexes

Returns:
Type Details
array

An array of indexes

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