Name
DB.DBA.SPARQL_RDB2RDF_CODEGEN — Creates an SQL text for a given table and an operation specified by an opcode
Synopsis
DB.DBA.SPARQL_RDB2RDF_CODEGEN
(
|
in table_name varchar , |
in
opcode
integer
) ; |
Description
The function creates an SQL text for a given table and an operation specified by an opcode.
Parameters
table_name
The name of the table.
opcode
Currently supported opcodes are:
-
0: debugging dump of internal state of code generator, it can be requested by the help-desk.
-
1: text of procedure that makes an initial RDF dump of triples, created from the specified table. It is used if the table is not empty when triggers are added, so existing data should be dumped as a batch before being continuously edited by triggers.
-
2: text of AFTER INSERT trigger.
-
3: text of AFTER UPDATE trigger.
-
4: text of BEFORE DELETE trigger.
Return Types
string session or vector