A PHP representation of a table

Implemented by

Methods

string

name

( )

Returns the name of this table

Returns:
Type Details
string

Name of the table

string

comment

( )

Description of the table, if any

Returns:
Type Details
string

Cassandra\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

Index interval

string

compactionStrategyClassName

( )

Returns compaction strategy class name

Returns:
Type Details
string

Compaction strategy class name

Cassandra\Map

compactionStrategyOptions

( )

Returns compaction strategy options

Returns:
Type Details
Cassandra\Map

Compaction strategy options

Cassandra\Map

compressionParameters

( )

Returns compression parameters

Returns:
Type Details
Cassandra\Map

Compression parameters

boolean

populateIOCacheOnFlush

( )

Returns whether or not the populate_io_cache_on_flush is true

Returns:
Type Details
boolean

Cassandra\Value of populate_io_cache_on_flush or null

boolean

replicateOnWrite

( )

Returns whether or not the replicate_on_write is true

Returns:
Type Details
boolean

Cassandra\Value of replicate_on_write or null

int

maxIndexInterval

( )

Returns the value of max_index_interval

Returns:
Type Details
int

Cassandra\Value of max_index_interval or null

int

minIndexInterval

( )

Returns the value of min_index_interval

Returns:
Type Details
int

Cassandra\Value of min_index_interval or null

Cassandra\Column

column

( string $name )

Returns column by name

Parameters:
Name Type Details
$name string

Name of the column

Returns:
Type Details
Cassandra\Column

Cassandra\Column instance

array

columns

( )

Returns all columns in this table

Returns:
Type Details
array

A list of Cassandra::Column instances