test_class.declarator: walEventConverter
test_class.modifier: private
test_class.original_string: private WalEventConverter walEventConverter;
test_class.type: WalEventConverter
test_class.var_name: walEventConverter
test_class.file: shardingsphere-scaling/shardingsphere-scaling-postgresql/src/test/java/org/apache/shardingsphere/scaling/postgresql/wal/WalEventConverterTest.java
test_class.identifier: WalEventConverterTest
test_case.body: @Test
      public void assertConvertPlaceholderEvent() {
          Record record = walEventConverter.convert(new PlaceholderEvent());
          assertTrue(record instanceof PlaceholderRecord);
      }
test_case.class_method_signature: WalEventConverterTest.assertConvertPlaceholderEvent()
test_case.full_signature: @Test public void assertConvertPlaceholderEvent()
test_case.identifier: assertConvertPlaceholderEvent
test_case.invocations: convert assertTrue
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void assertConvertPlaceholderEvent()
focal_class.declarator: dumperConfig
focal_class.modifier: private final
focal_class.original_string: private final DumperConfiguration dumperConfig;
focal_class.type: DumperConfiguration
focal_class.var_name: dumperConfig
focal_class.declarator: metaDataManager
focal_class.modifier: private final
focal_class.original_string: private final MetaDataManager metaDataManager;
focal_class.type: MetaDataManager
focal_class.var_name: metaDataManager
focal_class.file: shardingsphere-scaling/shardingsphere-scaling-postgresql/src/main/java/org/apache/shardingsphere/scaling/postgresql/wal/WalEventConverter.java
focal_class.identifier: WalEventConverter
focal_class.class_method_signature: WalEventConverter.WalEventConverter(final DumperConfiguration dumperConfig)
focal_class.full_signature: public  WalEventConverter(final DumperConfiguration dumperConfig)
focal_class.identifier: WalEventConverter
focal_class.modifiers: public
focal_class.parameters: (final DumperConfiguration dumperConfig)
focal_class.signature:  WalEventConverter(final DumperConfiguration dumperConfig)
focal_class.class_method_signature: WalEventConverter.convert(final AbstractWalEvent event)
focal_class.full_signature: public Record convert(final AbstractWalEvent event)
focal_class.identifier: convert
focal_class.modifiers: public
focal_class.parameters: (final AbstractWalEvent event)
focal_class.return: Record
focal_class.signature: Record convert(final AbstractWalEvent event)
focal_class.class_method_signature: WalEventConverter.filter(final String database, final AbstractWalEvent event)
focal_class.full_signature: private boolean filter(final String database, final AbstractWalEvent event)
focal_class.identifier: filter
focal_class.modifiers: private
focal_class.parameters: (final String database, final AbstractWalEvent event)
focal_class.return: boolean
focal_class.signature: boolean filter(final String database, final AbstractWalEvent event)
focal_class.class_method_signature: WalEventConverter.isRowEvent(final AbstractWalEvent event)
focal_class.full_signature: private boolean isRowEvent(final AbstractWalEvent event)
focal_class.identifier: isRowEvent
focal_class.modifiers: private
focal_class.parameters: (final AbstractWalEvent event)
focal_class.return: boolean
focal_class.signature: boolean isRowEvent(final AbstractWalEvent event)
focal_class.class_method_signature: WalEventConverter.createPlaceholderRecord(final AbstractWalEvent event)
focal_class.full_signature: private PlaceholderRecord createPlaceholderRecord(final AbstractWalEvent event)
focal_class.identifier: createPlaceholderRecord
focal_class.modifiers: private
focal_class.parameters: (final AbstractWalEvent event)
focal_class.return: PlaceholderRecord
focal_class.signature: PlaceholderRecord createPlaceholderRecord(final AbstractWalEvent event)
focal_class.class_method_signature: WalEventConverter.handleWriteRowsEvent(final WriteRowEvent writeRowEvent)
focal_class.full_signature: private DataRecord handleWriteRowsEvent(final WriteRowEvent writeRowEvent)
focal_class.identifier: handleWriteRowsEvent
focal_class.modifiers: private
focal_class.parameters: (final WriteRowEvent writeRowEvent)
focal_class.return: DataRecord
focal_class.signature: DataRecord handleWriteRowsEvent(final WriteRowEvent writeRowEvent)
focal_class.class_method_signature: WalEventConverter.handleUpdateRowsEvent(final UpdateRowEvent updateRowEvent)
focal_class.full_signature: private DataRecord handleUpdateRowsEvent(final UpdateRowEvent updateRowEvent)
focal_class.identifier: handleUpdateRowsEvent
focal_class.modifiers: private
focal_class.parameters: (final UpdateRowEvent updateRowEvent)
focal_class.return: DataRecord
focal_class.signature: DataRecord handleUpdateRowsEvent(final UpdateRowEvent updateRowEvent)
focal_class.class_method_signature: WalEventConverter.handleDeleteRowsEvent(final DeleteRowEvent event)
focal_class.full_signature: private DataRecord handleDeleteRowsEvent(final DeleteRowEvent event)
focal_class.identifier: handleDeleteRowsEvent
focal_class.modifiers: private
focal_class.parameters: (final DeleteRowEvent event)
focal_class.return: DataRecord
focal_class.signature: DataRecord handleDeleteRowsEvent(final DeleteRowEvent event)
focal_class.class_method_signature: WalEventConverter.createDataRecord(final AbstractRowEvent rowsEvent, final int columnCount)
focal_class.full_signature: private DataRecord createDataRecord(final AbstractRowEvent rowsEvent, final int columnCount)
focal_class.identifier: createDataRecord
focal_class.modifiers: private
focal_class.parameters: (final AbstractRowEvent rowsEvent, final int columnCount)
focal_class.return: DataRecord
focal_class.signature: DataRecord createDataRecord(final AbstractRowEvent rowsEvent, final int columnCount)
focal_class.class_method_signature: WalEventConverter.putColumnsIntoDataRecord(final DataRecord dataRecord, final TableMetaData tableMetaData, final List<Object> values)
focal_class.full_signature: private void putColumnsIntoDataRecord(final DataRecord dataRecord, final TableMetaData tableMetaData, final List<Object> values)
focal_class.identifier: putColumnsIntoDataRecord
focal_class.modifiers: private
focal_class.parameters: (final DataRecord dataRecord, final TableMetaData tableMetaData, final List<Object> values)
focal_class.return: void
focal_class.signature: void putColumnsIntoDataRecord(final DataRecord dataRecord, final TableMetaData tableMetaData, final List<Object> values)
focal_method.body: public Record convert(final AbstractWalEvent event) {
          JdbcUri uri = new JdbcUri(((JDBCScalingDataSourceConfiguration) dumperConfig.getDataSourceConfiguration()).getJdbcUrl());
          if (filter(uri.getDatabase(), event)) {
              return createPlaceholderRecord(event);
          } else if (event instanceof WriteRowEvent) {
              return handleWriteRowsEvent((WriteRowEvent) event);
          } else if (event instanceof UpdateRowEvent) {
              return handleUpdateRowsEvent((UpdateRowEvent) event);
          } else if (event instanceof DeleteRowEvent) {
              return handleDeleteRowsEvent((DeleteRowEvent) event);
          } else if (event instanceof PlaceholderEvent) {
              return createPlaceholderRecord(event);
          }
          throw new UnsupportedOperationException("");
      }
focal_method.class_method_signature: WalEventConverter.convert(final AbstractWalEvent event)
focal_method.full_signature: public Record convert(final AbstractWalEvent event)
focal_method.identifier: convert
focal_method.invocations: getJdbcUrl getDataSourceConfiguration filter getDatabase createPlaceholderRecord handleWriteRowsEvent handleUpdateRowsEvent handleDeleteRowsEvent createPlaceholderRecord
focal_method.modifiers: public
focal_method.parameters: (final AbstractWalEvent event)
focal_method.return: Record
focal_method.signature: Record convert(final AbstractWalEvent event)