test_class.declarator: INSERT_MULTI_VALUES_WITH_GENERATE_SHARDING_KEY_SQL = "INSERT INTO t_user (name) VALUES (?),(?),(?),(?)"
test_class.modifier: private static final
test_class.original_string: private static final String INSERT_MULTI_VALUES_WITH_GENERATE_SHARDING_KEY_SQL = "INSERT INTO t_user (name) VALUES (?),(?),(?),(?)";
test_class.type: String
test_class.var_name: INSERT_MULTI_VALUES_WITH_GENERATE_SHARDING_KEY_SQL
test_class.declarator: SELECT_FOR_INSERT_MULTI_VALUES_WITH_GENERATE_SHARDING_KEY_SQL = "SELECT name FROM t_user WHERE id=%dL"
test_class.modifier: private static final
test_class.original_string: private static final String SELECT_FOR_INSERT_MULTI_VALUES_WITH_GENERATE_SHARDING_KEY_SQL = "SELECT name FROM t_user WHERE id=%dL";
test_class.type: String
test_class.var_name: SELECT_FOR_INSERT_MULTI_VALUES_WITH_GENERATE_SHARDING_KEY_SQL
test_class.declarator: INSERT_WITH_GENERATE_KEY_SQL = "INSERT INTO t_order_item (item_id, order_id, user_id, status) VALUES (?, ?, ?, ?)"
test_class.modifier: private static final
test_class.original_string: private static final String INSERT_WITH_GENERATE_KEY_SQL = "INSERT INTO t_order_item (item_id, order_id, user_id, status) VALUES (?, ?, ?, ?)";
test_class.type: String
test_class.var_name: INSERT_WITH_GENERATE_KEY_SQL
test_class.declarator: INSERT_WITHOUT_GENERATE_KEY_SQL = "INSERT INTO t_order_item (order_id, user_id, status) VALUES (?, ?, ?)"
test_class.modifier: private static final
test_class.original_string: private static final String INSERT_WITHOUT_GENERATE_KEY_SQL = "INSERT INTO t_order_item (order_id, user_id, status) VALUES (?, ?, ?)";
test_class.type: String
test_class.var_name: INSERT_WITHOUT_GENERATE_KEY_SQL
test_class.declarator: INSERT_WITH_GENERATE_KEY_SQL_WITH_MULTI_VALUES = "INSERT INTO t_order_item (item_id, order_id, user_id, status) VALUES (1, ?, ?, ?), (2, ?, ?, ?)"
test_class.modifier: private static final
test_class.original_string: private static final String INSERT_WITH_GENERATE_KEY_SQL_WITH_MULTI_VALUES = "INSERT INTO t_order_item (item_id, order_id, user_id, status) VALUES (1, ?, ?, ?), (2, ?, ?, ?)";
test_class.type: String
test_class.var_name: INSERT_WITH_GENERATE_KEY_SQL_WITH_MULTI_VALUES
test_class.declarator: INSERT_ON_DUPLICATE_KEY_SQL = "INSERT INTO t_order_item (item_id, order_id, user_id, status) VALUES (?, ?, ?, ?), (?, ?, ?, ?) ON DUPLICATE KEY UPDATE status = ?"
test_class.modifier: private static final
test_class.original_string: private static final String INSERT_ON_DUPLICATE_KEY_SQL = "INSERT INTO t_order_item (item_id, order_id, user_id, status) VALUES (?, ?, ?, ?), (?, ?, ?, ?) ON DUPLICATE KEY UPDATE status = ?";
test_class.type: String
test_class.var_name: INSERT_ON_DUPLICATE_KEY_SQL
test_class.declarator: SELECT_SQL_WITHOUT_PARAMETER_MARKER = "SELECT item_id FROM t_order_item WHERE user_id = %d AND order_id= %s AND status = 'BATCH'"
test_class.modifier: private static final
test_class.original_string: private static final String SELECT_SQL_WITHOUT_PARAMETER_MARKER = "SELECT item_id FROM t_order_item WHERE user_id = %d AND order_id= %s AND status = 'BATCH'";
test_class.type: String
test_class.var_name: SELECT_SQL_WITHOUT_PARAMETER_MARKER
test_class.declarator: SELECT_SQL_WITH_PARAMETER_MARKER = "SELECT item_id FROM t_order_item WHERE user_id = ? AND order_id= ? AND status = 'BATCH'"
test_class.modifier: private static final
test_class.original_string: private static final String SELECT_SQL_WITH_PARAMETER_MARKER = "SELECT item_id FROM t_order_item WHERE user_id = ? AND order_id= ? AND status = 'BATCH'";
test_class.type: String
test_class.var_name: SELECT_SQL_WITH_PARAMETER_MARKER
test_class.declarator: SELECT_SQL_WITH_PARAMETER_MARKER_RETURN_STATUS = "SELECT item_id, user_id, status FROM t_order_item WHERE  order_id= ? AND user_id = ?"
test_class.modifier: private static final
test_class.original_string: private static final String SELECT_SQL_WITH_PARAMETER_MARKER_RETURN_STATUS = "SELECT item_id, user_id, status FROM t_order_item WHERE  order_id= ? AND user_id = ?";
test_class.type: String
test_class.var_name: SELECT_SQL_WITH_PARAMETER_MARKER_RETURN_STATUS
test_class.declarator: SELECT_AUTO_SQL = "SELECT item_id, order_id, status FROM t_order_item_auto WHERE order_id >= ?"
test_class.modifier: private static final
test_class.original_string: private static final String SELECT_AUTO_SQL = "SELECT item_id, order_id, status FROM t_order_item_auto WHERE order_id >= ?";
test_class.type: String
test_class.var_name: SELECT_AUTO_SQL
test_class.declarator: UPDATE_SQL = "UPDATE t_order SET status = ? WHERE user_id = ? AND order_id = ?"
test_class.modifier: private static final
test_class.original_string: private static final String UPDATE_SQL = "UPDATE t_order SET status = ? WHERE user_id = ? AND order_id = ?";
test_class.type: String
test_class.var_name: UPDATE_SQL
test_class.declarator: UPDATE_AUTO_SQL = "UPDATE t_order_auto SET status = ? WHERE order_id = ?"
test_class.modifier: private static final
test_class.original_string: private static final String UPDATE_AUTO_SQL = "UPDATE t_order_auto SET status = ? WHERE order_id = ?";
test_class.type: String
test_class.var_name: UPDATE_AUTO_SQL
test_class.declarator: UPDATE_BATCH_SQL = "UPDATE t_order SET status=? WHERE status=?"
test_class.modifier: private static final
test_class.original_string: private static final String UPDATE_BATCH_SQL = "UPDATE t_order SET status=? WHERE status=?";
test_class.type: String
test_class.var_name: UPDATE_BATCH_SQL
test_class.file: shardingsphere-jdbc/shardingsphere-jdbc-core/src/test/java/org/apache/shardingsphere/driver/jdbc/core/statement/ShardingSpherePreparedStatementTest.java
test_class.identifier: ShardingSpherePreparedStatementTest
test_class.superclass: extends AbstractShardingSphereDataSourceForShardingTest
test_case.body: @Test
      public void assertExecuteSelectAutoTableGetResultSet() throws SQLException {
          Collection<Integer> result = Lists.newArrayList(1001, 1100, 1101);
          try (PreparedStatement preparedStatement = getShardingSphereDataSource().getConnection().prepareStatement(SELECT_AUTO_SQL)) {
              preparedStatement.setInt(1, 1001);
              int count = 0;
              try (ResultSet resultSet = preparedStatement.executeQuery()) {
                  while (resultSet.next()) {
                      result.contains(resultSet.getInt(2));
                      count++;
                  }
              }
              assertThat(result.size(), is(count));
          }
      }
test_case.class_method_signature: ShardingSpherePreparedStatementTest.assertExecuteSelectAutoTableGetResultSet()
test_case.full_signature: @Test public void assertExecuteSelectAutoTableGetResultSet()
test_case.identifier: assertExecuteSelectAutoTableGetResultSet
test_case.invocations: newArrayList prepareStatement getConnection getShardingSphereDataSource setInt executeQuery next contains getInt assertThat size is
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void assertExecuteSelectAutoTableGetResultSet()
focal_class.declarator: connection
focal_class.modifier: @Getter
      private final
focal_class.original_string: @Getter
      private final ShardingSphereConnection connection;
focal_class.type: ShardingSphereConnection
focal_class.var_name: connection
focal_class.declarator: schemaContexts
focal_class.modifier: private final
focal_class.original_string: private final SchemaContexts schemaContexts;
focal_class.type: SchemaContexts
focal_class.var_name: schemaContexts
focal_class.declarator: sql
focal_class.modifier: private final
focal_class.original_string: private final String sql;
focal_class.type: String
focal_class.var_name: sql
focal_class.declarator: statements
focal_class.modifier: private final
focal_class.original_string: private final List<PreparedStatement> statements;
focal_class.type: List<PreparedStatement>
focal_class.var_name: statements
focal_class.declarator: parameterSets
focal_class.modifier: private final
focal_class.original_string: private final List<List<Object>> parameterSets;
focal_class.type: List<List<Object>>
focal_class.var_name: parameterSets
focal_class.declarator: sqlStatement
focal_class.modifier: private final
focal_class.original_string: private final SQLStatement sqlStatement;
focal_class.type: SQLStatement
focal_class.var_name: sqlStatement
focal_class.declarator: statementOption
focal_class.modifier: private final
focal_class.original_string: private final StatementOption statementOption;
focal_class.type: StatementOption
focal_class.var_name: statementOption
focal_class.declarator: parameterMetaData
focal_class.modifier: @Getter
      private final
focal_class.original_string: @Getter
      private final ParameterMetaData parameterMetaData;
focal_class.type: ParameterMetaData
focal_class.var_name: parameterMetaData
focal_class.declarator: preparedStatementExecutor
focal_class.modifier: private final
focal_class.original_string: private final PreparedStatementExecutor preparedStatementExecutor;
focal_class.type: PreparedStatementExecutor
focal_class.var_name: preparedStatementExecutor
focal_class.declarator: rawExecutor
focal_class.modifier: private final
focal_class.original_string: private final RawJDBCExecutor rawExecutor;
focal_class.type: RawJDBCExecutor
focal_class.var_name: rawExecutor
focal_class.declarator: batchPreparedStatementExecutor
focal_class.modifier: private final
focal_class.original_string: private final BatchPreparedStatementExecutor batchPreparedStatementExecutor;
focal_class.type: BatchPreparedStatementExecutor
focal_class.var_name: batchPreparedStatementExecutor
focal_class.declarator: generatedValues = new LinkedList<>()
focal_class.modifier: private final
focal_class.original_string: private final Collection<Comparable<?>> generatedValues = new LinkedList<>();
focal_class.type: Collection<Comparable<?>>
focal_class.var_name: generatedValues
focal_class.declarator: executionContext
focal_class.modifier: private
focal_class.original_string: private ExecutionContext executionContext;
focal_class.type: ExecutionContext
focal_class.var_name: executionContext
focal_class.declarator: currentResultSet
focal_class.modifier: private
focal_class.original_string: private ResultSet currentResultSet;
focal_class.type: ResultSet
focal_class.var_name: currentResultSet
focal_class.file: shardingsphere-jdbc/shardingsphere-jdbc-core/src/main/java/org/apache/shardingsphere/driver/jdbc/core/statement/ShardingSpherePreparedStatement.java
focal_class.identifier: ShardingSpherePreparedStatement
focal_class.class_method_signature: ShardingSpherePreparedStatement.ShardingSpherePreparedStatement(final ShardingSphereConnection connection, final String sql)
focal_class.full_signature: public  ShardingSpherePreparedStatement(final ShardingSphereConnection connection, final String sql)
focal_class.identifier: ShardingSpherePreparedStatement
focal_class.modifiers: public
focal_class.parameters: (final ShardingSphereConnection connection, final String sql)
focal_class.signature:  ShardingSpherePreparedStatement(final ShardingSphereConnection connection, final String sql)
focal_class.class_method_signature: ShardingSpherePreparedStatement.ShardingSpherePreparedStatement(final ShardingSphereConnection connection, final String sql, final int resultSetType, final int resultSetConcurrency)
focal_class.full_signature: public  ShardingSpherePreparedStatement(final ShardingSphereConnection connection, final String sql, final int resultSetType, final int resultSetConcurrency)
focal_class.identifier: ShardingSpherePreparedStatement
focal_class.modifiers: public
focal_class.parameters: (final ShardingSphereConnection connection, final String sql, final int resultSetType, final int resultSetConcurrency)
focal_class.signature:  ShardingSpherePreparedStatement(final ShardingSphereConnection connection, final String sql, final int resultSetType, final int resultSetConcurrency)
focal_class.class_method_signature: ShardingSpherePreparedStatement.ShardingSpherePreparedStatement(final ShardingSphereConnection connection, final String sql, final int autoGeneratedKeys)
focal_class.full_signature: public  ShardingSpherePreparedStatement(final ShardingSphereConnection connection, final String sql, final int autoGeneratedKeys)
focal_class.identifier: ShardingSpherePreparedStatement
focal_class.modifiers: public
focal_class.parameters: (final ShardingSphereConnection connection, final String sql, final int autoGeneratedKeys)
focal_class.signature:  ShardingSpherePreparedStatement(final ShardingSphereConnection connection, final String sql, final int autoGeneratedKeys)
focal_class.class_method_signature: ShardingSpherePreparedStatement.ShardingSpherePreparedStatement(
              final ShardingSphereConnection connection, final String sql, final int resultSetType, final int resultSetConcurrency, final int resultSetHoldability)
focal_class.full_signature: public  ShardingSpherePreparedStatement(
              final ShardingSphereConnection connection, final String sql, final int resultSetType, final int resultSetConcurrency, final int resultSetHoldability)
focal_class.identifier: ShardingSpherePreparedStatement
focal_class.modifiers: public
focal_class.parameters: (
              final ShardingSphereConnection connection, final String sql, final int resultSetType, final int resultSetConcurrency, final int resultSetHoldability)
focal_class.signature:  ShardingSpherePreparedStatement(
              final ShardingSphereConnection connection, final String sql, final int resultSetType, final int resultSetConcurrency, final int resultSetHoldability)
focal_class.class_method_signature: ShardingSpherePreparedStatement.ShardingSpherePreparedStatement(final ShardingSphereConnection connection, final String sql,
                                              final int resultSetType, final int resultSetConcurrency, final int resultSetHoldability, final boolean returnGeneratedKeys)
focal_class.full_signature: private  ShardingSpherePreparedStatement(final ShardingSphereConnection connection, final String sql,
                                              final int resultSetType, final int resultSetConcurrency, final int resultSetHoldability, final boolean returnGeneratedKeys)
focal_class.identifier: ShardingSpherePreparedStatement
focal_class.modifiers: private
focal_class.parameters: (final ShardingSphereConnection connection, final String sql,
                                              final int resultSetType, final int resultSetConcurrency, final int resultSetHoldability, final boolean returnGeneratedKeys)
focal_class.signature:  ShardingSpherePreparedStatement(final ShardingSphereConnection connection, final String sql,
                                              final int resultSetType, final int resultSetConcurrency, final int resultSetHoldability, final boolean returnGeneratedKeys)
focal_class.class_method_signature: ShardingSpherePreparedStatement.executeQuery()
focal_class.full_signature: @Override public ResultSet executeQuery()
focal_class.identifier: executeQuery
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: ResultSet
focal_class.signature: ResultSet executeQuery()
focal_class.class_method_signature: ShardingSpherePreparedStatement.executeUpdate()
focal_class.full_signature: @Override public int executeUpdate()
focal_class.identifier: executeUpdate
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int executeUpdate()
focal_class.class_method_signature: ShardingSpherePreparedStatement.execute()
focal_class.full_signature: @Override public boolean execute()
focal_class.identifier: execute
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean execute()
focal_class.class_method_signature: ShardingSpherePreparedStatement.getInputGroups()
focal_class.full_signature: private Collection<InputGroup<StatementExecuteUnit>> getInputGroups()
focal_class.identifier: getInputGroups
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: Collection<InputGroup<StatementExecuteUnit>>
focal_class.signature: Collection<InputGroup<StatementExecuteUnit>> getInputGroups()
focal_class.class_method_signature: ShardingSpherePreparedStatement.getRawInputGroups()
focal_class.full_signature: private Collection<InputGroup<RawSQLExecuteUnit>> getRawInputGroups()
focal_class.identifier: getRawInputGroups
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: Collection<InputGroup<RawSQLExecuteUnit>>
focal_class.signature: Collection<InputGroup<RawSQLExecuteUnit>> getRawInputGroups()
focal_class.class_method_signature: ShardingSpherePreparedStatement.getResultSet()
focal_class.full_signature: @Override public ResultSet getResultSet()
focal_class.identifier: getResultSet
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: ResultSet
focal_class.signature: ResultSet getResultSet()
focal_class.class_method_signature: ShardingSpherePreparedStatement.getResultSet(final Statement statement)
focal_class.full_signature: private ResultSet getResultSet(final Statement statement)
focal_class.identifier: getResultSet
focal_class.modifiers: private
focal_class.parameters: (final Statement statement)
focal_class.return: ResultSet
focal_class.signature: ResultSet getResultSet(final Statement statement)
focal_class.class_method_signature: ShardingSpherePreparedStatement.getResultSets()
focal_class.full_signature: private List<ResultSet> getResultSets()
focal_class.identifier: getResultSets
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: List<ResultSet>
focal_class.signature: List<ResultSet> getResultSets()
focal_class.class_method_signature: ShardingSpherePreparedStatement.getQueryResults(final List<ResultSet> resultSets)
focal_class.full_signature: private List<QueryResult> getQueryResults(final List<ResultSet> resultSets)
focal_class.identifier: getQueryResults
focal_class.modifiers: private
focal_class.parameters: (final List<ResultSet> resultSets)
focal_class.return: List<QueryResult>
focal_class.signature: List<QueryResult> getQueryResults(final List<ResultSet> resultSets)
focal_class.class_method_signature: ShardingSpherePreparedStatement.createExecutionContext()
focal_class.full_signature: private ExecutionContext createExecutionContext()
focal_class.identifier: createExecutionContext
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: ExecutionContext
focal_class.signature: ExecutionContext createExecutionContext()
focal_class.class_method_signature: ShardingSpherePreparedStatement.createLogicSQL()
focal_class.full_signature: private LogicSQL createLogicSQL()
focal_class.identifier: createLogicSQL
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: LogicSQL
focal_class.signature: LogicSQL createLogicSQL()
focal_class.class_method_signature: ShardingSpherePreparedStatement.mergeQuery(final List<QueryResult> queryResults)
focal_class.full_signature: private MergedResult mergeQuery(final List<QueryResult> queryResults)
focal_class.identifier: mergeQuery
focal_class.modifiers: private
focal_class.parameters: (final List<QueryResult> queryResults)
focal_class.return: MergedResult
focal_class.signature: MergedResult mergeQuery(final List<QueryResult> queryResults)
focal_class.class_method_signature: ShardingSpherePreparedStatement.reply()
focal_class.full_signature: private void reply()
focal_class.identifier: reply
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void reply()
focal_class.class_method_signature: ShardingSpherePreparedStatement.cacheStatements(final Collection<InputGroup<StatementExecuteUnit>> inputGroups)
focal_class.full_signature: private void cacheStatements(final Collection<InputGroup<StatementExecuteUnit>> inputGroups)
focal_class.identifier: cacheStatements
focal_class.modifiers: private
focal_class.parameters: (final Collection<InputGroup<StatementExecuteUnit>> inputGroups)
focal_class.return: void
focal_class.signature: void cacheStatements(final Collection<InputGroup<StatementExecuteUnit>> inputGroups)
focal_class.class_method_signature: ShardingSpherePreparedStatement.setParametersForStatements()
focal_class.full_signature: private void setParametersForStatements()
focal_class.identifier: setParametersForStatements
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void setParametersForStatements()
focal_class.class_method_signature: ShardingSpherePreparedStatement.replayMethodForStatements()
focal_class.full_signature: private void replayMethodForStatements()
focal_class.identifier: replayMethodForStatements
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void replayMethodForStatements()
focal_class.class_method_signature: ShardingSpherePreparedStatement.clearPrevious()
focal_class.full_signature: private void clearPrevious()
focal_class.identifier: clearPrevious
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void clearPrevious()
focal_class.class_method_signature: ShardingSpherePreparedStatement.findGeneratedKey(final ExecutionContext executionContext)
focal_class.full_signature: private Optional<GeneratedKeyContext> findGeneratedKey(final ExecutionContext executionContext)
focal_class.identifier: findGeneratedKey
focal_class.modifiers: private
focal_class.parameters: (final ExecutionContext executionContext)
focal_class.return: Optional<GeneratedKeyContext>
focal_class.signature: Optional<GeneratedKeyContext> findGeneratedKey(final ExecutionContext executionContext)
focal_class.class_method_signature: ShardingSpherePreparedStatement.logSQL(final LogicSQL logicSQL, final ExecutionContext executionContext)
focal_class.full_signature: private void logSQL(final LogicSQL logicSQL, final ExecutionContext executionContext)
focal_class.identifier: logSQL
focal_class.modifiers: private
focal_class.parameters: (final LogicSQL logicSQL, final ExecutionContext executionContext)
focal_class.return: void
focal_class.signature: void logSQL(final LogicSQL logicSQL, final ExecutionContext executionContext)
focal_class.class_method_signature: ShardingSpherePreparedStatement.getGeneratedKeys()
focal_class.full_signature: @Override public ResultSet getGeneratedKeys()
focal_class.identifier: getGeneratedKeys
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: ResultSet
focal_class.signature: ResultSet getGeneratedKeys()
focal_class.class_method_signature: ShardingSpherePreparedStatement.addBatch()
focal_class.full_signature: @Override public void addBatch()
focal_class.identifier: addBatch
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void addBatch()
focal_class.class_method_signature: ShardingSpherePreparedStatement.executeBatch()
focal_class.full_signature: @Override public int[] executeBatch()
focal_class.identifier: executeBatch
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int[]
focal_class.signature: int[] executeBatch()
focal_class.class_method_signature: ShardingSpherePreparedStatement.initBatchPreparedStatementExecutor()
focal_class.full_signature: private void initBatchPreparedStatementExecutor()
focal_class.identifier: initBatchPreparedStatementExecutor
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void initBatchPreparedStatementExecutor()
focal_class.class_method_signature: ShardingSpherePreparedStatement.setBatchParametersForStatements()
focal_class.full_signature: private void setBatchParametersForStatements()
focal_class.identifier: setBatchParametersForStatements
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void setBatchParametersForStatements()
focal_class.class_method_signature: ShardingSpherePreparedStatement.clearBatch()
focal_class.full_signature: @Override public void clearBatch()
focal_class.identifier: clearBatch
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void clearBatch()
focal_class.class_method_signature: ShardingSpherePreparedStatement.getResultSetType()
focal_class.full_signature: @SuppressWarnings("MagicConstant") @Override public int getResultSetType()
focal_class.identifier: getResultSetType
focal_class.modifiers: @SuppressWarnings("MagicConstant") @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getResultSetType()
focal_class.class_method_signature: ShardingSpherePreparedStatement.getResultSetConcurrency()
focal_class.full_signature: @SuppressWarnings("MagicConstant") @Override public int getResultSetConcurrency()
focal_class.identifier: getResultSetConcurrency
focal_class.modifiers: @SuppressWarnings("MagicConstant") @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getResultSetConcurrency()
focal_class.class_method_signature: ShardingSpherePreparedStatement.getResultSetHoldability()
focal_class.full_signature: @Override public int getResultSetHoldability()
focal_class.identifier: getResultSetHoldability
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getResultSetHoldability()
focal_class.class_method_signature: ShardingSpherePreparedStatement.isAccumulate()
focal_class.full_signature: @Override public boolean isAccumulate()
focal_class.identifier: isAccumulate
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isAccumulate()
focal_class.class_method_signature: ShardingSpherePreparedStatement.getRoutedStatements()
focal_class.full_signature: @Override public Collection<PreparedStatement> getRoutedStatements()
focal_class.identifier: getRoutedStatements
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Collection<PreparedStatement>
focal_class.signature: Collection<PreparedStatement> getRoutedStatements()
focal_class.class_method_signature: ShardingSpherePreparedStatement.clearStatements()
focal_class.full_signature: private void clearStatements()
focal_class.identifier: clearStatements
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void clearStatements()
focal_class.superclass: extends AbstractPreparedStatementAdapter
focal_method.body: @Override
      public ResultSet executeQuery() throws SQLException {
          ResultSet result;
          try {
              clearPrevious();
              executionContext = createExecutionContext();
              List<QueryResult> queryResults;
              if (ExecutorConstant.MANAGED_RESOURCE) {
                  Collection<InputGroup<StatementExecuteUnit>> inputGroups = getInputGroups();
                  cacheStatements(inputGroups);
                  reply();
                  queryResults = preparedStatementExecutor.executeQuery(inputGroups);
              } else {
                  queryResults = rawExecutor.executeQuery(getRawInputGroups(), new RawSQLExecutorCallback());
              }
              MergedResult mergedResult = mergeQuery(queryResults);
              result = new ShardingSphereResultSet(statements.stream().map(this::getResultSet).collect(Collectors.toList()), mergedResult, this, executionContext);
          } finally {
              clearBatch();
          }
          currentResultSet = result;
          return result;
      }
focal_method.class_method_signature: ShardingSpherePreparedStatement.executeQuery()
focal_method.full_signature: @Override public ResultSet executeQuery()
focal_method.identifier: executeQuery
focal_method.invocations: clearPrevious createExecutionContext getInputGroups cacheStatements reply executeQuery executeQuery getRawInputGroups mergeQuery collect map stream toList clearBatch
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: ResultSet
focal_method.signature: ResultSet executeQuery()