go to  ForumEasy.com   
JavaPro
Home » Archive » Message


[Email To Friend][View in Live Context][prev topic « prev post | next post » next topic]
  How do I know what 'column' the table currently holds?
 
Subject: How do I know what 'column' the table currently holds?
Author: EricJ
In response to: How do I know what 'table' the keyspace currently holds?
Posted on: 09/30/2015 01:54:54 AM


cqlsh> desc playlist.artists_by_first_letter;

CREATE TABLE playlist.artists_by_first_letter (
    first_letter text,
    artist text,
    PRIMARY KEY (first_letter, artist)
) WITH CLUSTERING ORDER BY (artist ASC)
    AND bloom_filter_fp_chance = 0.01
    AND caching = '{"keys":"ALL", "rows_per_partition":"NONE"}'
    AND comment = ''
    AND compaction = {'class': 'org.apache.cassandra.db.compaction.SizeTieredCom
pactionStrategy'}
    AND compression = {'sstable_compression': 'org.apache.cassandra.io.compress.
LZ4Compressor'}
    AND dclocal_read_repair_chance = 0.1
    AND default_time_to_live = 0
    AND gc_grace_seconds = 864000
    AND max_index_interval = 2048
    AND memtable_flush_period_in_ms = 0
    AND min_index_interval = 128
    AND read_repair_chance = 0.0
    AND speculative_retry = '99.0PERCENTILE';




 

> On 09/30/2015 01:54:06 AM EricJ wrote:


cqlsh> desc playlist;






References:

 


 
Powered by ForumEasy © 2002-2022, All Rights Reserved. | Privacy Policy | Terms of Use
 
Get your own forum today. It's easy and free.