Class JdbcOptions
- java.lang.Object
-
- com.complexible.stardog.virtual.api.JdbcOptions
-
public class JdbcOptions extends java.lang.Object
Options used by JDBC data sources. Included inapi
package for visibility bysource_metadata
CLI command.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
JDBC_DRIVER
static java.lang.String
JDBC_PASSTHROUGH
static java.lang.String
JDBC_PASSTHROUGH_OAUTH
static java.lang.String
JDBC_PASSTHROUGH_SCOPE
static java.lang.String
JDBC_PASSWORD
static java.lang.String
JDBC_STATEMENT_FETCH_SIZE
static java.lang.String
JDBC_URL
static java.lang.String
JDBC_USERNAME
static java.lang.String
PASSTHROUGH_ACCESS_TOKEN
static java.lang.String
PASSTHROUGH_PREFIX
static java.lang.String
SQL_CATALOGS
static java.lang.String
SQL_DEFAULT_CATALOG
static java.lang.String
SQL_DEFAULT_SCHEMA
static java.lang.String
SQL_DIALECT
static java.lang.String
SQL_SCHEMAS
static java.lang.String
SQL_SKIP_VALIDATION
static java.lang.String
SQL_WILDCARD
-
Constructor Summary
Constructors Constructor Description JdbcOptions()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Properties
getDriverProperties(java.util.Map<?,?> dsOptions)
Creates a newProperties
instance consisting of all the driver properties found in the supplied DS options file (with theext.
prefixes removed).static boolean
isSkipValidation(java.util.Properties options)
static java.lang.String
passthroughOption(java.lang.String optionName)
-
-
-
Field Detail
-
JDBC_URL
public static final java.lang.String JDBC_URL
- See Also:
- Constant Field Values
-
JDBC_USERNAME
public static final java.lang.String JDBC_USERNAME
- See Also:
- Constant Field Values
-
JDBC_PASSWORD
public static final java.lang.String JDBC_PASSWORD
- See Also:
- Constant Field Values
-
JDBC_DRIVER
public static final java.lang.String JDBC_DRIVER
- See Also:
- Constant Field Values
-
JDBC_PASSTHROUGH
public static final java.lang.String JDBC_PASSTHROUGH
- See Also:
- Constant Field Values
-
JDBC_PASSTHROUGH_SCOPE
public static final java.lang.String JDBC_PASSTHROUGH_SCOPE
- See Also:
- Constant Field Values
-
JDBC_PASSTHROUGH_OAUTH
public static final java.lang.String JDBC_PASSTHROUGH_OAUTH
- See Also:
- Constant Field Values
-
PASSTHROUGH_PREFIX
public static final java.lang.String PASSTHROUGH_PREFIX
- See Also:
- Constant Field Values
-
PASSTHROUGH_ACCESS_TOKEN
public static final java.lang.String PASSTHROUGH_ACCESS_TOKEN
- See Also:
- Constant Field Values
-
SQL_DIALECT
public static final java.lang.String SQL_DIALECT
- See Also:
- Constant Field Values
-
SQL_DEFAULT_CATALOG
public static final java.lang.String SQL_DEFAULT_CATALOG
- See Also:
- Constant Field Values
-
SQL_CATALOGS
public static final java.lang.String SQL_CATALOGS
- See Also:
- Constant Field Values
-
SQL_DEFAULT_SCHEMA
public static final java.lang.String SQL_DEFAULT_SCHEMA
- See Also:
- Constant Field Values
-
SQL_SCHEMAS
public static final java.lang.String SQL_SCHEMAS
- See Also:
- Constant Field Values
-
SQL_WILDCARD
public static final java.lang.String SQL_WILDCARD
- See Also:
- Constant Field Values
-
SQL_SKIP_VALIDATION
public static final java.lang.String SQL_SKIP_VALIDATION
- See Also:
- Constant Field Values
-
JDBC_STATEMENT_FETCH_SIZE
public static final java.lang.String JDBC_STATEMENT_FETCH_SIZE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDriverProperties
public static java.util.Properties getDriverProperties(java.util.Map<?,?> dsOptions)
Creates a newProperties
instance consisting of all the driver properties found in the supplied DS options file (with theext.
prefixes removed).- Parameters:
dsOptions
- Data Source options includingext.
-prefixed driver properties
-
isSkipValidation
public static boolean isSkipValidation(java.util.Properties options)
-
passthroughOption
public static java.lang.String passthroughOption(java.lang.String optionName)
-
-