Name

bif_list_names, bif_metadata — enumerate and introspect built-in functions

Synopsis

any bif_list_names( in main_names_only integer);
 
any bif_metadata( in name varchar,
  in name_is_raw integer);
 

Description

bif_list_names returns a vector containing the names of all built-in functions known to the server. When main_names_only is non-zero only canonical names are returned; when zero, aliases are included as well.

bif_metadata returns a keyword-value vector describing the BIF identified by name. The vector exposes the canonical name, list of aliases, argument-count limits (min_argcount, max_argcount, argcount_inc), return_sql_dml_type, and flags such as is_pure, is_aggregate, is_dba_only, uses_index, no_cluster, has_main_impl, has_vector_impl, has_sql_optimizer_impl and has_sparql_optimizer_impl.

The optional name_is_raw argument controls how the name is looked up. When non-zero (the default) the lookup matches the raw BIF table entry (including any privileged prefix); when zero the lookup uses the public canonical name.

See Also

bif_arg and the related Virtuoso Server Extension Interface (VSEI) entry points for the C-level BIF API.


© 1992 - OpenLink Software. All rights reserved.

Making Technology Work for You®