test_class.declarator: dataSourceManager
test_class.modifier: private
test_class.original_string: private DataSourceManager dataSourceManager;
test_class.type: DataSourceManager
test_class.var_name: dataSourceManager
test_class.declarator: mySQLJdbcDumper
test_class.modifier: private
test_class.original_string: private MySQLJdbcDumper mySQLJdbcDumper;
test_class.type: MySQLJdbcDumper
test_class.var_name: mySQLJdbcDumper
test_class.file: shardingsphere-scaling/shardingsphere-scaling-mysql/src/test/java/org/apache/shardingsphere/scaling/mysql/MySQLJdbcDumperTest.java
test_class.identifier: MySQLJdbcDumperTest
test_case.body: @Test
      public void assertCreatePreparedStatement() throws SQLException {
          DataSource dataSource = dataSourceManager.getDataSource(mockDumperConfiguration().getDataSourceConfiguration());
          try (Connection connection = dataSource.getConnection();
               PreparedStatement preparedStatement = mySQLJdbcDumper.createPreparedStatement(connection, "SELECT * FROM t_order")) {
              assertThat(preparedStatement.getFetchSize(), is(100));
          }
      }
test_case.class_method_signature: MySQLJdbcDumperTest.assertCreatePreparedStatement()
test_case.full_signature: @Test public void assertCreatePreparedStatement()
test_case.identifier: assertCreatePreparedStatement
test_case.invocations: getDataSource getDataSourceConfiguration mockDumperConfiguration getConnection createPreparedStatement assertThat getFetchSize is
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void assertCreatePreparedStatement()
focal_class.file: shardingsphere-scaling/shardingsphere-scaling-mysql/src/main/java/org/apache/shardingsphere/scaling/mysql/MySQLJdbcDumper.java
focal_class.identifier: MySQLJdbcDumper
focal_class.class_method_signature: MySQLJdbcDumper.MySQLJdbcDumper(final InventoryDumperConfiguration inventoryDumperConfig, final DataSourceManager dataSourceManager)
focal_class.full_signature: public  MySQLJdbcDumper(final InventoryDumperConfiguration inventoryDumperConfig, final DataSourceManager dataSourceManager)
focal_class.identifier: MySQLJdbcDumper
focal_class.modifiers: public
focal_class.parameters: (final InventoryDumperConfiguration inventoryDumperConfig, final DataSourceManager dataSourceManager)
focal_class.signature:  MySQLJdbcDumper(final InventoryDumperConfiguration inventoryDumperConfig, final DataSourceManager dataSourceManager)
focal_class.class_method_signature: MySQLJdbcDumper.fixMySQLUrl(final String url)
focal_class.full_signature: private String fixMySQLUrl(final String url)
focal_class.identifier: fixMySQLUrl
focal_class.modifiers: private
focal_class.parameters: (final String url)
focal_class.return: String
focal_class.signature: String fixMySQLUrl(final String url)
focal_class.class_method_signature: MySQLJdbcDumper.fixMySQLParams(final Map<String, String> parameters)
focal_class.full_signature: private String fixMySQLParams(final Map<String, String> parameters)
focal_class.identifier: fixMySQLParams
focal_class.modifiers: private
focal_class.parameters: (final Map<String, String> parameters)
focal_class.return: String
focal_class.signature: String fixMySQLParams(final Map<String, String> parameters)
focal_class.class_method_signature: MySQLJdbcDumper.formatMySQLParams(final Map<String, String> params)
focal_class.full_signature: private String formatMySQLParams(final Map<String, String> params)
focal_class.identifier: formatMySQLParams
focal_class.modifiers: private
focal_class.parameters: (final Map<String, String> params)
focal_class.return: String
focal_class.signature: String formatMySQLParams(final Map<String, String> params)
focal_class.class_method_signature: MySQLJdbcDumper.readValue(final ResultSet resultSet, final int index)
focal_class.full_signature: @Override public Object readValue(final ResultSet resultSet, final int index)
focal_class.identifier: readValue
focal_class.modifiers: @Override public
focal_class.parameters: (final ResultSet resultSet, final int index)
focal_class.return: Object
focal_class.signature: Object readValue(final ResultSet resultSet, final int index)
focal_class.class_method_signature: MySQLJdbcDumper.isDateTimeValue(final int columnType)
focal_class.full_signature: private boolean isDateTimeValue(final int columnType)
focal_class.identifier: isDateTimeValue
focal_class.modifiers: private
focal_class.parameters: (final int columnType)
focal_class.return: boolean
focal_class.signature: boolean isDateTimeValue(final int columnType)
focal_class.class_method_signature: MySQLJdbcDumper.createPreparedStatement(final Connection conn, final String sql)
focal_class.full_signature: @Override protected PreparedStatement createPreparedStatement(final Connection conn, final String sql)
focal_class.identifier: createPreparedStatement
focal_class.modifiers: @Override protected
focal_class.parameters: (final Connection conn, final String sql)
focal_class.return: PreparedStatement
focal_class.signature: PreparedStatement createPreparedStatement(final Connection conn, final String sql)
focal_class.superclass: extends AbstractJDBCDumper
focal_method.body: @Override
      protected PreparedStatement createPreparedStatement(final Connection conn, final String sql) throws SQLException {
          PreparedStatement result = conn.prepareStatement(sql, ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_READ_ONLY);
          result.setFetchSize(100);
          return result;
      }
focal_method.class_method_signature: MySQLJdbcDumper.createPreparedStatement(final Connection conn, final String sql)
focal_method.full_signature: @Override protected PreparedStatement createPreparedStatement(final Connection conn, final String sql)
focal_method.identifier: createPreparedStatement
focal_method.invocations: prepareStatement setFetchSize
focal_method.modifiers: @Override protected
focal_method.parameters: (final Connection conn, final String sql)
focal_method.return: PreparedStatement
focal_method.signature: PreparedStatement createPreparedStatement(final Connection conn, final String sql)