PHP Interface Cassandra\Table

Afficher le fichier Open project: datastax/php-driver

Méthodes publiques

Méthode Description
bloomFilterFPChance ( ) : float Returns bloom filter FP chance
caching ( ) : string Returns caching options
clusteringKey ( ) : array Returns the clustering key columns of the table
clusteringOrder ( ) : array
column ( string $name ) : Cassandra\Column Returns column by name
columns ( ) : array Returns all columns in this table
comment ( ) : string Description of the table, if any
compactionStrategyClassName ( ) : string Returns compaction strategy class name
compactionStrategyOptions ( ) : Cassandra\Map Returns compaction strategy options
compressionParameters ( ) : Cassandra\Map Returns compression parameters
defaultTTL ( ) : integer Returns default TTL.
gcGraceSeconds ( ) : integer Returns GC grace seconds
indexInterval ( ) : integer Returns index interval
localReadRepairChance ( ) : float Returns local read repair chance
maxIndexInterval ( ) : integer Returns the value of max_index_interval
memtableFlushPeriodMs ( ) : integer Returns memtable flush period in milliseconds
minIndexInterval ( ) : integer Returns the value of min_index_interval
name ( ) : string Returns the name of this table
option ( $name ) : Cassandra\Value Return a table's option by name
options ( ) : array Returns all the table's options
partitionKey ( ) : array Returns the partition key columns of the table
populateIOCacheOnFlush ( ) : boolean Returns whether or not the populate_io_cache_on_flush is true
primaryKey ( ) : array Returns both the partition and clustering key columns of the table
readRepairChance ( ) : float Returns read repair chance
replicateOnWrite ( ) : boolean Returns whether or not the replicate_on_write is true
speculativeRetry ( ) : string Returns speculative retry.

Method Details

bloomFilterFPChance() public méthode

Returns bloom filter FP chance
public bloomFilterFPChance ( ) : float
Résultat float Bloom filter FP chance

caching() public méthode

Returns caching options
public caching ( ) : string
Résultat string Caching options

clusteringKey() public méthode

Returns the clustering key columns of the table
public clusteringKey ( ) : array
Résultat array A list of of `Cassandra\Column` instances

clusteringOrder() public méthode

public clusteringOrder ( ) : array
Résultat array A list of cluster column orders ('asc' and 'desc')

column() public méthode

Returns column by name
public column ( string $name ) : Cassandra\Column
$name string Name of the column
Résultat Cassandra\Column Column instance

columns() public méthode

Returns all columns in this table
public columns ( ) : array
Résultat array A list of `Cassandra\Column` instances

comment() public méthode

Description of the table, if any
public comment ( ) : string
Résultat string Table description or null

compactionStrategyClassName() public méthode

Returns compaction strategy class name
public compactionStrategyClassName ( ) : string
Résultat string Compaction strategy class name

compactionStrategyOptions() public méthode

Returns compaction strategy options
public compactionStrategyOptions ( ) : Cassandra\Map
Résultat Cassandra\Map Compaction strategy options

compressionParameters() public méthode

Returns compression parameters
public compressionParameters ( ) : Cassandra\Map
Résultat Cassandra\Map Compression parameters

defaultTTL() public méthode

Returns default TTL.
public defaultTTL ( ) : integer
Résultat integer Default TTL.

gcGraceSeconds() public méthode

Returns GC grace seconds
public gcGraceSeconds ( ) : integer
Résultat integer GC grace seconds

indexInterval() public méthode

Returns index interval
public indexInterval ( ) : integer
Résultat integer Index interval

localReadRepairChance() public méthode

Returns local read repair chance
public localReadRepairChance ( ) : float
Résultat float Local read repair chance

maxIndexInterval() public méthode

Returns the value of max_index_interval
public maxIndexInterval ( ) : integer
Résultat integer Value of `max_index_interval` or null

memtableFlushPeriodMs() public méthode

Returns memtable flush period in milliseconds
public memtableFlushPeriodMs ( ) : integer
Résultat integer Memtable flush period in milliseconds

minIndexInterval() public méthode

Returns the value of min_index_interval
public minIndexInterval ( ) : integer
Résultat integer Value of `min_index_interval` or null

name() public méthode

Returns the name of this table
public name ( ) : string
Résultat string Name of the table

option() public méthode

Return a table's option by name
public option ( $name ) : Cassandra\Value
Résultat Cassandra\Value Value of an option by name

options() public méthode

Returns all the table's options
public options ( ) : array
Résultat array A dictionary of `string` and `Cassandra\Value pairs of the view's options.

partitionKey() public méthode

Returns the partition key columns of the table
public partitionKey ( ) : array
Résultat array A list of of `Cassandra\Column` instances

populateIOCacheOnFlush() public méthode

Returns whether or not the populate_io_cache_on_flush is true
public populateIOCacheOnFlush ( ) : boolean
Résultat boolean Value of `populate_io_cache_on_flush` or null

primaryKey() public méthode

Returns both the partition and clustering key columns of the table
public primaryKey ( ) : array
Résultat array A list of of `Cassandra\Column` instances

readRepairChance() public méthode

Returns read repair chance
public readRepairChance ( ) : float
Résultat float Read repair chance

replicateOnWrite() public méthode

Returns whether or not the replicate_on_write is true
public replicateOnWrite ( ) : boolean
Résultat boolean Value of `replicate_on_write` or null

speculativeRetry() public méthode

Returns speculative retry.
public speculativeRetry ( ) : string
Résultat string Speculative retry.