Link Search Menu Expand Document
Start for Free

stardog-admin virtual source_metadata

Description

Query source database metadata used by virtual graphs. Useful for troubleshooting virtual graph behavior.

Usage

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

Options

Name, shorthand Description
--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
-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(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 fields and constraints in the given schema-qualified table

    $ stardog-admin virtual source_metadata source.properties source_schema source_table