test_class.file: shardingsphere-infra/shardingsphere-infra-executor/src/test/java/org/apache/shardingsphere/infra/executor/sql/raw/execute/RawJDBCExecutorTest.java
test_class.identifier: RawJDBCExecutorTest
test_case.body: @Test
      public void assertExecuteNotThrownSQLException() throws SQLException {
          ExecutorKernel kernel = mock(ExecutorKernel.class);
          when(kernel.execute(any(), any(), any(), anyBoolean())).thenThrow(new SQLException("TestSQLException"));
          RawJDBCExecutor rawJDBCExecutor = new RawJDBCExecutor(kernel, false);
          ExecutorExceptionHandler.setExceptionThrown(false);
          assertFalse(rawJDBCExecutor.execute(Collections.emptyList(), null));
      }
test_case.class_method_signature: RawJDBCExecutorTest.assertExecuteNotThrownSQLException()
test_case.full_signature: @Test public void assertExecuteNotThrownSQLException()
test_case.identifier: assertExecuteNotThrownSQLException
test_case.invocations: mock thenThrow when execute any any any anyBoolean setExceptionThrown assertFalse execute emptyList
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void assertExecuteNotThrownSQLException()
focal_class.declarator: executorKernel
focal_class.modifier: private final
focal_class.original_string: private final ExecutorKernel executorKernel;
focal_class.type: ExecutorKernel
focal_class.var_name: executorKernel
focal_class.declarator: serial
focal_class.modifier: private final
focal_class.original_string: private final boolean serial;
focal_class.type: boolean
focal_class.var_name: serial
focal_class.file: shardingsphere-infra/shardingsphere-infra-executor/src/main/java/org/apache/shardingsphere/infra/executor/sql/raw/execute/RawJDBCExecutor.java
focal_class.identifier: RawJDBCExecutor
focal_class.class_method_signature: RawJDBCExecutor.executeQuery(final Collection<InputGroup<RawSQLExecuteUnit>> inputGroups, final RawSQLExecutorCallback callback)
focal_class.full_signature: public List<QueryResult> executeQuery(final Collection<InputGroup<RawSQLExecuteUnit>> inputGroups, final RawSQLExecutorCallback callback)
focal_class.identifier: executeQuery
focal_class.modifiers: public
focal_class.parameters: (final Collection<InputGroup<RawSQLExecuteUnit>> inputGroups, final RawSQLExecutorCallback callback)
focal_class.return: List<QueryResult>
focal_class.signature: List<QueryResult> executeQuery(final Collection<InputGroup<RawSQLExecuteUnit>> inputGroups, final RawSQLExecutorCallback callback)
focal_class.class_method_signature: RawJDBCExecutor.executeUpdate(final Collection<InputGroup<RawSQLExecuteUnit>> inputGroups, final RawSQLExecutorCallback callback)
focal_class.full_signature: public int executeUpdate(final Collection<InputGroup<RawSQLExecuteUnit>> inputGroups, final RawSQLExecutorCallback callback)
focal_class.identifier: executeUpdate
focal_class.modifiers: public
focal_class.parameters: (final Collection<InputGroup<RawSQLExecuteUnit>> inputGroups, final RawSQLExecutorCallback callback)
focal_class.return: int
focal_class.signature: int executeUpdate(final Collection<InputGroup<RawSQLExecuteUnit>> inputGroups, final RawSQLExecutorCallback callback)
focal_class.class_method_signature: RawJDBCExecutor.accumulate(final List<Integer> results)
focal_class.full_signature: private int accumulate(final List<Integer> results)
focal_class.identifier: accumulate
focal_class.modifiers: private
focal_class.parameters: (final List<Integer> results)
focal_class.return: int
focal_class.signature: int accumulate(final List<Integer> results)
focal_class.class_method_signature: RawJDBCExecutor.execute(final Collection<InputGroup<RawSQLExecuteUnit>> inputGroups, final RawSQLExecutorCallback callback)
focal_class.full_signature: public boolean execute(final Collection<InputGroup<RawSQLExecuteUnit>> inputGroups, final RawSQLExecutorCallback callback)
focal_class.identifier: execute
focal_class.modifiers: public
focal_class.parameters: (final Collection<InputGroup<RawSQLExecuteUnit>> inputGroups, final RawSQLExecutorCallback callback)
focal_class.return: boolean
focal_class.signature: boolean execute(final Collection<InputGroup<RawSQLExecuteUnit>> inputGroups, final RawSQLExecutorCallback callback)
focal_class.class_method_signature: RawJDBCExecutor.doExecute(final Collection<InputGroup<RawSQLExecuteUnit>> inputGroups, final RawSQLExecutorCallback callback)
focal_class.full_signature: @SuppressWarnings("unchecked") private List<T> doExecute(final Collection<InputGroup<RawSQLExecuteUnit>> inputGroups, final RawSQLExecutorCallback callback)
focal_class.identifier: doExecute
focal_class.modifiers: @SuppressWarnings("unchecked") private
focal_class.parameters: (final Collection<InputGroup<RawSQLExecuteUnit>> inputGroups, final RawSQLExecutorCallback callback)
focal_class.return: List<T>
focal_class.signature: List<T> doExecute(final Collection<InputGroup<RawSQLExecuteUnit>> inputGroups, final RawSQLExecutorCallback callback)
focal_method.body: public boolean execute(final Collection<InputGroup<RawSQLExecuteUnit>> inputGroups, final RawSQLExecutorCallback callback) throws SQLException {
          List<ExecuteResult> results = doExecute(inputGroups, callback);
          // TODO refresh metadata
          if (null == results || results.isEmpty() || null == results.get(0)) {
              return false;
          }
          return results.get(0) instanceof ExecuteQueryResult;
      }
focal_method.class_method_signature: RawJDBCExecutor.execute(final Collection<InputGroup<RawSQLExecuteUnit>> inputGroups, final RawSQLExecutorCallback callback)
focal_method.full_signature: public boolean execute(final Collection<InputGroup<RawSQLExecuteUnit>> inputGroups, final RawSQLExecutorCallback callback)
focal_method.identifier: execute
focal_method.invocations: doExecute isEmpty get get
focal_method.modifiers: public
focal_method.parameters: (final Collection<InputGroup<RawSQLExecuteUnit>> inputGroups, final RawSQLExecutorCallback callback)
focal_method.return: boolean
focal_method.signature: boolean execute(final Collection<InputGroup<RawSQLExecuteUnit>> inputGroups, final RawSQLExecutorCallback callback)