Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationEventAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
0
Help us understand the problem. What are the problem?

Modelerデータ加工Tips#01コード

Modelerデータ加工Tips#01 出題用サンプルコード

python
stream = modeler.script.stream()

node1 = stream.create("userinput", "Money")
node1.setXYPosition(100,100)
node1.setPropertyValue("names", ["money"])
node1.setKeyedPropertyValue("data", "money", "'1,458,200''778,800'")
node1.setKeyedPropertyValue("custom_storage", "money", "String")

node2 = stream.create("userinput", "Log")
node2.setXYPosition(100,300)
node2.setPropertyValue("names", ["Log"])
node2.setKeyedPropertyValue("data", "Log", "'931 INFO  [LmtpServer-99] ;mid=149083; mailop - Adding Message: id=191'")
node2.setKeyedPropertyValue("custom_storage", "Log", "String")

出題は以下のURL:
https://www.ibm.com/blogs/solutions/jp-ja/modeler-tips-01/

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
0
Help us understand the problem. What are the problem?