Default imports in DataStax Studio

The following imports are performed by default in a notebook cell.

  • Static imports:

    • org.apache.tinkerpop.gremlin.process.traversal.SackFunctions.Barrier.*

    • org.apache.tinkerpop.gremlin.util.TimeUtil.*

    • org.apache.tinkerpop.gremlin.structure.Direction.*

    • org.apache.tinkerpop.gremlin.process.traversal.Pop.*

    • org.apache.tinkerpop.gremlin.process.traversal.step.TraversalOptionParent.Pick.*

    • org.apache.tinkerpop.gremlin.structure.VertexProperty.Cardinality.*

    • org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource.*

    • org.apache.tinkerpop.gremlin.process.traversal.P.*

    • org.apache.tinkerpop.gremlin.process.traversal.Order.*

    • org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.__.*

    • org.apache.tinkerpop.gremlin.structure.io.IoCore.*

    • org.apache.tinkerpop.gremlin.process.traversal.Scope.*

    • org.apache.tinkerpop.gremlin.structure.Column.*

    • org.apache.tinkerpop.gremlin.structure.T.*

    • org.apache.tinkerpop.gremlin.process.traversal.Operator.*

  • Imports:

    • groovy.grape.Grape

    • org.apache.commons.configuration.*

    • org.apache.tinkerpop.gremlin.process.traversal.strategy.verification.*

    • org.apache.tinkerpop.gremlin.process.computer.bulkloading.*

    • org.apache.tinkerpop.gremlin.process.computer.traversal.*

    • org.apache.tinkerpop.gremlin.util.function.*

    • org.apache.tinkerpop.gremlin.structure.io.*

    • org.apache.tinkerpop.gremlin.process.computer.ranking.pagerank.*

    • org.apache.tinkerpop.gremlin.groovy.loaders.*

    • groovy.json.*

    • org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.*

    • org.apache.tinkerpop.gremlin.structure.*

    • org.apache.tinkerpop.gremlin.process.traversal.strategy.decoration.*

    • org.apache.tinkerpop.gremlin.process.traversal.engine.*

    • org.apache.tinkerpop.gremlin.structure.io.gryo.*

    • org.apache.tinkerpop.gremlin.process.traversal.strategy.optimization.*

    • org.apache.tinkerpop.gremlin.process.traversal.step.util.event.*

    • org.apache.tinkerpop.gremlin.util.*

    • org.apache.tinkerpop.gremlin.structure.util.*

    • org.apache.tinkerpop.gremlin.structure.io.graphml.*

    • org.apache.tinkerpop.gremlin.process.computer.*

    • org.apache.tinkerpop.gremlin.process.traversal.strategy.finalization.*

    • org.apache.tinkerpop.gremlin.process.computer.clustering.peerpressure.*

    • org.apache.tinkerpop.gremlin.structure.util.detached.*

    • org.apache.tinkerpop.gremlin.structure.io.graphson.*

    • org.apache.tinkerpop.gremlin.process.traversal.*

    • org.apache.tinkerpop.gremlin.process.computer.bulkdumping.*

    • org.apache.tinkerpop.gremlin.process.traversal.util.*

    • org.apache.tinkerpop.gremlin.groovy.function.*

  • Extra imports:

    • com.datastax.bdp.graph.api.*

    • com.datastax.bdp.graph.api.schema.*

    • com.datastax.bdp.graph.api.id.*

    • com.datastax.bdp.graph.api.config.*

    • org.apache.cassandra.db.marshal.geometry.*

    • com.datastax.bdp.graph.api.system.*

    • java.time.*

To get a list from within a Gremlin cell:

DseGraphImports.getInstance().getAllImports()

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