Listing Elements in the Catalog¶
The LIST command returns a list of elements names. E.g. a list of
the names of databases, lists of the names of JDBC data sources, etc.
From the VQL Shell of Design Studio, execute HELP LIST to
obtain the full syntax of these command.
The optional clause ON <database name> of some of the LIST
commands allows obtaining the list of that type of elements on a
different database from the one you are connected to.
Elements in the Server
LIST DATABASESlists the existing databases.LIST FUNCTIONSreturns the name and syntax of all the functions available. This list includes the functions available out of the box and the custom functions developed by the user and uploaded to the Server.The output of this command may change in future versions of the Denodo Platform.
LIST FUNCTIONS CUSTOMreturns the name and syntax of the custom functions developed by a user and uploaded to the Server.The output of this command may change in future versions of the Denodo Platform.
LIST GLOBAL_SECURITY_POLICIESreturns the global security policies existent at Virtual DataPort (see section Global Security Policies)LIST I18NSlists the names of the available i18n. To obtain the configuration of a specific one, executeDESC VQL MAP I18N<name of the i18n>.LIST JARSlists the jar extensions (see section Defining JAR Extensions). This command lists the jar files users imported executing the commandCREATE JARor from the “Extension Management” dialog of Design Studio.LIST MAPSlists maps of the type simple or i18n (see section Defining a Map).LIST OPERATORSlists the operators that are applicable on a given data type:int,double,float,text, etc.LIST POLICIESlists the custom policies. The section Custom View Policies of the Developer Guide explains what they are, how to develop them and how to import them into Virtual DataPort.LIST RESOURCE_MANAGER { RULES | PLANS }lists information about the rules or plans defined in the Resource Manager.LIST ROLESlists the roles (see section Managing Users).LIST TAGSlists the tags existent at Virtual DataPort (see section Tags).LIST USERSlists the user’s roles (see section Managing User Roles).
Elements in the database you are connected to
LIST ASSOCIATIONSlists the associations (see section Associations).LIST DATASOURCESlists the data sources of the type specified (see section Specifying Paths in Virtual DataPort).LIST LISTENERS JMSlists the listeners JMS (see section Defining JMS Listeners)LIST PROCEDURESlists the Denodo stored procedures.LIST RESOURCESlists the resources the administrators uploaded using the Extension Management wizard of Design Studio.LIST TYPESshows all data types from the catalog or only those of a certain type (array or register).LIST VIEWSlists the derived views of the database.If the clause
ALLis present, it returns the list of base and derived views.If the clause
BASEis present, it returns the list of base views.LIST VIEWSTATSUMMARIESlists the views that have statistics that can be used by the Cost-based optimization (see section Defining the Statistics of a View).LIST WEBSERVICESlists the published Web services (see section Publication of Web Services).LIST WRAPPERSlists wrappers of the specified type (see section Generating Wrappers and Data Sources).
LIST ASSOCIATIONS [ <viewName:identifier> ] [ ON <database:identifier> ]
LIST DATABASES [ LDAP ]
LIST DATASOURCES <datasource type> [ ON <database:identifier> ]
LIST ENVIRONMENTS
LIST FUNCTIONS
LIST FUNCTIONS CUSTOM
LIST I18NS
LIST JARS
LIST LISTENERS JMS [ ON <database:identifier> ]
LIST MAPS I18N
LIST MAPS SIMPLE [ ON <database:identifier> ]
LIST OPERATORS [ <type:identifier> ]
LIST POLICIES
LIST PROCEDURES [ ON <database:identifier> ]
LIST RESOURCE_MANAGER { RULES | PLANS }
LIST RESOURCES { ALL | <resource type> [ VERSION = <literal> ] }
LIST ROLES
LIST TYPES [ ARRAY | REGISTER ] [ ON <database:identifier> ]
LIST USERS
LIST VIEWS [ BASE | ALL ] [ ON <database:identifier> ]
LIST VIEWSTATSUMMARIES [ ON <database:identifier> ]
LIST WEBSERVICES [ ON <database:identifier> ]
LIST WRAPPERS <wrapper type> [ ON <database:identifier> ]
<datasource type> ::=
CUSTOM | DF | ESSBASE | JDBC | JSON | LDAP | MONGODB | ODBC | OLAP | SALESFORCE |
| SAPBWBAPI | SAPERP| WS | XML
<resource type> ::=
ESSBASE | GENERIC | JAR | JDBC | JDBC_OTHER | KERBEROS | LIBRARY | SAPJCO
<wrapper type> ::=
<datasource type>
For example, to list the existing databases the following statement is executed:
LIST DATABASES;
To list the maps of the type i18n the following statement is used:
LIST MAPS I18N;
To list the JDBC data sources of the support database:
LIST DATASOURCES JDBC on support;
