HomeGetting StartedInstallation & SetupDevelopment & IntegrationDeployment & OperationsData ManagementTechnical SupportPlatform Updates
DocsDeployment & OperationsAdmin CLI Referencevirtual source metadata

stardog-admin virtual source_metadata

Description

Query source database metadata used by virtual graphs. Useful for troubleshooting virtual graph behavior. JDBC driver must be present in client folder of Stardog installation.

Usage

stardog-admin [ --krb5 ] [ --krb5-disable-rdns ] virtual source_metadata [ {-c | --catalog} <catalog name> ] [ {-p | --passwd} <password> ] [ {-P | --ask-password} ] [ --run-as <username> ] [ --token <token> ] [ {-u | --username} <username> ] [ {-v | --verbose} ] [--] <options> <[schema name]> <[table name]>...

Options

Name, shorthandDescription
-c <catalog name>, --catalog <catalog name>Catalog name for systems with 3-level table namespaces
--krb5Use the Kerberos environment.
--krb5-disable-rdnsDisable reverse DNS lookup for Kerberos clients.
-p <password>, --passwd <password>Password.
-P, --ask-passwordPrompt for password.
--run-as <username>User to impersonate when running the command
--token <token>Stardog JWT token
-u <username>, --username <username>User name.
-v, --verboseFlag that can cause more detailed information to be printed such as errors and status. Exact output depends upon the command and options used.
--This option can be used to separate command-line options from the list of argument(s). (Useful when an argument might be mistaken for a command-line option)
<options> <[schema name]> <[table name]>The configuration file for the virtual graph, a schema name and optionally a table name.

Examples

Query JDBC metadata for available schemas and catalogs

    $ stardog-admin virtual source_metadata source.properties

Query JDBC metadata for tables in the given schema

    $ stardog-admin virtual source_metadata source.properties source_schema

Query JDBC metadata for tables in the given catalog and schema

    $ stardog-admin virtual source_metadata --catalog source_catalog source.properties source_schema

Query JDBC metadata for fields and constraints in the given schema-qualified table

    $ stardog-admin virtual source_metadata source.properties source_schema source_table

Query JDBC metadata for fields and constraints in the given catalog-and-schema-qualified table

    $ stardog-admin virtual source_metadata -c source_catalog source.properties source_schema source_table