Class SessionFactory.Default

    • Constructor Summary

      Constructors 
      Constructor Description
      Default()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.datastax.driver.core.Session create​(CassandraStorage cassandra)
      Creates a session and ensures schema if configured.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Default

        public Default()
    • Method Detail

      • create

        public com.datastax.driver.core.Session create​(CassandraStorage cassandra)
        Creates a session and ensures schema if configured. Closes the cluster and session if any exception occurred.
        Specified by:
        create in interface SessionFactory