Take quiz below to complete unit.

DSE Version: 6.0

DSE Studio Intro

Video

Write Up

FAQ

Slides

Resources

DSE Studio is a browser-based development tool for prototyping. Studio lets developers create notebooks, which contain formatted text, schema visualizations and executable code snippets. Learn about DSE Studio here.

NO TRANSCRIPT AVAILABLE.

Write Up

Introduction

DSE Studio is a browser-based development tool for prototyping. Studio lets developers create notebooks, which contain formatted text, schema visualizations and executable code snippets. Developers use notebooks for prototyping DSE solutions, collaborating and communicating development concepts. Figure 1, shows an example of DSE Studio running in a browser with its list of notebooks.

https://lh6.googleusercontent.com/Lr7_xT_bMa_R3OIbIP9oPkHdE3hTjEm-XdlrCwzYCRNdBYPhulYmgLZaXQXVB_JNPMVI4SueHKMlLKcv0TYg8n75kk12r2ZOzGeGVFsuWryEXIHhyAK9NRlti8QMCMQh-ewe5Xic

Figure 1. An example of DSE Studio Running in a Browser.

Cells

Within notebooks, developers create cells. Cells contain markdown text, CQL (Cassandra Query Language), Gremlin graph query language or Spark analytics queries. Figure 2, shows an example Markdown cell and a CQL cell.

https://lh6.googleusercontent.com/R0W5Ll5RhX1NQMhBkvAxHh4SIJSCBoylve-fPlruiWsKx3vAqW8u1cgojUYE0I6qnMd4NYOhMCMyrbltY8Ilwx3iOa577p102goE5UxlIUT3TrVAlyDYiMDL4Bd5L82PCT_6QLdo

Figure 2. Example DSE Studio Notebook Cells.

Markdown cells allow you to write narrative including embedded images and video. CQL cells support writing CQL statements, including with command completion. Gremlin cells let you perform graph queries and also have graph results visualization as shown in Figure 3.

https://lh6.googleusercontent.com/IE8q5nXGSoQGPYi74HqZT3btJ_5vLezUOpTP_SBOkSRCMABFQkimF6wQuWIAUf0CwINpOfid2VGhthc1YDkaEGW2yKBHRTRBR8-px6R1RTSl-1qf4zMIvGHluBmGVw7VS_1cxEVB

Figure 3. Example Graph Visualization Cell.

Besides cells, notebooks have schema visualization tools to help you explore your schemas as shown in Figure 4.

https://lh6.googleusercontent.com/x0teudzN8DkiELyX5oCM_YBx48W_9-w2JxUlJdhmOofEApb3qDRZt33vFy6IkKX4E_Xf1GEipIeMTlqYmoi329XO_XdhnzJ2TpN7ew6nU_Ge1hBBlgjAwgKFgbKBSLjI87Hme-1A

Figure 4. Example Schema Visualization Tool.

Conclusion

The list of use-cases for DSE Studio includes:

  • Prototyping queries
  • Providing training materials
  • Demonstrations
  • Ad hoc graph queries
  • Documentation

Studio notebooks, with features like command completion and visualization mechanisms, makes your browser into a prototyping powertool.

Exercises
No Exercises.
FAQ

How do I share my notebooks with others?

There are a couple of ways to share your notebooks. If the person(s) with whom you want to share can access your machine, they can use to same Studio instance that you use. However, if you need move your notebook to another machine, you can export the notebook from the source machine and import it on the destination machine.