Notebook cells in DataStax Studio

Cells contain markdown text, Gremlin code, or CQL.

Notebook cells contain markdown text, Gremlin code, or CQL.

Creating connections

To create connections to DSE clusters, select the Connections menu.

browseConnections
Browse connections

Notebook

Notebook
Widget Description

info

View Details.

schema-view

View Schema.

addcell

Add Cell adds another cell before or after the current cell.

Cells

Widget Description

run-cell

Run Cell displays the markdown or runs the Gremlin code and displays the results.

hide-code-editor

Hide code editor hides the code editor.

editor-validations-off / editor-validations-on

Disable editor validations / Enable editor validations toggle.

more-actions

More actions displays more menu items for the cell.

Gremlin results display

The results returned by the last Gremlin statement executed in a cell can be displayed in a number of ways.

Gremlin results display
Widget Description

raw

Raw

table

Table

pie-chart

Pie chart

bar

Bar

line

Line

area

Area

scatter

Scatter

graph

Graph displays vertices and edges.

settings

Settings

Graph provides a contextual view of a result by automatically populating the entire sub-graph shared between the result’s vertices and edges. The Gremlin result is examined:

  • All vertices emitted and all vertices touched by emitted edges are aggregated into the set of working vertices.

  • All edges that connect this set of vertices are then populated.

This sub-graph result populates the Graph. However, the Gremlin result populates all other views (such as, raw, table, charts).

Was this helpful?

Give Feedback

How can we improve the documentation?

© 2024 DataStax | Privacy policy | Terms of use

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: +1 (650) 389-6000, info@datastax.com