Name

row_vector, xml_attr, xml_attr_replay, xml_eid, xmls_proc, xmls_element_table, xmls_element_col — internal SQL/XML mapping and attribute-id helpers

Synopsis

any row_vector( ...);
 
integer xml_attr( in name varchar);
 
xml_attr_replay( in name varchar,
  in id integer);
 
varbinary xml_eid( in idb1 varbinary,
  in idb2 varbinary,
  in is_tight integer);
 
xmls_proc( in name varchar);
 
integer xmls_element_table( in element_name varchar,
  in table_name varchar);
 
integer xmls_element_col( in table_name varchar,
  in column_id integer,
  in attribute_id integer);
 

Description

These BIFs implement the runtime support for Virtuoso's SQL/XML view layer and the persistent XML entity store. They are typically emitted by the SQL compiler when processing FOR XML queries, XML view DDL, or WITH XMLNAMESPACES clauses, and are not normally invoked from application code.

:  row_vector	wraps a tuple of scalar arguments into a row-shaped vector used by the
:	compiler to build XML row elements from SELECT projections.
:  xml_attr	resolves an XML attribute <name> to its persistent integer id,
:	allocating one and writing an xml_attr_replay log entry if the name is new.
:  xml_attr_replay	transactional replay helper: re-asserts a (name -> id) binding
:	during commit log replay. Not for direct application use.
:  xml_eid	combines two raw entity-id binaries plus a tight/loose flag into a single
:	composite entity-id varbinary suitable for use as a row identifier.
:  xmls_proc	invokes the schema-mapped stored procedure registered under <name> in the
:	SQL/XML view machinery.
:  xmls_element_table	registers a mapping from an XML element name to a SQL table for the
:	SQL/XML view layer. Returns 0 on success, -1 if the table cannot be resolved.
:  xmls_element_col	registers a (column_id, attribute_id) mapping inside an element-to-table
:	binding previously installed via xmls_element_table.
    

© 1992 - OpenLink Software. All rights reserved.

Making Technology Work for You®