{"id":3575,"date":"2019-11-22T08:11:55","date_gmt":"2019-11-22T08:11:55","guid":{"rendered":"https:\/\/prwatech.in\/blog\/?p=3575"},"modified":"2024-04-03T10:01:30","modified_gmt":"2024-04-03T10:01:30","slug":"different-queries-used-in-cassandra","status":"publish","type":"post","link":"https:\/\/prwatech.in\/blog\/cassandra\/cassandra-modules\/different-queries-used-in-cassandra\/","title":{"rendered":"Different Queries Used in Cassandra"},"content":{"rendered":"<h2>Different Queries Used in Cassandra<\/h2>\n<p>&nbsp;<\/p>\n<p><strong>Creating a database in Cassandra:<\/strong><\/p>\n<p><strong>Note: In Cassandra, a Database is named Keyspace.<\/strong><\/p>\n<p><strong>Syntax) <\/strong><\/p>\n<ul>\n<li>Create KEYSPACE demo1<\/li>\n<\/ul>\n<p>with replication={\u2018class\u2019: \u2018SimpleStrategy\u2019, &#8216;replication_factor &#8216;:4};<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3761\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/createKeyspace-1.png\" alt=\"\" width=\"732\" height=\"448\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/createKeyspace-1.png 732w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/createKeyspace-1-300x184.png 300w\" sizes=\"auto, (max-width: 732px) 100vw, 732px\" \/><\/p>\n<ul>\n<li>Create keyspace demo1<\/li>\n<\/ul>\n<p>with replication = {&#8216;class&#8217;:&#8217;NetworkTopologyStrategy&#8217; &#8216;dc1&#8242;:3,&#8217;dc2&#8217;:2};<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3617\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/createKeyspace.png\" alt=\"\" width=\"732\" height=\"448\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/createKeyspace.png 732w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/createKeyspace-300x184.png 300w\" sizes=\"auto, (max-width: 732px) 100vw, 732px\" \/><\/p>\n<ul>\n<li><strong>Listing all the database:<\/strong><\/li>\n<\/ul>\n<p>Syntax: DESRIBE KEYSPACES;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3619\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/describekey.png\" alt=\"\" width=\"729\" height=\"473\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/describekey.png 729w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/describekey-300x195.png 300w\" sizes=\"auto, (max-width: 729px) 100vw, 729px\" \/><\/p>\n<ul>\n<li><strong>Using a Database:<\/strong><\/li>\n<\/ul>\n<p><strong>Syntax)<\/strong><\/p>\n<p>Use KeySpacename;<\/p>\n<p>Ex_ Use Demo1;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3620\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/usek.png\" alt=\"\" width=\"730\" height=\"461\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/usek.png 730w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/usek-300x189.png 300w\" sizes=\"auto, (max-width: 730px) 100vw, 730px\" \/><\/p>\n<ul>\n<li><strong>List the tables present in the database<\/strong><\/li>\n<\/ul>\n<p><strong>Syntax) DESRIBE TABLES;<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-3621\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/desctab-1024x301.png\" alt=\"\" width=\"840\" height=\"247\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/desctab-1024x301.png 1024w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/desctab-300x88.png 300w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/desctab-768x226.png 768w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/desctab-1200x353.png 1200w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/desctab.png 1366w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/><\/p>\n<ul>\n<li><strong>Creating a table:<\/strong><\/li>\n<\/ul>\n<p><strong>Syntax) Create table tablename(col1 datatype, col2 datatype, primary key(col1));<\/strong><\/p>\n<p><strong>Ex)<\/strong> Create table dummy(id int, name text, date_of_birth timestamp, primary key(id));<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3622\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/creattab.png\" alt=\"\" width=\"727\" height=\"456\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/creattab.png 727w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/creattab-300x188.png 300w\" sizes=\"auto, (max-width: 727px) 100vw, 727px\" \/><\/p>\n<ul>\n<li><strong>How to get the schema of created table?<\/strong><\/li>\n<\/ul>\n<p><strong>Syntax) DESCRIBE TABLENAME;<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-3623\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/desctab-1-1024x301.png\" alt=\"\" width=\"840\" height=\"247\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/desctab-1-1024x301.png 1024w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/desctab-1-300x88.png 300w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/desctab-1-768x226.png 768w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/desctab-1-1200x353.png 1200w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/desctab-1.png 1366w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/><\/p>\n<ul>\n<li><strong>Inserting Data into table:<\/strong><\/li>\n<\/ul>\n<p>Syntax)<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3624\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/insert.png\" alt=\"\" width=\"964\" height=\"128\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/insert.png 964w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/insert-300x40.png 300w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/insert-768x102.png 768w\" sizes=\"auto, (max-width: 964px) 100vw, 964px\" \/><\/p>\n<ul>\n<li>Insert into:<\/li>\n<\/ul>\n<p>Ex)<\/p>\n<p>Insert into dummy(id,name, date_of_birth) values(1, \u201cabc\u201d, \u201c22-02-2002 02:20:20\u201d)<\/p>\n<ul>\n<li>Copy from: Used for bulk loading the data from dataset.<\/li>\n<\/ul>\n<p>Ex)<\/p>\n<p>copy dummy( home_id,datatime,event, code_used) from &#8216;\/home\/destop\/event.csv&#8217; with header=true and delimiter = &#8216;,&#8217;;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3626\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/copy-1.png\" alt=\"\" width=\"965\" height=\"182\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/copy-1.png 965w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/copy-1-300x57.png 300w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/copy-1-768x145.png 768w\" sizes=\"auto, (max-width: 965px) 100vw, 965px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3627\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/copyshow.png\" alt=\"\" width=\"278\" height=\"468\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/copyshow.png 278w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/copyshow-178x300.png 178w\" sizes=\"auto, (max-width: 278px) 100vw, 278px\" \/><\/p>\n<ul>\n<li>\n<h4><strong>Retrieve data from the database:<\/strong><\/h4>\n<\/li>\n<\/ul>\n<p>In Cassandra the retrieval operation is performed using partition key.<\/p>\n<p>Partition key is nothing but using which Cassandra stores a record at particular location.<\/p>\n<p>By default partitioned key is created using columns in primary key.<\/p>\n<p>Ex) select * from dummy where id=1;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3628\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/select.png\" alt=\"\" width=\"534\" height=\"293\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/select.png 534w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/select-300x165.png 300w\" sizes=\"auto, (max-width: 534px) 100vw, 534px\" \/><\/p>\n<p>But if we try to retrieve records using columns other than primary key columns in the where clause, then it will display an error.<\/p>\n<p>In order to retrieve records using columns other than primary key we need to set the <strong>Secondary Index<\/strong> values for the respected columns using which we need to perform the retrieving operations with where clause.<\/p>\n<p>Syntax) create INDEX \u00a0indexname ON tablename(columnname);<\/p>\n<p>Ex) create INDEX name_index ON dummy(name);<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3629\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/createIndex.png\" alt=\"\" width=\"658\" height=\"47\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/createIndex.png 658w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/createIndex-300x21.png 300w\" sizes=\"auto, (max-width: 658px) 100vw, 658px\" \/><\/p>\n<p>You don\u2019t need to remember the Index name, it&#8217;s only for the purpose of allocating the database with permissions to retrieve records as per a particular column in a table by indexing it.<\/p>\n<p>Now you can perform select query with where clause over columns other than the primary key.<\/p>\n<p>Ex) select * from dummy where name=\u201dxyz\u201d;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3630\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/selectbyname.png\" alt=\"\" width=\"672\" height=\"189\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/selectbyname.png 672w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/selectbyname-300x84.png 300w\" sizes=\"auto, (max-width: 672px) 100vw, 672px\" \/><\/p>\n<ul>\n<li><strong>Updating the record in table<\/strong>\n<ul>\n<li>Single Column update:<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>Syntax) Update tablename set colname=&#8221;&#8221;where id= \u2018\u2019;<\/p>\n<p>Ex) Update dummy set name= \u201cabx\u201d where id=2;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3631\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/update.png\" alt=\"\" width=\"685\" height=\"66\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/update.png 685w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/update-300x29.png 300w\" sizes=\"auto, (max-width: 685px) 100vw, 685px\" \/><\/p>\n<ul>\n<li>Multiple column Update:<\/li>\n<\/ul>\n<p>Syntax) Update tablename set col1=&#8221;&#8221;, col21=&#8221;&#8221; where id= \u2018\u2019;<\/p>\n<p>Ex) Update tablename set name=&#8221;axc&#8221;,date=&#8221;2012-02-22 02:02:02&#8243; where id= 6;<\/p>\n<ul>\n<li><strong>Deleting records:<\/strong><\/li>\n<\/ul>\n<p><strong>Deleting according to particular column:<\/strong><\/p>\n<p><strong>Syntax) <\/strong>delete col1 from tablename where id= ;<\/p>\n<p><strong>Ex)<\/strong> delete name from dummy where id= 1;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3632\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/delete.png\" alt=\"\" width=\"642\" height=\"46\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/delete.png 642w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/delete-300x21.png 300w\" sizes=\"auto, (max-width: 642px) 100vw, 642px\" \/><\/p>\n<p><strong>Delete the whole row from the table<\/strong><\/p>\n<p><strong>Syntax) <\/strong>delete from tablename where id= ;<\/p>\n<p><strong>Ex) <\/strong>delete from dummy where id= 2;<\/p>\n<p><strong>Truncate: Used to the empty the entire table without deleting the schema of the table.<\/strong><\/p>\n<p>Syntax) truncate tablename;<\/p>\n<p>Ex) truncate dummy;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3633\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/truncate.png\" alt=\"\" width=\"515\" height=\"192\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/truncate.png 515w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/truncate-300x112.png 300w\" sizes=\"auto, (max-width: 515px) 100vw, 515px\" \/><\/p>\n<h3><strong>Drop: Used to delete the entire table along with schema<\/strong><\/h3>\n<p>Syntax) drop table tablename;<\/p>\n<p>Ex) Drop table dummy;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3634\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/drop.png\" alt=\"\" width=\"416\" height=\"39\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/drop.png 416w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/drop-300x28.png 300w\" sizes=\"auto, (max-width: 416px) 100vw, 416px\" \/><\/p>\n<ul>\n<li><strong>Drop Entire Database:<\/strong><\/li>\n<\/ul>\n<p>Syntax) drop keyspace databasename;<\/p>\n<p>Ex) drop keyspace demo;<\/p>\n<ul>\n<li><strong>Oreder By Clause <\/strong><\/li>\n<\/ul>\n<p>Syntax: SELECT column name FROM table name ORDER BY identifier;<\/p>\n<p>Ex) SELECT * FROM dummy ORDER BY name;<\/p>\n<ul>\n<li><strong>Help: It is used to helps the user to get a description of the cqlsh commands. <\/strong><\/li>\n<\/ul>\n<p>Syntax: HELP;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3635\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/help.png\" alt=\"\" width=\"1010\" height=\"649\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/help.png 1010w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/help-300x193.png 300w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/help-768x493.png 768w\" sizes=\"auto, (max-width: 1010px) 100vw, 1010px\" \/><\/p>\n<ul>\n<li><strong>Version: To get the version of <a href=\"https:\/\/cassandra.apache.org\/_\/index.html\">cassandra<\/a> installed<\/strong><\/li>\n<\/ul>\n<p><strong>#Syntax) version<\/strong><\/p>\n<ul>\n<li><strong>Color:<\/strong> <strong>To perform the <a href=\"https:\/\/prwatech.in\/blog\/\">operation<\/a> \u2018COLOR\u2019 keyword can be used.<\/strong><\/li>\n<\/ul>\n<p>Syntax) COLOR (&#8216;&lt;colour name&gt;&#8217;);<\/p>\n<ul>\n<li><strong>Debug: Used to Detect and eliminating the errors<\/strong><\/li>\n<\/ul>\n<p>#Syntax) DEBUG;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-3636\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/debug-1024x102.png\" alt=\"\" width=\"840\" height=\"84\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/debug-1024x102.png 1024w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/debug-300x30.png 300w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/debug-768x77.png 768w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/debug-1200x120.png 1200w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/debug.png 1303w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/><\/p>\n<ul>\n<li><strong>File:<\/strong> This command helps users to connect cqlsh with file.<\/li>\n<\/ul>\n<p>Syntax) FILE (&#8216;&lt;file name&gt;&#8217;);<\/p>\n<ul>\n<li><strong>U: The default name in Cassandra is \u2018Cassandra\u2019. Using \u2018U\u2019 keyword is used to assign a user.<\/strong><\/li>\n<\/ul>\n<p>#Syntax) U&lt;&#8220;user name&#8221;&gt;;<\/p>\n<ul>\n<li><strong>P: Cassandra sets a default password to be \u2018\u00c7assandra\u2019. Using the \u2018P\u2019 keyword user can set the password.<\/strong><\/li>\n<\/ul>\n<p>Syntax) P&lt;&#8220;password&#8221;&gt;;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Different Queries Used in Cassandra &nbsp; Creating a database in Cassandra: Note: In Cassandra, a Database is named Keyspace. Syntax) Create KEYSPACE demo1 with replication={\u2018class\u2019: \u2018SimpleStrategy\u2019, &#8216;replication_factor &#8216;:4}; Create keyspace demo1 with replication = {&#8216;class&#8217;:&#8217;NetworkTopologyStrategy&#8217; &#8216;dc1&#8242;:3,&#8217;dc2&#8217;:2}; Listing all the database: Syntax: DESRIBE KEYSPACES; Using a Database: Syntax) Use KeySpacename; Ex_ Use Demo1; List the tables [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[92,1703],"tags":[],"class_list":["post-3575","post","type-post","status-publish","format-standard","hentry","category-cassandra","category-cassandra-modules"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Different Queries Used in Cassandra - Prwatech<\/title>\n<meta name=\"description\" content=\"Master Different Queries Used in Cassandra - Dive deep with our expert instructors and comprehensive curriculum.\" \/>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Different Queries Used in Cassandra - Prwatech\" \/>\n<meta property=\"og:description\" content=\"Master Different Queries Used in Cassandra - Dive deep with our expert instructors and comprehensive curriculum.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/prwatech.in\/blog\/cassandra\/cassandra-modules\/different-queries-used-in-cassandra\/\" \/>\n<meta property=\"og:site_name\" content=\"Prwatech\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prwatech.in\/\" \/>\n<meta property=\"article:published_time\" content=\"2019-11-22T08:11:55+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-03T10:01:30+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/createKeyspace-1.png\" \/>\n<meta name=\"author\" content=\"Prwatech\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@Eduprwatech\" \/>\n<meta name=\"twitter:site\" content=\"@Eduprwatech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Prwatech\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/prwatech.in\/blog\/cassandra\/cassandra-modules\/different-queries-used-in-cassandra\/\",\"url\":\"https:\/\/prwatech.in\/blog\/cassandra\/cassandra-modules\/different-queries-used-in-cassandra\/\",\"name\":\"Different Queries Used in Cassandra - Prwatech\",\"isPartOf\":{\"@id\":\"https:\/\/prwatech.in\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/prwatech.in\/blog\/cassandra\/cassandra-modules\/different-queries-used-in-cassandra\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/prwatech.in\/blog\/cassandra\/cassandra-modules\/different-queries-used-in-cassandra\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/createKeyspace-1.png\",\"datePublished\":\"2019-11-22T08:11:55+00:00\",\"dateModified\":\"2024-04-03T10:01:30+00:00\",\"author\":{\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3\"},\"description\":\"Master Different Queries Used in Cassandra - Dive deep with our expert instructors and comprehensive curriculum.\",\"breadcrumb\":{\"@id\":\"https:\/\/prwatech.in\/blog\/cassandra\/cassandra-modules\/different-queries-used-in-cassandra\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/prwatech.in\/blog\/cassandra\/cassandra-modules\/different-queries-used-in-cassandra\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/prwatech.in\/blog\/cassandra\/cassandra-modules\/different-queries-used-in-cassandra\/#primaryimage\",\"url\":\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/createKeyspace-1.png\",\"contentUrl\":\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/createKeyspace-1.png\",\"width\":732,\"height\":448},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/prwatech.in\/blog\/cassandra\/cassandra-modules\/different-queries-used-in-cassandra\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/prwatech.in\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Different Queries Used in Cassandra\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/prwatech.in\/blog\/#website\",\"url\":\"https:\/\/prwatech.in\/blog\/\",\"name\":\"Prwatech\",\"description\":\"Share Ideas, Start Something Good.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/prwatech.in\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3\",\"name\":\"Prwatech\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g\",\"caption\":\"Prwatech\"},\"url\":\"https:\/\/prwatech.in\/blog\/author\/prwatech123\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Different Queries Used in Cassandra - Prwatech","description":"Master Different Queries Used in Cassandra - Dive deep with our expert instructors and comprehensive curriculum.","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_US","og_type":"article","og_title":"Different Queries Used in Cassandra - Prwatech","og_description":"Master Different Queries Used in Cassandra - Dive deep with our expert instructors and comprehensive curriculum.","og_url":"https:\/\/prwatech.in\/blog\/cassandra\/cassandra-modules\/different-queries-used-in-cassandra\/","og_site_name":"Prwatech","article_publisher":"https:\/\/www.facebook.com\/prwatech.in\/","article_published_time":"2019-11-22T08:11:55+00:00","article_modified_time":"2024-04-03T10:01:30+00:00","og_image":[{"url":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/createKeyspace-1.png","type":"","width":"","height":""}],"author":"Prwatech","twitter_card":"summary_large_image","twitter_creator":"@Eduprwatech","twitter_site":"@Eduprwatech","twitter_misc":{"Written by":"Prwatech","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/prwatech.in\/blog\/cassandra\/cassandra-modules\/different-queries-used-in-cassandra\/","url":"https:\/\/prwatech.in\/blog\/cassandra\/cassandra-modules\/different-queries-used-in-cassandra\/","name":"Different Queries Used in Cassandra - Prwatech","isPartOf":{"@id":"https:\/\/prwatech.in\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/prwatech.in\/blog\/cassandra\/cassandra-modules\/different-queries-used-in-cassandra\/#primaryimage"},"image":{"@id":"https:\/\/prwatech.in\/blog\/cassandra\/cassandra-modules\/different-queries-used-in-cassandra\/#primaryimage"},"thumbnailUrl":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/createKeyspace-1.png","datePublished":"2019-11-22T08:11:55+00:00","dateModified":"2024-04-03T10:01:30+00:00","author":{"@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3"},"description":"Master Different Queries Used in Cassandra - Dive deep with our expert instructors and comprehensive curriculum.","breadcrumb":{"@id":"https:\/\/prwatech.in\/blog\/cassandra\/cassandra-modules\/different-queries-used-in-cassandra\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/prwatech.in\/blog\/cassandra\/cassandra-modules\/different-queries-used-in-cassandra\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/prwatech.in\/blog\/cassandra\/cassandra-modules\/different-queries-used-in-cassandra\/#primaryimage","url":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/createKeyspace-1.png","contentUrl":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/11\/createKeyspace-1.png","width":732,"height":448},{"@type":"BreadcrumbList","@id":"https:\/\/prwatech.in\/blog\/cassandra\/cassandra-modules\/different-queries-used-in-cassandra\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/prwatech.in\/blog\/"},{"@type":"ListItem","position":2,"name":"Different Queries Used in Cassandra"}]},{"@type":"WebSite","@id":"https:\/\/prwatech.in\/blog\/#website","url":"https:\/\/prwatech.in\/blog\/","name":"Prwatech","description":"Share Ideas, Start Something Good.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/prwatech.in\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3","name":"Prwatech","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g","caption":"Prwatech"},"url":"https:\/\/prwatech.in\/blog\/author\/prwatech123\/"}]}},"_links":{"self":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/3575","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/comments?post=3575"}],"version-history":[{"count":5,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/3575\/revisions"}],"predecessor-version":[{"id":11254,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/3575\/revisions\/11254"}],"wp:attachment":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/media?parent=3575"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/categories?post=3575"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/tags?post=3575"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}