test_class.file: shardingsphere-scaling/shardingsphere-scaling-mysql/src/test/java/org/apache/shardingsphere/scaling/mysql/client/ServerVersionTest.java
test_class.identifier: ServerVersionTest
test_case.body: @Test
      public void assertGreaterThan() {
          ServerVersion actual = new ServerVersion("5.7.12");
          assertTrue(actual.greaterThanOrEqualTo(4, 0, 0));
          assertTrue(actual.greaterThanOrEqualTo(5, 6, 0));
          assertTrue(actual.greaterThanOrEqualTo(5, 7, 11));
      }
test_case.class_method_signature: ServerVersionTest.assertGreaterThan()
test_case.full_signature: @Test public void assertGreaterThan()
test_case.identifier: assertGreaterThan
test_case.invocations: assertTrue greaterThanOrEqualTo assertTrue greaterThanOrEqualTo assertTrue greaterThanOrEqualTo
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void assertGreaterThan()
focal_class.declarator: VERSION_PATTERN = Pattern.compile("^(\\d+)\\.(\\d+)\\.(\\d+).*")
focal_class.modifier: private static final
focal_class.original_string: private static final Pattern VERSION_PATTERN = Pattern.compile("^(\\d+)\\.(\\d+)\\.(\\d+).*");
focal_class.type: Pattern
focal_class.var_name: VERSION_PATTERN
focal_class.declarator: major
focal_class.modifier: private
focal_class.original_string: private int major;
focal_class.type: int
focal_class.var_name: major
focal_class.declarator: minor
focal_class.modifier: private
focal_class.original_string: private int minor;
focal_class.type: int
focal_class.var_name: minor
focal_class.declarator: series
focal_class.modifier: private
focal_class.original_string: private int series;
focal_class.type: int
focal_class.var_name: series
focal_class.file: shardingsphere-scaling/shardingsphere-scaling-mysql/src/main/java/org/apache/shardingsphere/scaling/mysql/client/ServerVersion.java
focal_class.identifier: ServerVersion
focal_class.class_method_signature: ServerVersion.ServerVersion(final String version)
focal_class.full_signature: public  ServerVersion(final String version)
focal_class.identifier: ServerVersion
focal_class.modifiers: public
focal_class.parameters: (final String version)
focal_class.signature:  ServerVersion(final String version)
focal_class.class_method_signature: ServerVersion.greaterThanOrEqualTo(final int major, final int minor, final int series)
focal_class.full_signature: public boolean greaterThanOrEqualTo(final int major, final int minor, final int series)
focal_class.identifier: greaterThanOrEqualTo
focal_class.modifiers: public
focal_class.parameters: (final int major, final int minor, final int series)
focal_class.return: boolean
focal_class.signature: boolean greaterThanOrEqualTo(final int major, final int minor, final int series)
focal_method.body: public boolean greaterThanOrEqualTo(final int major, final int minor, final int series) {
          if (this.major < major) {
              return false;
          }
          if (this.major > major) {
              return true;
          }
          if (this.minor < minor) {
              return false;
          }
          if (this.minor > minor) {
              return true;
          }
          return this.series >= series;
      }
focal_method.class_method_signature: ServerVersion.greaterThanOrEqualTo(final int major, final int minor, final int series)
focal_method.full_signature: public boolean greaterThanOrEqualTo(final int major, final int minor, final int series)
focal_method.identifier: greaterThanOrEqualTo
focal_method.modifiers: public
focal_method.parameters: (final int major, final int minor, final int series)
focal_method.return: boolean
focal_method.signature: boolean greaterThanOrEqualTo(final int major, final int minor, final int series)