Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
<?xml version="1.0" encoding="UTF-8"?>
<config xmlns="http://www.knime.org/2008/09/XMLConfig" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.knime.org/2008/09/XMLConfig http://www.knime.org/XMLConfig_2008_09.xsd" key="settings.xml">
<entry key="node_file" type="xstring" value="settings.xml"/>
<config key="flow_stack"/>
<config key="internal_node_subsettings">
<entry key="memory_policy" type="xstring" value="CacheSmallInMemory"/>
</config>
<config key="model">
<config key="columnselection_Internals">
<entry key="SettingsModelID" type="xstring" value="SMID_string"/>
<entry key="EnabledStatus" type="xboolean" value="true"/>
</config>
<entry key="columnselection" type="xstring" value="Image"/>
<config key="decoding_Internals">
<entry key="SettingsModelID" type="xstring" value="SMID_string"/>
<entry key="EnabledStatus" type="xboolean" value="true"/>
</config>
<entry key="decoding" type="xstring" value="UTF-8"/>
<config key="replace_Internals">
<entry key="SettingsModelID" type="xstring" value="SMID_string"/>
<entry key="EnabledStatus" type="xboolean" value="true"/>
</config>
<entry key="replace" type="xstring" value="Replace"/>
<config key="columnname_Internals">
<entry key="SettingsModelID" type="xstring" value="SMID_string"/>
<entry key="EnabledStatus" type="xboolean" value="false"/>
</config>
<entry key="columnname" type="xstring" value="String"/>
</config>
<entry key="customDescription" type="xstring" isnull="true" value=""/>
<entry key="state" type="xstring" value="CONFIGURED"/>
<entry key="factory" type="xstring" value="org.knime.base.filehandling.binaryobjectstostrings.BinaryObjectsToStringsNodeFactory"/>
<entry key="node-name" type="xstring" value="Binary Objects to Strings"/>
<entry key="node-bundle-name" type="xstring" value="KNIME File Handling Nodes"/>
<entry key="node-bundle-symbolic-name" type="xstring" value="org.knime.base.filehandling"/>
<entry key="node-bundle-vendor" type="xstring" value="KNIME AG, Zurich, Switzerland"/>
<entry key="node-bundle-version" type="xstring" value="5.11.0.v202603201205"/>
<entry key="node-feature-name" type="xstring" isnull="true" value=""/>
<entry key="node-feature-symbolic-name" type="xstring" isnull="true" value=""/>
<entry key="node-feature-vendor" type="xstring" isnull="true" value=""/>
<entry key="node-feature-version" type="xstring" value="0.0.0"/>
<config key="factory_settings"/>
<entry key="name" type="xstring" value="Binary Objects to Strings"/>
<entry key="hasContent" type="xboolean" value="false"/>
<entry key="isInactive" type="xboolean" value="false"/>
<config key="ports">
<config key="port_1">
<entry key="index" type="xint" value="1"/>
<entry key="port_dir_location" type="xstring" isnull="true" value=""/>
</config>
</config>
<config key="filestores">
<entry key="file_store_location" type="xstring" isnull="true" value=""/>
<entry key="file_store_id" type="xstring" isnull="true" value=""/>
</config>
</config>
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
{
"data" : {
"model" : {
"columnSelection" : "",
"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"
}
} ]
} ]
} ]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<config xmlns="http://www.knime.org/2008/09/XMLConfig" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.knime.org/2008/09/XMLConfig http://www.knime.org/XMLConfig_2008_09.xsd" key="test">
<entry key="columnselection" type="xstring" value="Image"/>
<entry key="decoding" type="xstring" value="UTF-8"/>
<entry key="replace" type="xstring" value="Replace"/>
<entry key="columnname" type="xstring" value="String"/>
</config>
Original file line number Diff line number Diff line change
@@ -0,0 +1,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"
}
} ]
} ]
} ]
}
Loading