Class ArangoClientImpl
- java.lang.Object
-
- io.micronaut.configuration.arango.internal.ArangoClientImpl
-
- All Implemented Interfaces:
ArangoClient,java.lang.AutoCloseable
public class ArangoClientImpl extends java.lang.Object implements ArangoClient
ArangoDB Sync AccessorArangoDBand database name as configured for application.- Since:
- 15.3.2020
-
-
Constructor Summary
Constructors Constructor Description ArangoClientImpl(com.arangodb.ArangoDB accessor, ArangoConfiguration configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.arangodb.ArangoDBaccessor()voidclose()com.arangodb.ArangoDatabasedb()java.util.Map<java.lang.String,java.lang.Object>properties()java.lang.StringtoString()
-
-
-
Constructor Detail
-
ArangoClientImpl
public ArangoClientImpl(com.arangodb.ArangoDB accessor, ArangoConfiguration configuration)
-
-
Method Detail
-
db
public com.arangodb.ArangoDatabase db()
- Specified by:
dbin interfaceArangoClient- Returns:
- Accessor to specified ArangoDB database.
-
accessor
public com.arangodb.ArangoDB accessor()
- Specified by:
accessorin interfaceArangoClient- Returns:
- Configured ArangoDB accessor
ArangoDB.
-
properties
public java.util.Map<java.lang.String,java.lang.Object> properties()
- Specified by:
propertiesin interfaceArangoClient- Returns:
- Properties accessor as configured with
ArangoProperties
-
close
public void close()
- Specified by:
closein interfacejava.lang.AutoCloseable
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-