Package com.zendesk.maxwell.replication
Class MysqlVersion
- java.lang.Object
-
- com.zendesk.maxwell.replication.MysqlVersion
-
public class MysqlVersion extends Object
-
-
Field Summary
Fields Modifier and Type Field Description boolean
isMariaDB
-
Constructor Summary
Constructors Constructor Description MysqlVersion(int major, int minor)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
atLeast(int major, int minor)
boolean
atLeast(MysqlVersion version)
static MysqlVersion
capture(Connection c)
int
getMajor()
int
getMinor()
boolean
lessThan(int major, int minor)
-
-
-
Method Detail
-
atLeast
public boolean atLeast(int major, int minor)
-
atLeast
public boolean atLeast(MysqlVersion version)
-
lessThan
public boolean lessThan(int major, int minor)
-
capture
public static MysqlVersion capture(Connection c) throws SQLException
- Throws:
SQLException
-
getMajor
public int getMajor()
-
getMinor
public int getMinor()
-
-