test_class.declarator: DQL_SQL = "SELECT * FROM table_x"
test_class.modifier: private static final
test_class.original_string: private static final String DQL_SQL = "SELECT * FROM table_x";
test_class.type: String
test_class.var_name: DQL_SQL
test_class.declarator: DML_SQL = "DELETE FROM table_x"
test_class.modifier: private static final
test_class.original_string: private static final String DML_SQL = "DELETE FROM table_x";
test_class.type: String
test_class.var_name: DML_SQL
test_class.declarator: actual
test_class.modifier: private
test_class.original_string: private StatementExecutor actual;
test_class.type: StatementExecutor
test_class.var_name: actual
test_class.file: shardingsphere-jdbc/shardingsphere-jdbc-core/src/test/java/org/apache/shardingsphere/driver/executor/StatementExecutorTest.java
test_class.identifier: StatementExecutorTest
test_class.superclass: extends AbstractBaseExecutorTest
test_case.body: @Test
      public void assertExecuteForMultipleStatementsFailureWithDML() throws SQLException {
          Statement statement1 = getStatement();
          Statement statement2 = getStatement();
          SQLException ex = new SQLException("");
          when(statement1.execute(DML_SQL)).thenThrow(ex);
          when(statement2.execute(DML_SQL)).thenThrow(ex);
          assertFalse(actual.execute(getExecuteGroups(Arrays.asList(statement1, statement2), false), createSQLStatementContext()));
          verify(statement1).execute(DML_SQL);
          verify(statement2).execute(DML_SQL);
      }
test_case.class_method_signature: StatementExecutorTest.assertExecuteForMultipleStatementsFailureWithDML()
test_case.full_signature: @Test public void assertExecuteForMultipleStatementsFailureWithDML()
test_case.identifier: assertExecuteForMultipleStatementsFailureWithDML
test_case.invocations: getStatement getStatement thenThrow when execute thenThrow when execute assertFalse execute getExecuteGroups asList createSQLStatementContext execute verify execute verify
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void assertExecuteForMultipleStatementsFailureWithDML()
focal_class.file: shardingsphere-jdbc/shardingsphere-jdbc-core/src/main/java/org/apache/shardingsphere/driver/executor/StatementExecutor.java
focal_class.identifier: StatementExecutor
focal_class.class_method_signature: StatementExecutor.StatementExecutor(final Map<String, DataSource> dataSourceMap, final SchemaContexts schemaContexts, final SQLExecutor sqlExecutor)
focal_class.full_signature: public  StatementExecutor(final Map<String, DataSource> dataSourceMap, final SchemaContexts schemaContexts, final SQLExecutor sqlExecutor)
focal_class.identifier: StatementExecutor
focal_class.modifiers: public
focal_class.parameters: (final Map<String, DataSource> dataSourceMap, final SchemaContexts schemaContexts, final SQLExecutor sqlExecutor)
focal_class.signature:  StatementExecutor(final Map<String, DataSource> dataSourceMap, final SchemaContexts schemaContexts, final SQLExecutor sqlExecutor)
focal_class.class_method_signature: StatementExecutor.executeQuery(final Collection<InputGroup<StatementExecuteUnit>> inputGroups)
focal_class.full_signature: @Override public List<QueryResult> executeQuery(final Collection<InputGroup<StatementExecuteUnit>> inputGroups)
focal_class.identifier: executeQuery
focal_class.modifiers: @Override public
focal_class.parameters: (final Collection<InputGroup<StatementExecuteUnit>> inputGroups)
focal_class.return: List<QueryResult>
focal_class.signature: List<QueryResult> executeQuery(final Collection<InputGroup<StatementExecuteUnit>> inputGroups)
focal_class.class_method_signature: StatementExecutor.executeUpdate(final Collection<InputGroup<StatementExecuteUnit>> inputGroups, final SQLStatementContext<?> sqlStatementContext)
focal_class.full_signature: @Override public int executeUpdate(final Collection<InputGroup<StatementExecuteUnit>> inputGroups, final SQLStatementContext<?> sqlStatementContext)
focal_class.identifier: executeUpdate
focal_class.modifiers: @Override public
focal_class.parameters: (final Collection<InputGroup<StatementExecuteUnit>> inputGroups, final SQLStatementContext<?> sqlStatementContext)
focal_class.return: int
focal_class.signature: int executeUpdate(final Collection<InputGroup<StatementExecuteUnit>> inputGroups, final SQLStatementContext<?> sqlStatementContext)
focal_class.class_method_signature: StatementExecutor.executeUpdate(final Collection<InputGroup<StatementExecuteUnit>> inputGroups, final SQLStatementContext<?> sqlStatementContext, final int autoGeneratedKeys)
focal_class.full_signature: public int executeUpdate(final Collection<InputGroup<StatementExecuteUnit>> inputGroups, final SQLStatementContext<?> sqlStatementContext, final int autoGeneratedKeys)
focal_class.identifier: executeUpdate
focal_class.modifiers: public
focal_class.parameters: (final Collection<InputGroup<StatementExecuteUnit>> inputGroups, final SQLStatementContext<?> sqlStatementContext, final int autoGeneratedKeys)
focal_class.return: int
focal_class.signature: int executeUpdate(final Collection<InputGroup<StatementExecuteUnit>> inputGroups, final SQLStatementContext<?> sqlStatementContext, final int autoGeneratedKeys)
focal_class.class_method_signature: StatementExecutor.executeUpdate(final Collection<InputGroup<StatementExecuteUnit>> inputGroups, final SQLStatementContext<?> sqlStatementContext, final int[] columnIndexes)
focal_class.full_signature: public int executeUpdate(final Collection<InputGroup<StatementExecuteUnit>> inputGroups, final SQLStatementContext<?> sqlStatementContext, final int[] columnIndexes)
focal_class.identifier: executeUpdate
focal_class.modifiers: public
focal_class.parameters: (final Collection<InputGroup<StatementExecuteUnit>> inputGroups, final SQLStatementContext<?> sqlStatementContext, final int[] columnIndexes)
focal_class.return: int
focal_class.signature: int executeUpdate(final Collection<InputGroup<StatementExecuteUnit>> inputGroups, final SQLStatementContext<?> sqlStatementContext, final int[] columnIndexes)
focal_class.class_method_signature: StatementExecutor.executeUpdate(final Collection<InputGroup<StatementExecuteUnit>> inputGroups, final SQLStatementContext<?> sqlStatementContext, final String[] columnNames)
focal_class.full_signature: public int executeUpdate(final Collection<InputGroup<StatementExecuteUnit>> inputGroups, final SQLStatementContext<?> sqlStatementContext, final String[] columnNames)
focal_class.identifier: executeUpdate
focal_class.modifiers: public
focal_class.parameters: (final Collection<InputGroup<StatementExecuteUnit>> inputGroups, final SQLStatementContext<?> sqlStatementContext, final String[] columnNames)
focal_class.return: int
focal_class.signature: int executeUpdate(final Collection<InputGroup<StatementExecuteUnit>> inputGroups, final SQLStatementContext<?> sqlStatementContext, final String[] columnNames)
focal_class.class_method_signature: StatementExecutor.executeUpdate(final Collection<InputGroup<StatementExecuteUnit>> inputGroups, final Updater updater, final SQLStatementContext<?> sqlStatementContext)
focal_class.full_signature: @SuppressWarnings({"unchecked", "rawtypes"}) private int executeUpdate(final Collection<InputGroup<StatementExecuteUnit>> inputGroups, final Updater updater, final SQLStatementContext<?> sqlStatementContext)
focal_class.identifier: executeUpdate
focal_class.modifiers: @SuppressWarnings({"unchecked", "rawtypes"}) private
focal_class.parameters: (final Collection<InputGroup<StatementExecuteUnit>> inputGroups, final Updater updater, final SQLStatementContext<?> sqlStatementContext)
focal_class.return: int
focal_class.signature: int executeUpdate(final Collection<InputGroup<StatementExecuteUnit>> inputGroups, final Updater updater, final SQLStatementContext<?> sqlStatementContext)
focal_class.class_method_signature: StatementExecutor.execute(final Collection<InputGroup<StatementExecuteUnit>> inputGroups, final SQLStatementContext<?> sqlStatementContext)
focal_class.full_signature: @Override public boolean execute(final Collection<InputGroup<StatementExecuteUnit>> inputGroups, final SQLStatementContext<?> sqlStatementContext)
focal_class.identifier: execute
focal_class.modifiers: @Override public
focal_class.parameters: (final Collection<InputGroup<StatementExecuteUnit>> inputGroups, final SQLStatementContext<?> sqlStatementContext)
focal_class.return: boolean
focal_class.signature: boolean execute(final Collection<InputGroup<StatementExecuteUnit>> inputGroups, final SQLStatementContext<?> sqlStatementContext)
focal_class.class_method_signature: StatementExecutor.execute(final Collection<InputGroup<StatementExecuteUnit>> inputGroups, final SQLStatementContext<?> sqlStatementContext, final int autoGeneratedKeys)
focal_class.full_signature: public boolean execute(final Collection<InputGroup<StatementExecuteUnit>> inputGroups, final SQLStatementContext<?> sqlStatementContext, final int autoGeneratedKeys)
focal_class.identifier: execute
focal_class.modifiers: public
focal_class.parameters: (final Collection<InputGroup<StatementExecuteUnit>> inputGroups, final SQLStatementContext<?> sqlStatementContext, final int autoGeneratedKeys)
focal_class.return: boolean
focal_class.signature: boolean execute(final Collection<InputGroup<StatementExecuteUnit>> inputGroups, final SQLStatementContext<?> sqlStatementContext, final int autoGeneratedKeys)
focal_class.class_method_signature: StatementExecutor.execute(final Collection<InputGroup<StatementExecuteUnit>> inputGroups, final SQLStatementContext<?> sqlStatementContext, final int[] columnIndexes)
focal_class.full_signature: public boolean execute(final Collection<InputGroup<StatementExecuteUnit>> inputGroups, final SQLStatementContext<?> sqlStatementContext, final int[] columnIndexes)
focal_class.identifier: execute
focal_class.modifiers: public
focal_class.parameters: (final Collection<InputGroup<StatementExecuteUnit>> inputGroups, final SQLStatementContext<?> sqlStatementContext, final int[] columnIndexes)
focal_class.return: boolean
focal_class.signature: boolean execute(final Collection<InputGroup<StatementExecuteUnit>> inputGroups, final SQLStatementContext<?> sqlStatementContext, final int[] columnIndexes)
focal_class.class_method_signature: StatementExecutor.execute(final Collection<InputGroup<StatementExecuteUnit>> inputGroups, final SQLStatementContext<?> sqlStatementContext, final String[] columnNames)
focal_class.full_signature: public boolean execute(final Collection<InputGroup<StatementExecuteUnit>> inputGroups, final SQLStatementContext<?> sqlStatementContext, final String[] columnNames)
focal_class.identifier: execute
focal_class.modifiers: public
focal_class.parameters: (final Collection<InputGroup<StatementExecuteUnit>> inputGroups, final SQLStatementContext<?> sqlStatementContext, final String[] columnNames)
focal_class.return: boolean
focal_class.signature: boolean execute(final Collection<InputGroup<StatementExecuteUnit>> inputGroups, final SQLStatementContext<?> sqlStatementContext, final String[] columnNames)
focal_class.class_method_signature: StatementExecutor.execute(final Collection<InputGroup<StatementExecuteUnit>> inputGroups, final Executor executor, final SQLStatementContext<?> sqlStatementContext)
focal_class.full_signature: @SuppressWarnings({"unchecked", "rawtypes"}) private boolean execute(final Collection<InputGroup<StatementExecuteUnit>> inputGroups, final Executor executor, final SQLStatementContext<?> sqlStatementContext)
focal_class.identifier: execute
focal_class.modifiers: @SuppressWarnings({"unchecked", "rawtypes"}) private
focal_class.parameters: (final Collection<InputGroup<StatementExecuteUnit>> inputGroups, final Executor executor, final SQLStatementContext<?> sqlStatementContext)
focal_class.return: boolean
focal_class.signature: boolean execute(final Collection<InputGroup<StatementExecuteUnit>> inputGroups, final Executor executor, final SQLStatementContext<?> sqlStatementContext)
focal_class.superclass: extends AbstractStatementExecutor
focal_method.body: @Override
      public boolean execute(final Collection<InputGroup<StatementExecuteUnit>> inputGroups, final SQLStatementContext<?> sqlStatementContext) throws SQLException {
          return execute(inputGroups, Statement::execute, sqlStatementContext);
      }
focal_method.class_method_signature: StatementExecutor.execute(final Collection<InputGroup<StatementExecuteUnit>> inputGroups, final SQLStatementContext<?> sqlStatementContext)
focal_method.full_signature: @Override public boolean execute(final Collection<InputGroup<StatementExecuteUnit>> inputGroups, final SQLStatementContext<?> sqlStatementContext)
focal_method.identifier: execute
focal_method.invocations: execute
focal_method.modifiers: @Override public
focal_method.parameters: (final Collection<InputGroup<StatementExecuteUnit>> inputGroups, final SQLStatementContext<?> sqlStatementContext)
focal_method.return: boolean
focal_method.signature: boolean execute(final Collection<InputGroup<StatementExecuteUnit>> inputGroups, final SQLStatementContext<?> sqlStatementContext)