DefaultMaterializedView
final class DefaultMaterializedView extends MaterializedView (View source)
A PHP representation of a materialized view
Methods
Returns the name of this view
Returns all the view's options
Description of the view, if any
Returns read repair chance
Returns local read repair chance
Returns GC grace seconds
Returns caching options
Returns bloom filter FP chance
Returns memtable flush period in milliseconds
Returns default TTL.
Returns speculative retry.
Returns index interval
Returns compaction strategy class name
Returns compaction strategy options
Returns compression parameters
Returns whether or not the populate_io_cache_on_flush
is true
Returns whether or not the replicate_on_write
is true
Returns the value of max_index_interval
Returns the value of min_index_interval
Returns all columns in this view
Returns the partition key columns of the view
Returns both the partition and clustering key columns of the view
Returns the clustering key columns of the view
No description
Details
Table
baseTable()
Returns the base table of the view
string
name()
Returns the name of this view
Value
option(string $name)
Return a view's option by name
array
options()
Returns all the view's options
string
comment()
Description of the view, if any
float
readRepairChance()
Returns read repair chance
float
localReadRepairChance()
Returns local read repair chance
int
gcGraceSeconds()
Returns GC grace seconds
string
caching()
Returns caching options
float
bloomFilterFPChance()
Returns bloom filter FP chance
int
memtableFlushPeriodMs()
Returns memtable flush period in milliseconds
int
defaultTTL()
Returns default TTL.
string
speculativeRetry()
Returns speculative retry.
int
indexInterval()
Returns index interval
string
compactionStrategyClassName()
Returns compaction strategy class name
Map
compactionStrategyOptions()
Returns compaction strategy options
Map
compressionParameters()
Returns compression parameters
bool
populateIOCacheOnFlush()
Returns whether or not the populate_io_cache_on_flush
is true
bool
replicateOnWrite()
Returns whether or not the replicate_on_write
is true
int
maxIndexInterval()
Returns the value of max_index_interval
int
minIndexInterval()
Returns the value of min_index_interval
Column
column(string $name)
Returns column by name
array
columns()
Returns all columns in this view
array
partitionKey()
Returns the partition key columns of the view
array
primaryKey()
Returns both the partition and clustering key columns of the view
array
clusteringKey()
Returns the clustering key columns of the view
array
clusteringOrder()
No description