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: postgreSQLJdbcDumper
test_class.modifier: private
test_class.original_string: private PostgreSQLJdbcDumper postgreSQLJdbcDumper;
test_class.type: PostgreSQLJdbcDumper
test_class.var_name: postgreSQLJdbcDumper
test_class.file: shardingsphere-scaling/shardingsphere-scaling-postgresql/src/test/java/org/apache/shardingsphere/scaling/postgresql/PostgreSQLJdbcDumperTest.java
test_class.identifier: PostgreSQLJdbcDumperTest
test_case.body: @Test
      public void assertCreatePreparedStatement() throws SQLException {
          DataSource dataSource = dataSourceManager.getDataSource(mockDumperConfiguration().getDataSourceConfiguration());
          try (Connection connection = dataSource.getConnection();
               PreparedStatement preparedStatement = postgreSQLJdbcDumper.createPreparedStatement(connection, "SELECT * FROM t_order")) {
              assertThat(preparedStatement.getFetchSize(), is(100));
          }
      }
test_case.class_method_signature: PostgreSQLJdbcDumperTest.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-postgresql/src/main/java/org/apache/shardingsphere/scaling/postgresql/PostgreSQLJdbcDumper.java
focal_class.identifier: PostgreSQLJdbcDumper
focal_class.class_method_signature: PostgreSQLJdbcDumper.PostgreSQLJdbcDumper(final InventoryDumperConfiguration inventoryDumperConfig, final DataSourceManager dataSourceManager)
focal_class.full_signature: public  PostgreSQLJdbcDumper(final InventoryDumperConfiguration inventoryDumperConfig, final DataSourceManager dataSourceManager)
focal_class.identifier: PostgreSQLJdbcDumper
focal_class.modifiers: public
focal_class.parameters: (final InventoryDumperConfiguration inventoryDumperConfig, final DataSourceManager dataSourceManager)
focal_class.signature:  PostgreSQLJdbcDumper(final InventoryDumperConfiguration inventoryDumperConfig, final DataSourceManager dataSourceManager)
focal_class.class_method_signature: PostgreSQLJdbcDumper.createPreparedStatement(final Connection connection, final String sql)
focal_class.full_signature: @Override protected PreparedStatement createPreparedStatement(final Connection connection, final String sql)
focal_class.identifier: createPreparedStatement
focal_class.modifiers: @Override protected
focal_class.parameters: (final Connection connection, final String sql)
focal_class.return: PreparedStatement
focal_class.signature: PreparedStatement createPreparedStatement(final Connection connection, final String sql)
focal_class.superclass: extends AbstractJDBCDumper
focal_method.body: @Override
      protected PreparedStatement createPreparedStatement(final Connection connection, final String sql) throws SQLException {
          PreparedStatement result = connection.prepareStatement(sql, ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_READ_ONLY);
          result.setFetchSize(100);
          return result;
      }
focal_method.class_method_signature: PostgreSQLJdbcDumper.createPreparedStatement(final Connection connection, final String sql)
focal_method.full_signature: @Override protected PreparedStatement createPreparedStatement(final Connection connection, final String sql)
focal_method.identifier: createPreparedStatement
focal_method.invocations: prepareStatement setFetchSize
focal_method.modifiers: @Override protected
focal_method.parameters: (final Connection connection, final String sql)
focal_method.return: PreparedStatement
focal_method.signature: PreparedStatement createPreparedStatement(final Connection connection, final String sql)