Imports data from a table with a single JSON column into a Duality View
dbms_json_duality.import(
table_owner_name IN VARCHAR2 DEFAULT NULL,
table_name IN VARCHAR2,
view_owner_name IN VARCHAR2 DEFAULT NULL,
viewname IN VARCHAR2,
err_logowner_name IN VARCHAR2 DEFAULT NULL,
error_log_name IN VARCHAR2 DEFAULT NULL,
reject_limit IN NUMBER DEFAULT NULL);
Inputs a set of tables with a single JSON column and config params formatted as a JSON doc and
returns the DDL script to generate the validated and normalized relational schema representing the JSON tables as a JSON doc.
dbms_json_duality.infer_and_generate_schema(config IN JSON) RETURN CLOB;
With a eset of tables with a single JSON column and config params formatted as a JSON doc,
returns the validated and normalized relationship schema representing the JSON tables as a JSON document.
dbms_json_duality.infer_schema(config IN JSON) RETURN JSON;
Validates the data imported by import and generates a report for documents that fail validation
dbms_json_duality.validate_import_report(
table_owner_name IN VARCHAR2 DEFAULT NULL,
table_name IN VARCHAR2,
view_owner_name IN VARCHAR2 DEFAULT NULL,
view_name IN VARCHAR2)
RETURN validate_report_tab_t PIPELINED;
Validates the schema generated by generate_schema or infer_and_generate_schema and generates a report for documents that fail validation
dbms_json_duality.validate_schema_report(
table_owner_name IN VARCHAR2 DEFAULT NULL,
table_name IN VARCHAR2,
view_owner_name IN VARCHAR2 DEFAULT NULL,
view_name IN VARCHAR2)
RETURN validate_report_tab_t PIPELINED;