# stardog-admin virtual source_metadata Manual Page

# NAME

stardog-admin virtual source_metadata —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.

# SYNOPSIS

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

-c <catalog name>, --catalog <catalog name>
Catalog name for systems with 3-level table namespaces
--krb5
Use the Kerberos environment.
--krb5-disable-rdns
Disable reverse DNS lookup for Kerberos clients.
-p <password>, --passwd <password>
Password.
-P, --ask-password
Prompt for password.
--run-as <username>
User to impersonate when running the command
--token <token>
Stardog JWT token
-u <username>, --username <username>
User name.
-v, --verbose
Flag 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, (useful when arguments might be mistaken for command-line options
<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