Retrieve from File (Advanced File Connectors)
Synopsis
This operator reads an IO object from the given file object.Description
The operator is intended to be used in combination with another read operator. The expected type of the IO objects needs to be specified in the corresponding parameter.
Input
- file (File)
The file object to read the IO object from.
Output
- output (IOObject)
The IO object.
Parameters
- type
The expected type of the IO object.
- Model or generic IO object: Select this if the expected IO object is a model or another IO objects that is not a data table.
- Data table (HDF5): Select this if the expected IO object is a data table.
Differentiation
Retrieve
The Retrieve operator retrieves the IO object from a Repository location while the Retrieve from File operator uses a file from an arbitrary location.Tutorial Processes
Store to and Retrieve from File
In this Example Process we create a model and convert it into a file using the Store to File operator. The file is then written to disk using the Write File operator. Instead of the Write File operator another Write operator for an external storage like Write Dropbox, Write Google Drive, ... could be used. Then comes the part that would be usually done in another process: A new file object is created via the Open File operator and then fed into the Retrieve from File operator. Again, instead of the Open File operator a Read operator like Read Dropbox, Read Google Drive, ... could be used. When you run the process you see the retrieved model in the Results view.