Registering the NoSQL wrapper

You must register a wrapper to access the Hadoop data sources. Federated servers use wrappers to communicate with and retrieve data from data sources. Wrappers are implemented as a set of library files.

Procedure

Issue the CREATE WRAPPER statement from the command line and specify the default name for the NoSQL wrapper.
For example:
CREATE WRAPPER wrapper_name library 'libdb2qgjava.so' options(unfenced_wrapper_class 'com.ibm.federation.wrapper.unfenced.RestServiceWrapper'); 
Remember: When you register the Rest Service wrapper, the ‘unfenced_wrapper_class’ option is a mandatory option, and the value of this option is also a predefined value and cannot be changed. If the wrapper name conflicts with an existing wrapper name in the federated database, you can substitute the default wrapper name with a name that you choose. The wrapper library file that you specify depends on the operating system of the federated server that is running.