Not logged in : Login
(Sponging disallowed)

About: http://docs.openlinksw.com/virtuoso/fn_dict_list_keys.html     Goto   Sponge   NotDistinct   Permalink

An Entity of Type : rss:item, within Data Space : www.openlinksw.com associated with source document(s)
QRcode icon
http://www.openlinksw.com/describe/?url=http%3A%2F%2Fdocs.openlinksw.com%2Fvirtuoso%2Ffn_dict_list_keys.html

AttributesValues
described by
Description
  • Returns an array of all keys stored in the given dictionary.The function returns an array of all keys stored in the given dictionary, ignoring dependent parts of key-value pairs. This is especially useful when dictionary is used to form a set of distinct keys, when dependent parts are fake (typically zeroes). If the destructive parameter is 1 or 2 then the function may avoid copying of keys to the resulting array by moving them out from the dictionary. This is faster but the dictionary will become empty at the end of operation. The destructive parameter equal to 1 does not have any effect if the dictionary is used as a value of more than one variable. Thus it is safe to make this parameter equal to 1 as soon as the variable passed to the function as dict is no longer in use after the function call and there's no need to inspect the whole program to check if other variables may be affected. The parameter equal to 2 ignores the presence of multiple variables so the operation may cause unexpected results in other fragments of code that share the dictionary. The created array can not be longer than the system limit and even if it is below limit but longer than hundreds of thousands items then memory allocation can be inefficient. If the dictionary can be large and it is possible to process the content of the dictionary in parts, consider using dict_destructive_list_rnd_keys() instead.
Creator
  • virtuoso.docs@openlinksw.com
Date
  • 2013-07-11T21:22:54Z
  • 2015-02-05T21:17:51Z
Title
  • Function: dict_list_keys
type
content:encoded
  • Returns an array of all keys stored in the given dictionary.The function returns an array of all keys stored in the given dictionary, ignoring dependent parts of key-value pairs. This is especially useful when dictionary is used to form a set of distinct keys, when dependent parts are fake (typically zeroes). If the destructive parameter is 1 or 2 then the function may avoid copying of keys to the resulting array by moving them out from the dictionary. This is faster but the dictionary will become empty at the end of operation. The destructive parameter equal to 1 does not have any effect if the dictionary is used as a value of more than one variable. Thus it is safe to make this parameter equal to 1 as soon as the variable passed to the function as dict is no longer in use after the function call and there's no need to inspect the whole program to check if other variables may be affected. The parameter equal to 2 ignores the presence of multiple variables so the operation may cause unexpected results in other fragments of code that share the dictionary. The created array can not be longer than the system limit and even if it is below limit but longer than hundreds of thousands items then memory allocation can be inefficient. If the dictionary can be large and it is possible to process the content of the dictionary in parts, consider using dict_destructive_list_rnd_keys() instead.
rss:category
  • Dictionary Manipulation
is topic of
is rdf:_108 of
Faceted Search & Find service v1.17_git122 as of Jan 03 2023


Alternative Linked Data Documents: iSPARQL | ODE     Content Formats:   [cxml] [csv]     RDF   [text] [turtle] [ld+json] [rdf+json] [rdf+xml]     ODATA   [atom+xml] [odata+json]     Microdata   [microdata+json] [html]    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 08.03.3330 as of Apr 5 2024, on Linux (x86_64-generic-linux-glibc25), Single-Server Edition (30 GB total memory, 26 GB memory in use)
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2024 OpenLink Software