public class BackendConfig extends ConfigGroup
load(java.util.Properties)
, and thenConfigGroup.EnumDbConnectionType
Modifier and Type | Field and Description |
---|---|
static String |
GROUP_PREFIX
Prefix of names of properties belonging to this group.
|
CLEAN_DB_NAME, DIRTY_DB_NAME, NAME_DELIMITER
Constructor and Description |
---|
BackendConfig(SparqlEndpointConnectionCredentials dirtyDBSparqlConnectionCredentials,
SparqlEndpointConnectionCredentials cleanDBSparqlConnectionCredentials,
JDBCConnectionCredentials dirtyDBJDBCConnectionCredentials,
JDBCConnectionCredentials cleanDBJDBCConnectionCredentials,
Integer queryTimeout) |
Modifier and Type | Method and Description |
---|---|
JDBCConnectionCredentials |
getCleanDBJDBCConnectionCredentials() |
SparqlEndpointConnectionCredentials |
getCleanDBSparqlConnectionCredentials() |
JDBCConnectionCredentials |
getDirtyDBJDBCConnectionCredentials() |
SparqlEndpointConnectionCredentials |
getDirtyDBSparqlConnectionCredentials() |
Integer |
getQueryTimeout() |
static BackendConfig |
load(Properties properties)
Extracts Backend configuration values from the given Properties instance.
|
loadJDBCConnectionCredentials, loadParam, loadSparqlEndpointConnectionCredentials
public static final String GROUP_PREFIX
public BackendConfig(SparqlEndpointConnectionCredentials dirtyDBSparqlConnectionCredentials, SparqlEndpointConnectionCredentials cleanDBSparqlConnectionCredentials, JDBCConnectionCredentials dirtyDBJDBCConnectionCredentials, JDBCConnectionCredentials cleanDBJDBCConnectionCredentials, Integer queryTimeout)
dirtyDBSparqlConnectionCredentials
- cleanDBSparqlConnectionCredentials
- dirtyDBJDBCConnectionCredentials
- cleanDBJDBCConnectionCredentials
- queryTimeout
- dataGraphURIPrefix
- metadataGraphURIPrefix
- provenanceMetadataGraphURIPrefix
- public static BackendConfig load(Properties properties) throws ParameterNotAvailableException, IllegalParameterFormatException
properties
- ParameterNotAvailableException
IllegalParameterFormatException
public SparqlEndpointConnectionCredentials getDirtyDBSparqlConnectionCredentials()
public SparqlEndpointConnectionCredentials getCleanDBSparqlConnectionCredentials()
public JDBCConnectionCredentials getDirtyDBJDBCConnectionCredentials()
public JDBCConnectionCredentials getCleanDBJDBCConnectionCredentials()
public Integer getQueryTimeout()
Copyright © 2013. All Rights Reserved.