public final class StardogGraphConfiguration extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
StardogGraphConfiguration.Builder
Builder of valid configurations for Stardog
Graph. |
static class |
StardogGraphConfiguration.Reader
Reader of valid configurations for Stardog
Graph. |
| Modifier and Type | Field and Description |
|---|---|
static String |
BASE_IRI
Setting to define the base IRI to use in the
Graph. |
static String |
CACHE_ENABLED
Setting to enable cache in
Graph instances. |
static String |
COMPUTER_VERTEX_CACHE_SIZE
Setting for the number of vertices to cache in the
GraphComputer for stardog. |
static String |
CONNECTION_STRING
Setting for the connection string to stardog.
|
static String |
LABEL_IRI
Setting to define the IRI to use for storing
Element labels in Stardog. |
static String |
NAMED_GRAPH
Setting for the named-graph used by the
Graph to create. |
static String |
PASSWORD
Setting for the passwords of the credentials to login to Stardog.
|
static String |
REASONING_ENABLED
Setting to enable reasoning in the
Graph. |
static String |
TX_VERTEX_CACHE_SIZE
Setting for the number of elements in the transactions cache.
|
static String |
USER
Setting for the username of the credentials to login to Stardog.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
assertValidConfiguration(org.apache.commons.configuration.Configuration theConfiguration)
Validates a given
Configuration to have the minimum elements to build a Stardog Graph. |
static StardogGraphConfiguration.Builder |
builder()
Creates a new
Configuration builder. |
static StardogGraphConfiguration.Reader |
reader(org.apache.commons.configuration.Configuration theConfiguration)
Creates a new Reader for the given
Configuration. |
public static final String TX_VERTEX_CACHE_SIZE
Setting for the number of elements in the transactions cache.
E.g."stardog.tx.cache.size"=1000public static final String NAMED_GRAPH
Setting for the named-graph used by the Graph to create.
"stardog.named_graph"="http://complexible.com/graph1"public static final String CONNECTION_STRING
Setting for the connection string to stardog.
E.g."stardog.connection"="http://localhost:5820/mydb"public static final String USER
Setting for the username of the credentials to login to Stardog.
E.g."stardog.user"="admin"public static final String PASSWORD
Setting for the passwords of the credentials to login to Stardog.
E.g."stardog.password"="admin"public static final String COMPUTER_VERTEX_CACHE_SIZE
Setting for the number of vertices to cache in the GraphComputer for stardog.
"stardog.computer.cache_size"=1000public static final String REASONING_ENABLED
Setting to enable reasoning in the Graph.
"stardog.reasoning_enabled"=falsepublic static final String BASE_IRI
Setting to define the base IRI to use in the Graph.
"stardog.base_iri"="http://complexible.com/"public static final String LABEL_IRI
Setting to define the IRI to use for storing Element labels in Stardog.
"stardog.label_iri"="http://complexible.com/label"public static final String CACHE_ENABLED
Setting to enable cache in Graph instances.
"stardog.cache_enabled"=truepublic static StardogGraphConfiguration.Builder builder()
Configuration builder.public static StardogGraphConfiguration.Reader reader(org.apache.commons.configuration.Configuration theConfiguration)
Configuration.theConfiguration - the configuration to readpublic static void assertValidConfiguration(org.apache.commons.configuration.Configuration theConfiguration)
Configuration to have the minimum elements to build a Stardog Graph.theConfiguration - the configuration to validateIllegalArgumentException - if there's any error in the configuration settingsCopyright © 2010-2016 Stardog Union. All Rights Reserved.