Class: AppSettings

AppSettings(defaultInference, defaultSameas, ignoreSharedQueries, executeCount)

Application settings help you to configure the default behavior of the GraphDB Workbench. Use with extreme caution, as the changes that are made to the application settings may possibly change the behavior of the GraphDB Workbench for the logged-in user or for all users if logged in as admin.

Constructor

new AppSettings(defaultInference, defaultSameas, ignoreSharedQueries, executeCount)

Constructor.

Parameters:
Name Type Description
defaultInference boolean

This is the default value for the Include inferred data in results option in the Workbench's SPARQL editor. It is taken each time a new tab is created.

defaultSameas boolean

This is the default value for the Expand results over owl:SameAs option in the Workbench's SPARQL editor. It is taken each time a new tab is created.

ignoreSharedQueries boolean

Whether to ignore shared between users queries.

executeCount boolean

For each query without limit sent through the SPARQL editor, an additional query is sent to determine the total number of results.

Author:
  • Teodossi Dossev
Source:

Classes

AppSettings

Methods

setDefaultInference(defaultInference) → {AppSettings}

DefaultInference setter.

Parameters:
Name Type Description
defaultInference boolean

true if is enabled and false otherwise.

Source:
Returns:
Type
AppSettings

setDefaultSameas(defaultSameas) → {AppSettings}

DefaultSameas setter.

Parameters:
Name Type Description
defaultSameas boolean

true if is enabled and false otherwise.

Source:
Returns:
Type
AppSettings

setExecuteCount(executeCount) → {AppSettings}

Count all SPARQL results setter.

Parameters:
Name Type Description
executeCount boolean

true if is enabled and false otherwise.

Source:
Returns:
Type
AppSettings

setIgnoreSharedQueries(ignoreSharedQueries) → {AppSettings}

Ignores queries, shared between users.

Parameters:
Name Type Description
ignoreSharedQueries boolean

true if ignored and false otherwise.

Source:
Returns:
Type
AppSettings

toJson() → {Object}

AppSettings to json getter

Source:
Returns:

Application settings as key value pairs object

Type
Object