Class ArangoClientImpl

  • All Implemented Interfaces:
    ArangoClient, java.lang.AutoCloseable

    public class ArangoClientImpl
    extends java.lang.Object
    implements ArangoClient
    ArangoDB Sync Accessor ArangoDB and database name as configured for application.
    Since:
    15.3.2020
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.arangodb.ArangoDB accessor()  
      void close()  
      com.arangodb.ArangoDatabase db()  
      java.util.Map<java.lang.String,​java.lang.Object> properties()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • ArangoClientImpl

        public ArangoClientImpl​(com.arangodb.ArangoDB accessor,
                                ArangoConfiguration configuration)
    • Method Detail

      • db

        public com.arangodb.ArangoDatabase db()
        Specified by:
        db in interface ArangoClient
        Returns:
        Accessor to specified ArangoDB database.
      • accessor

        public com.arangodb.ArangoDB accessor()
        Specified by:
        accessor in interface ArangoClient
        Returns:
        Configured ArangoDB accessor ArangoDB.
      • properties

        public java.util.Map<java.lang.String,​java.lang.Object> properties()
        Specified by:
        properties in interface ArangoClient
        Returns:
        Properties accessor as configured with ArangoProperties
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object