Code example for HashMap

Methods: put

0
_transactionSuccessCallBack = transactionSuccessCallBack;
    _fileInputStream = new FileInputStream(file);
    _schemaRegistry = schemaRegistry;
    //Build Datastructure for table --> namespace 
    _tableToNamespace = new HashMap<String, String>();
    _tableToNamespace.put("MEMBER2.TEST", "com.linkedin.events.member2.test.test");
    _tableToNamespace.put("MEMBER2.TEST2", "com.linkedin.events.member2.test.test");
    _tableToNamespace.put("MEMBER2.TEST3", "com.linkedin.events.member2.test.test");
    _tableToSourceId = new HashMap<String, Integer>();
    _tableToSourceId.put("MEMBER2.TEST", 401);
    _tableToSourceId.put("MEMBER2.TEST2", 402);
    _tableToSourceId.put("MEMBER2.TEST3", 403);
    ReplicationBitSetterConfig _config = new ReplicationBitSetterConfig();
    _config.setFieldName("test");
    _config.setSourceType("NONE");
    _staticReplicationConfig = _config.build();
  } 
 
  public void processXml() 
      throws Exception