Class DatabaseManager

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    public class DatabaseManager
    extends java.lang.Object
    implements java.io.Closeable
    • Constructor Summary

      Constructors 
      Constructor Description
      DatabaseManager​(java.lang.String username, java.lang.String password, java.lang.String url)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      Result execute​(java.lang.String query)  
      void init()  
      void shutdown()  
      • Methods inherited from class java.lang.Object

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

      • DatabaseManager

        public DatabaseManager​(java.lang.String username,
                               java.lang.String password,
                               java.lang.String url)
    • Method Detail

      • init

        public void init()
                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shutdown

        public void shutdown()
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Throws:
        java.io.IOException
      • execute

        public Result execute​(java.lang.String query)