PHP Class Cassandra\DefaultTable

Inheritance: implements cassandra\Table
显示文件 Open project: datastax/php-driver

Public Methods

Method Description
bloomFilterFPChance ( ) : float {@inheritDoc}
caching ( ) : string {@inheritDoc}
clusteringKey ( ) : array {@inheritDoc}
clusteringOrder ( ) : array {@inheritDoc}
column ( string $name ) : Cassandra\Column {@inheritDoc}
columns ( ) : array {@inheritDoc}
comment ( ) : string {@inheritDoc}
compactionStrategyClassName ( ) : string {@inheritDoc}
compactionStrategyOptions ( ) : Cassandra\Map {@inheritDoc}
compressionParameters ( ) : Cassandra\Map {@inheritDoc}
defaultTTL ( ) : integer {@inheritDoc}
gcGraceSeconds ( ) : integer {@inheritDoc}
indexInterval ( ) : integer {@inheritDoc}
localReadRepairChance ( ) : float {@inheritDoc}
maxIndexInterval ( ) : integer {@inheritDoc}
memtableFlushPeriodMs ( ) : integer {@inheritDoc}
minIndexInterval ( ) : integer {@inheritDoc}
name ( ) : string {@inheritDoc}
option ( $name ) : Cassandra\Value {@inheritDoc}
options ( ) : array {@inheritDoc}
partitionKey ( ) : array {@inheritDoc}
populateIOCacheOnFlush ( ) : boolean {@inheritDoc}
primaryKey ( ) : array {@inheritDoc}
readRepairChance ( ) : float {@inheritDoc}
replicateOnWrite ( ) : boolean {@inheritDoc}
speculativeRetry ( ) : string {@inheritDoc}

Method Details

bloomFilterFPChance() public method

{@inheritDoc}
public bloomFilterFPChance ( ) : float
return float Bloom filter FP chance

caching() public method

{@inheritDoc}
public caching ( ) : string
return string Caching options

clusteringKey() public method

{@inheritDoc}
public clusteringKey ( ) : array
return array A list of of `Cassandra\Column` instances

clusteringOrder() public method

{@inheritDoc}
public clusteringOrder ( ) : array
return array A list of cluster column orders ('asc' and 'desc')

column() public method

{@inheritDoc}
public column ( string $name ) : Cassandra\Column
$name string Name of the column
return Cassandra\Column Column instance

columns() public method

{@inheritDoc}
public columns ( ) : array
return array A list of `Cassandra\Column` instances

comment() public method

{@inheritDoc}
public comment ( ) : string
return string Table description or null

compactionStrategyClassName() public method

{@inheritDoc}
public compactionStrategyClassName ( ) : string
return string Compaction strategy class name

compactionStrategyOptions() public method

{@inheritDoc}
public compactionStrategyOptions ( ) : Cassandra\Map
return Cassandra\Map Compaction strategy options

compressionParameters() public method

{@inheritDoc}
public compressionParameters ( ) : Cassandra\Map
return Cassandra\Map Compression parameters

defaultTTL() public method

{@inheritDoc}
public defaultTTL ( ) : integer
return integer Default TTL.

gcGraceSeconds() public method

{@inheritDoc}
public gcGraceSeconds ( ) : integer
return integer GC grace seconds

indexInterval() public method

{@inheritDoc}
public indexInterval ( ) : integer
return integer Index interval

localReadRepairChance() public method

{@inheritDoc}
public localReadRepairChance ( ) : float
return float Local read repair chance

maxIndexInterval() public method

{@inheritDoc}
public maxIndexInterval ( ) : integer
return integer Value of `max_index_interval` or null

memtableFlushPeriodMs() public method

{@inheritDoc}
public memtableFlushPeriodMs ( ) : integer
return integer Memtable flush period in milliseconds

minIndexInterval() public method

{@inheritDoc}
public minIndexInterval ( ) : integer
return integer Value of `min_index_interval` or null

name() public method

{@inheritDoc}
public name ( ) : string
return string Name of the table

option() public method

{@inheritDoc}
public option ( $name ) : Cassandra\Value
return Cassandra\Value Value of an option by name

options() public method

{@inheritDoc}
public options ( ) : array
return array A dictionary of `string` and `Cassandra\Value pairs of the table's options.

partitionKey() public method

{@inheritDoc}
public partitionKey ( ) : array
return array A list of of `Cassandra\Column` instance

populateIOCacheOnFlush() public method

{@inheritDoc}
public populateIOCacheOnFlush ( ) : boolean
return boolean Value of `populate_io_cache_on_flush` or null

primaryKey() public method

{@inheritDoc}
public primaryKey ( ) : array
return array A list of of `Cassandra\Column` instance

readRepairChance() public method

{@inheritDoc}
public readRepairChance ( ) : float
return float Read repair chance

replicateOnWrite() public method

{@inheritDoc}
public replicateOnWrite ( ) : boolean
return boolean Value of `replicate_on_write` or null

speculativeRetry() public method

{@inheritDoc}
public speculativeRetry ( ) : string
return string Speculative retry.