-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathorg.knime.base.filehandling.binaryobjectstostrings.BinaryObjectsToStringsNodeParametersTest1.snap
More file actions
138 lines (138 loc) · 4.44 KB
/
org.knime.base.filehandling.binaryobjectstostrings.BinaryObjectsToStringsNodeParametersTest1.snap
File metadata and controls
138 lines (138 loc) · 4.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
{
"data" : {
"model" : {
"columnSelection" : "Image",
"decoding" : "UTF_8",
"outputMode" : "REPLACE",
"newColumnName" : "String"
}
},
"schema" : {
"type" : "object",
"properties" : {
"model" : {
"type" : "object",
"properties" : {
"columnSelection" : {
"type" : "string",
"title" : "Column selection",
"description" : "Column containing the binary objects that will be converted to strings.",
"default" : ""
},
"decoding" : {
"oneOf" : [ {
"const" : "US_ASCII",
"title" : "US-ASCII"
}, {
"const" : "ISO_8859_1",
"title" : "ISO-8859-1"
}, {
"const" : "UTF_8",
"title" : "UTF-8"
}, {
"const" : "UTF_16BE",
"title" : "UTF-16BE"
}, {
"const" : "UTF_16LE",
"title" : "UTF-16LE"
}, {
"const" : "UTF_16",
"title" : "UTF-16"
} ],
"title" : "Decoding",
"description" : "Character set used to decode the binary object bytes into a string. Common choices are UTF-8 (the default), UTF-16, and US-ASCII.\n<ul>\n<li><b>US-ASCII</b>: Seven-bit ASCII (ISO646-US / Basic Latin block of Unicode).</li>\n<li><b>ISO-8859-1</b>: ISO Latin Alphabet No. 1 (ISO-LATIN-1).</li>\n<li><b>UTF-8</b>: Eight-bit UCS Transformation Format.</li>\n<li><b>UTF-16BE</b>: Sixteen-bit UCS Transformation Format, big-endian byte order.</li>\n<li><b>UTF-16LE</b>: Sixteen-bit UCS Transformation Format, little-endian byte order.</li>\n<li><b>UTF-16</b>: Sixteen-bit UCS Transformation Format, byte order identified by an optional byte-order mark.</li>\n</ul>",
"default" : "UTF_8"
},
"newColumnName" : {
"type" : "string",
"title" : "New column name",
"description" : "Name of the appended column. Only applicable when \"Append\" is selected.",
"default" : "String"
},
"outputMode" : {
"oneOf" : [ {
"const" : "REPLACE",
"title" : "Replace"
}, {
"const" : "APPEND",
"title" : "Append"
} ],
"title" : "Output handling",
"description" : "Determines whether to append a new string column or to replace the selected binary object column.\n<ul>\n<li><b>Replace</b>: Replaces the selected binary object column with the string column.</li>\n<li><b>Append</b>: Appends a new string column to the table.</li>\n</ul>",
"default" : "REPLACE"
}
}
}
}
},
"ui_schema" : {
"elements" : [ {
"type" : "Control",
"scope" : "#/properties/model/properties/columnSelection",
"options" : {
"format" : "dropDown"
},
"providedOptions" : [ "possibleValues" ]
}, {
"type" : "Control",
"scope" : "#/properties/model/properties/decoding"
}, {
"type" : "Control",
"scope" : "#/properties/model/properties/outputMode",
"options" : {
"format" : "valueSwitch"
}
}, {
"type" : "Control",
"scope" : "#/properties/model/properties/newColumnName",
"rule" : {
"effect" : "SHOW",
"condition" : {
"scope" : "#/properties/model/properties/outputMode",
"schema" : {
"oneOf" : [ {
"const" : "APPEND"
} ]
}
}
}
} ]
},
"persist" : {
"type" : "object",
"properties" : {
"model" : {
"type" : "object",
"properties" : {
"columnSelection" : {
"configKey" : "columnselection"
},
"decoding" : {
"configPaths" : [ [ "decoding" ] ]
},
"outputMode" : {
"configPaths" : [ [ "replace" ] ]
},
"newColumnName" : {
"configKey" : "columnname"
}
}
}
}
},
"initialUpdates" : [ {
"scope" : "#/properties/model/properties/columnSelection",
"providedOptionName" : "possibleValues",
"values" : [ {
"indices" : [ ],
"value" : [ {
"id" : "Binary data",
"text" : "Binary data",
"type" : {
"id" : "org.knime.core.data.blob.BinaryObjectDataValue",
"text" : "Binary Object"
}
} ]
} ]
} ]
}