Package liquibase.ext.mongodb.database
Class MongoClientDriver
java.lang.Object
liquibase.ext.mongodb.database.MongoClientDriver
- All Implemented Interfaces:
Driver
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanacceptsURL(String url) com.mongodb.client.MongoClientconnect(com.mongodb.ConnectionString connectionString) connect(String url, Properties info) intintgetPropertyInfo(String url, Properties info) boolean
-
Constructor Details
-
MongoClientDriver
public MongoClientDriver()
-
-
Method Details
-
connect
-
connect
public com.mongodb.client.MongoClient connect(com.mongodb.ConnectionString connectionString) throws liquibase.exception.DatabaseException - Throws:
liquibase.exception.DatabaseException
-
acceptsURL
- Specified by:
acceptsURLin interfaceDriver
-
getPropertyInfo
- Specified by:
getPropertyInfoin interfaceDriver
-
getMajorVersion
public int getMajorVersion()- Specified by:
getMajorVersionin interfaceDriver
-
getMinorVersion
public int getMinorVersion()- Specified by:
getMinorVersionin interfaceDriver
-
jdbcCompliant
public boolean jdbcCompliant()- Specified by:
jdbcCompliantin interfaceDriver
-
getParentLogger
- Specified by:
getParentLoggerin interfaceDriver
-