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 booleanisMariaDB
-
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 booleanatLeast(int major, int minor)booleanatLeast(MysqlVersion version)static MysqlVersioncapture(Connection c)intgetMajor()intgetMinor()booleanlessThan(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()
-
-