Meta Integration® Model Bridge (MIMB)
"Metadata Integration" Solution

MIMB Bridge Documentation

MIMB Import Bridge from Excel File (XLSX)

Bridge Specifications

Vendor ISO
Tool Name Excel File (XLSX)
Tool Version N/A
Tool Web Site
Supported Methodology [File System] Data Store (Physical Data Model) via XLSX File

Tool: ISO / Excel File (XLSX) version N/A via XLSX File
Metadata: [File System] Data Store (Physical Data Model)
Component: ExcelFile version 11.0.0

This bridge detects (reverse engineer) the metadata from a data file of type Excel XML format (XLSX).
The detection of such Excel File is based on file extension .XLSX.

The bridge can detect a header row, and use it to create the field name, otherwise generic filed names are created.

The bridge samples up to 1000 rows to detect the file data types, such as DATE, NUMBER, STRING.

If an Excel file has multiple sheets, each sheet is imported as the equivalent of a file/table with the same sheet name.

The bridge uses the machine's local to read files and allows you to specify the character set encoding files use.

Bridge Parameters

Parameter Name Description Type Values Default Scope
File Path to file to import FILE *.XLSX   Mandatory
Header row number
The row number that contains the file header describing its field names.
When empty the header is assumed to be in the first row.
STRING   1  
Number of rows to read
The maximum number of rows to sample from files. The rows are used to identify file format details, like field data types.
STRING   1000  
Miscellaneous Specify miscellaneous options starting with a dash and optionally followed by parameters, e.g.
-connection.cast MyDatabase1="SQL Server"
Some options can be used multiple times if applicable, e.g.
-connection.rename NewConnection1=OldConnection1 -connection.rename NewConnection2=OldConnection2;
As the list of options can become a long string, it is possible to load it from a file which must be located in ${MODEL_BRIDGE_HOME}\data\MIMB\parameters and have the extension .txt. In such case, all options must be defined within that file as the only value of this parameter, e.g.

-m <Java Memory's maximum size>
1G by default on 64bits JRE or as set in conf/, e.g.
-m 8G
-m 8000M

-j <Java Runtime Environment command line options>
This option must be the last one in the Miscellaneous parameter as all the text after -j is passed "as is" to the JRE, e.g.
-j -Dname=value -Xms1G
The following option must be set when a proxy is used to access internet (this is critical to access (and exceptionally a few other tool sites) in order to download the necessary third party software libraries.
-j -Dhttp.proxyHost= -Dhttp.proxyPort=3128 -Dhttps.proxyHost= -Dhttps.proxyPort=3128 -Dhttp.proxyUser=user -Dhttp.proxyPassword=pass -Dhttps.proxyUser=user -Dhttps.proxyPassword=pass

-jre <Java Runtime Environment full path name>
It can be an absolute path to javaw.exe on Windows or a link/script path on Linux, e.g.
-jre "c:\Program Files\Java\jre1.8.0_211\bin\javaw.exe"

-v <Environment variable value>
None by default, e.g.
-v var1=value1 -v var2="value2 with spaces" <model name>
Override the model name, e.g. "My Model Name"

-prescript <script name>
The script must be located in the bin directory, and have .bat or .sh extension.
The script path must not include any parent directory symbol (..).
The script should return exit code 0 to indicate success, or another value to indicate failure.
For example:
-prescript "script.bat arg1 arg2"

Clears the cache before the import, and therefore will run a full import without incremental harvesting.
Warning: this is a system option managed by the application calling the bridge and should not be set by users.

-tps <Processing Thread Pool Size's maximum count>
By default 1, for e.g.
-tps 10

-tl <Processing Time Limit duration>
No limits by default. Time can be specified in seconds, minutes, or hours, e.g.
-tl 3600s
-tl 60m
-tl 1h

-fl <Processing File Limit count>
No limits by default, e.g.
-fl 100

-hadoop <Hadoop configuration options>
None by default, e.g.
-hadoop key1=val1;key2=val2

Use to import latest modified files when processing partitions defined in Partitioned directories parameter.

-subst <path> <new path>
Use to associate a root path part with a drive or another path, e.g.
-subst K: C:/test
Use to disable dependencies downloading and use only download cache

Use this option to disable automatic partitions detection(when "Partition directories" option is empty)

Delimited File's header by default, bridge automatically tries to detect headers while processing csv files(basing on header columns types), use this option to disable headers import(f.e. to hide sensitive data)

-delimited.top_rows_skip <number>
Delimited file's number of rows to skip while processing (0 by default), e.g.
-delimited.top_rows_skip 1

-delimited.extra_separators <comma separated separators>
Delimited file's extra delimiters (separators by default are ), e.g.
-delimited.extra_separators ~,||,|~

Ignore parquet archives with size bigger then defined with this option value (Default value is 10 000 000 bytes), e.g.


Bridge Mapping

Mapping information is not available

Last updated on Fri, 25 Sep 2020 17:37:51

Copyright © Meta Integration Technology, Inc. 1997-2020 All Rights Reserved.

Meta Integration® is a registered trademark of Meta Integration Technology, Inc.
All other trademarks, trade names, service marks, and logos referenced herein belong to their respective companies.