test_class.declarator: sqlBuilder
test_class.modifier: private
test_class.original_string: private AbstractSQLBuilder sqlBuilder;
test_class.type: AbstractSQLBuilder
test_class.var_name: sqlBuilder
test_class.file: shardingsphere-scaling/shardingsphere-scaling-core/src/test/java/org/apache/shardingsphere/scaling/core/execute/executor/importer/AbstractSqlBuilderTest.java
test_class.identifier: AbstractSqlBuilderTest
test_case.body: @Test
      public void assertBuildInsertSQL() {
          String actual = sqlBuilder.buildInsertSQL(mockDataRecord("t1"));
          assertThat(actual, is("INSERT INTO `t1`(`id`,`sc`,`c1`,`c2`,`c3`) VALUES(?,?,?,?,?)"));
      }
test_case.class_method_signature: AbstractSqlBuilderTest.assertBuildInsertSQL()
test_case.full_signature: @Test public void assertBuildInsertSQL()
test_case.identifier: assertBuildInsertSQL
test_case.invocations: buildInsertSQL mockDataRecord assertThat is
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void assertBuildInsertSQL()
focal_class.declarator: INSERT_SQL_CACHE_KEY_PREFIX = "INSERT_"
focal_class.modifier: private static final
focal_class.original_string: private static final String INSERT_SQL_CACHE_KEY_PREFIX = "INSERT_";
focal_class.type: String
focal_class.var_name: INSERT_SQL_CACHE_KEY_PREFIX
focal_class.declarator: UPDATE_SQL_CACHE_KEY_PREFIX = "UPDATE_"
focal_class.modifier: private static final
focal_class.original_string: private static final String UPDATE_SQL_CACHE_KEY_PREFIX = "UPDATE_";
focal_class.type: String
focal_class.var_name: UPDATE_SQL_CACHE_KEY_PREFIX
focal_class.declarator: DELETE_SQL_CACHE_KEY_PREFIX = "DELETE_"
focal_class.modifier: private static final
focal_class.original_string: private static final String DELETE_SQL_CACHE_KEY_PREFIX = "DELETE_";
focal_class.type: String
focal_class.var_name: DELETE_SQL_CACHE_KEY_PREFIX
focal_class.declarator: sqlCacheMap = new ConcurrentHashMap<>()
focal_class.modifier: private final
focal_class.original_string: private final ConcurrentMap<String, String> sqlCacheMap = new ConcurrentHashMap<>();
focal_class.type: ConcurrentMap<String, String>
focal_class.var_name: sqlCacheMap
focal_class.file: shardingsphere-scaling/shardingsphere-scaling-core/src/main/java/org/apache/shardingsphere/scaling/core/execute/executor/importer/AbstractSQLBuilder.java
focal_class.identifier: AbstractSQLBuilder
focal_class.class_method_signature: AbstractSQLBuilder.getLeftIdentifierQuoteString()
focal_class.full_signature: protected abstract String getLeftIdentifierQuoteString()
focal_class.identifier: getLeftIdentifierQuoteString
focal_class.modifiers: protected abstract
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getLeftIdentifierQuoteString()
focal_class.class_method_signature: AbstractSQLBuilder.getRightIdentifierQuoteString()
focal_class.full_signature: protected abstract String getRightIdentifierQuoteString()
focal_class.identifier: getRightIdentifierQuoteString
focal_class.modifiers: protected abstract
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getRightIdentifierQuoteString()
focal_class.class_method_signature: AbstractSQLBuilder.quote(final String item)
focal_class.full_signature: protected StringBuilder quote(final String item)
focal_class.identifier: quote
focal_class.modifiers: protected
focal_class.parameters: (final String item)
focal_class.return: StringBuilder
focal_class.signature: StringBuilder quote(final String item)
focal_class.class_method_signature: AbstractSQLBuilder.buildInsertSQL(final DataRecord dataRecord)
focal_class.full_signature: public String buildInsertSQL(final DataRecord dataRecord)
focal_class.identifier: buildInsertSQL
focal_class.modifiers: public
focal_class.parameters: (final DataRecord dataRecord)
focal_class.return: String
focal_class.signature: String buildInsertSQL(final DataRecord dataRecord)
focal_class.class_method_signature: AbstractSQLBuilder.buildInsertSQLInternal(final String tableName, final List<Column> columns)
focal_class.full_signature: private String buildInsertSQLInternal(final String tableName, final List<Column> columns)
focal_class.identifier: buildInsertSQLInternal
focal_class.modifiers: private
focal_class.parameters: (final String tableName, final List<Column> columns)
focal_class.return: String
focal_class.signature: String buildInsertSQLInternal(final String tableName, final List<Column> columns)
focal_class.class_method_signature: AbstractSQLBuilder.buildUpdateSQL(final DataRecord dataRecord, final Collection<Column> conditionColumns)
focal_class.full_signature: public String buildUpdateSQL(final DataRecord dataRecord, final Collection<Column> conditionColumns)
focal_class.identifier: buildUpdateSQL
focal_class.modifiers: public
focal_class.parameters: (final DataRecord dataRecord, final Collection<Column> conditionColumns)
focal_class.return: String
focal_class.signature: String buildUpdateSQL(final DataRecord dataRecord, final Collection<Column> conditionColumns)
focal_class.class_method_signature: AbstractSQLBuilder.buildUpdateSQLInternal(final String tableName, final Collection<Column> conditionColumns)
focal_class.full_signature: private String buildUpdateSQLInternal(final String tableName, final Collection<Column> conditionColumns)
focal_class.identifier: buildUpdateSQLInternal
focal_class.modifiers: private
focal_class.parameters: (final String tableName, final Collection<Column> conditionColumns)
focal_class.return: String
focal_class.signature: String buildUpdateSQLInternal(final String tableName, final Collection<Column> conditionColumns)
focal_class.class_method_signature: AbstractSQLBuilder.extractUpdatedColumns(final Collection<Column> columns)
focal_class.full_signature: private Collection<Column> extractUpdatedColumns(final Collection<Column> columns)
focal_class.identifier: extractUpdatedColumns
focal_class.modifiers: private
focal_class.parameters: (final Collection<Column> columns)
focal_class.return: Collection<Column>
focal_class.signature: Collection<Column> extractUpdatedColumns(final Collection<Column> columns)
focal_class.class_method_signature: AbstractSQLBuilder.buildDeleteSQL(final DataRecord dataRecord, final Collection<Column> conditionColumns)
focal_class.full_signature: public String buildDeleteSQL(final DataRecord dataRecord, final Collection<Column> conditionColumns)
focal_class.identifier: buildDeleteSQL
focal_class.modifiers: public
focal_class.parameters: (final DataRecord dataRecord, final Collection<Column> conditionColumns)
focal_class.return: String
focal_class.signature: String buildDeleteSQL(final DataRecord dataRecord, final Collection<Column> conditionColumns)
focal_class.class_method_signature: AbstractSQLBuilder.buildDeleteSQLInternal(final String tableName, final Collection<Column> conditionColumns)
focal_class.full_signature: private String buildDeleteSQLInternal(final String tableName, final Collection<Column> conditionColumns)
focal_class.identifier: buildDeleteSQLInternal
focal_class.modifiers: private
focal_class.parameters: (final String tableName, final Collection<Column> conditionColumns)
focal_class.return: String
focal_class.signature: String buildDeleteSQLInternal(final String tableName, final Collection<Column> conditionColumns)
focal_class.class_method_signature: AbstractSQLBuilder.buildWhereSQL(final Collection<Column> conditionColumns)
focal_class.full_signature: private String buildWhereSQL(final Collection<Column> conditionColumns)
focal_class.identifier: buildWhereSQL
focal_class.modifiers: private
focal_class.parameters: (final Collection<Column> conditionColumns)
focal_class.return: String
focal_class.signature: String buildWhereSQL(final Collection<Column> conditionColumns)
focal_class.class_method_signature: AbstractSQLBuilder.buildCountSQL(final String tableName)
focal_class.full_signature: public String buildCountSQL(final String tableName)
focal_class.identifier: buildCountSQL
focal_class.modifiers: public
focal_class.parameters: (final String tableName)
focal_class.return: String
focal_class.signature: String buildCountSQL(final String tableName)
focal_method.body: public String buildInsertSQL(final DataRecord dataRecord) {
          String sqlCacheKey = INSERT_SQL_CACHE_KEY_PREFIX + dataRecord.getTableName();
          if (!sqlCacheMap.containsKey(sqlCacheKey)) {
              sqlCacheMap.put(sqlCacheKey, buildInsertSQLInternal(dataRecord.getTableName(), dataRecord.getColumns()));
          }
          return sqlCacheMap.get(sqlCacheKey);
      }
focal_method.class_method_signature: AbstractSQLBuilder.buildInsertSQL(final DataRecord dataRecord)
focal_method.full_signature: public String buildInsertSQL(final DataRecord dataRecord)
focal_method.identifier: buildInsertSQL
focal_method.invocations: getTableName containsKey put buildInsertSQLInternal getTableName getColumns get
focal_method.modifiers: public
focal_method.parameters: (final DataRecord dataRecord)
focal_method.return: String
focal_method.signature: String buildInsertSQL(final DataRecord dataRecord)