Creating a simple notebook in DataStax Studio

A notebook is a document that contains text and runnable code. A notebook consists of one or more cells.

  • DSE 5.1 installed, configured, and running.

  • If using DSE Graph, it must be configured, and running.

  • DataStax Studio installed and running.

    1. To create a new notebook and add some text.

    2. Open http:/URI_running_DSE:9091/ in your browser.

      The DataStax Studio opens in the Notebooks page.

    3. Select Add Notebook (the plus icon (in a square) to the left of the existing notebooks).

      The Create Notebook dialog displays.

    4. Add information to the fields and Create.

      Name

      My Notebook

      Select a connection

      image::connectionsDialog.png[]

    5. Select Create.

      The notebook displays with a single empty (default) cell in CQL edit mode. This can be changed to Gremlin or Markdown depending on the desired mode.

    6. The following steps show a Markdown example:

    7. In the default cell, change the drop-down to Markdown.

    8. Add some verbiage to the default cell:

      My Notebook
      ===========
      
      Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut consectetur lectus sit amet erat tempus ornare. Fusce sagittis, mauris eu maximus pellentesque, odio purus accumsan lacus, eu accumsan ex nisi eu metus.
    9. Select Run Cell to render the marked down text.

      myNotebook
    10. Each notebook has only one connection. Create a connection to a DSE cluster.

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