Uses of Class
tech.oxfordsemantic.jrdfox.exceptions.JRDFoxException

  • Uses of JRDFoxException in tech.oxfordsemantic.jrdfox.client

    Methods in tech.oxfordsemantic.jrdfox.client that throw JRDFoxException 
    Modifier and Type Method Description
    long DataStoreConnection.addRule​(Rule rule)
    Adds a rule to the data store.
    long DataStoreConnection.addRules​(java.util.Collection<Rule> datalogProgram)
    Adds a collection of rules to the data store.
    long Cursor.advance()
    Advances the cursor and positions it to the next tuple.
    static RDFoxServer.InstanceState RDFoxServer.analyzeState​(java.lang.String serverDirectoryPath)
    Analyzes the state of the server instance in the specified server directory.
    void DataStoreConnection.beginTransaction​(TransactionType transactionType)
    Starts a new transaction on this connection.
    OfflineRequestResult ServerConnection.bringDataStoreOffline​(java.lang.String dataStoreName)
    Makes sure that the data store with the given name is offline.
    boolean ServerConnection.bringDataStoreOnline​(java.lang.String dataStoreName)
    Makes sure that the data store with the given name is online.
    boolean Cursor.canAdvance()
    Checks whether Cursor.advance() can be called to continue iteration.
    void ServerConnection.changeRolePassword​(java.lang.String currentPassword, java.lang.String newPassword)
    Creates the password of the role that is associated with this connection.
    void DataStoreConnection.clear​(int dataStoreParts)
    Clears the specified parts of the data store.
    void DataStoreConnection.clearRulesAxiomsExplicateFacts()
    Clears all rules and turns all facts in the data store into EDB facts.
    void DataStoreConnection.commitTransaction()
    Commits the transaction associated with this connection.
    void DataStoreConnection.compact()
    Compact the data in the data store.
    boolean DataStoreConnection.containsDataSource​(java.lang.String dataSourceName)
    Checks whether the data store contains a data source with the specified name.
    boolean DataStoreConnection.containsDataSourceTable​(java.lang.String dataSourceName, java.lang.String dataSourceTableName)
    Checks whether the specified data source in the data store contains a data source table with the specified name.
    boolean ServerConnection.containsDataStore​(java.lang.String dataStoreName)
    Returns true if the connected server contains a data store with the given name.
    boolean DataStoreConnection.containsDeltaQuery​(java.lang.String deltaQueryName)
    Checks whether the data store contains a delta query with the specified name.
    boolean DataStoreConnection.containsStatistics​(java.lang.String statisticsName)
    Checks whether the data store contains the statistics with the specified name.
    boolean DataStoreConnection.containsTupleTable​(java.lang.String tupleTableName)
    Checks whether the data store contains a tuple table with the specified name.
    Cursor DataStoreConnection.createCursor​(java.lang.String queryText, java.util.Map<java.lang.String,​java.lang.String> compilationParameters)
    Creates a cursor over the results of the given query with the default fetch window size of 100.
    Cursor DataStoreConnection.createCursor​(java.lang.String queryText, java.util.Map<java.lang.String,​java.lang.String> compilationParameters, int fetchWindowSize)
    Creates a cursor over the results of the given query.
    Cursor DataStoreConnection.createCursor​(Query query, java.util.Map<java.lang.String,​java.lang.String> compilationParameters)
    Creates a cursor over the results of the given query with the default fetch window size of 100.
    Cursor DataStoreConnection.createCursor​(Query query, java.util.Map<java.lang.String,​java.lang.String> compilationParameters, int fetchWindowSize)
    Creates a cursor over the results of the given query.
    void ServerConnection.createDataStore​(java.lang.String dataStoreName, java.util.Map<java.lang.String,​java.lang.String> dataStoreParameters)
    Creates a data store with the given name.
    void DataStoreConnection.createExplanation​(java.lang.String factText, int maxDistanceFromRoot, int maxRuleInstancesPerFact, ExplanationType explanationType, java.io.OutputStream outputStream)
    Computes an explanation for a given fact and saves it in JSON format to the given output stream.
    void DataStoreConnection.createExplanation​(TupleTableAtom fact, int maxDistanceFromRoot, int maxRuleInstancesPerFact, ExplanationType explanationType, java.io.OutputStream outputStream)
    Computes an explanation for a given fact and saves it in JSON format to the given output stream.
    static void RDFoxServer.createFirstRole​(java.lang.String firstRoleName, java.lang.String password)
    Creates the first role in the server.
    void ServerConnection.createRole​(java.lang.String roleName, java.lang.String password)
    Creates a new role with the given name and password.
    void ServerConnection.createRole​(java.lang.String roleName, PasswordSpecificationType passwordSpecificationType, java.lang.String password)
    Creates a new role with the given name and password.
    void DataStoreConnection.createStatistics​(java.lang.String statisticsName, java.util.Map<java.lang.String,​java.lang.String> statisticsParameters)
    Creates the statistics in a data store.
    void DataStoreConnection.createTupleTable​(java.lang.String tupleTableName, java.util.Map<java.lang.String,​java.lang.String> tupleTableParameters)
    Creates a tuple table in a data store.
    void ServerConnection.deleteDataStore​(java.lang.String dataStoreName)
    Deletes a data store with the given name from the server.
    void ServerConnection.deleteDataStore​(java.lang.String dataStoreName, java.lang.String expectedDataStoreUniqueID, long expectedDataStoreVersion)
    Deletes a data store with the given name from the server if the data store's unique ID and version match the expected values.
    long DataStoreConnection.deleteDeltaQueryAnswers​(java.util.Optional<java.lang.String> deltaQueryName, java.util.Optional<java.lang.Long> fromDataStoreVersion, java.util.Optional<java.lang.Long> toDataStoreVersion, java.util.Optional<DeltaQueryAnswerType> deltaQueryAnswerType)
    Deletes the delta query answers that match the specified delta query name, the data store version range, and delta query answer type.
    void ServerConnection.deleteRole​(java.lang.String roleName)
    Deletes a role with the given name.
    long DataStoreConnection.deleteRule​(Rule rule)
    Deletes a rule to the data store.
    long DataStoreConnection.deleteRules​(java.util.Collection<Rule> datalogProgram)
    Deletes a collection of rules to the data store.
    void DataStoreConnection.deleteStatistics​(java.lang.String statisticsName)
    Deletes the data store statistics with the specified name from the data store.
    void DataStoreConnection.deleteTupleTable​(java.lang.String tupleTableName)
    Deletes the tuple table with the specified name from the data store.
    void DataStoreConnection.deregisterDataSource​(java.lang.String dataSourceName)
    Deregisters the data source table with the specified name from the data store.
    void DataStoreConnection.deregisterDeltaQuery​(java.lang.String deltaQueryName)
    Deregisters the delta query with the specified name from the data store.
    DataSourceInfo DataStoreConnection.describeDataSource​(java.lang.String dataSourceName)
    Returns information about the data source with the given name.
    DataSourceTableInfo DataStoreConnection.describeDataSourceTable​(java.lang.String dataSourceName, java.lang.String dataSourceTableName)
    Returns information about the data source table of the specified data source in the data store.
    DataStoreInfo ServerConnection.describeDataStore​(java.lang.String dataStoreName)
    Returns information about the data store with the given name.
    DeltaQueryInfo DataStoreConnection.describeDeltaQuery​(java.lang.String tupleTableName)
    Returns information about the delta query with the given name.
    StatisticsInfo DataStoreConnection.describeStatistics​(java.lang.String statisticsName)
    Returns information about the specific statistics of the data store.
    TupleTableInfo DataStoreConnection.describeTupleTable​(java.lang.String tupleTableName)
    Returns information about the tuple table with the given name.
    DataStoreConnection DataStoreConnection.duplicate()
    Creates a new connection to the same data store.
    ServerConnection ServerConnection.duplicate()
    Creates a new connection to the same data store.
    StatementResult DataStoreConnection.evaluateQuery​(java.lang.String queryText, java.util.Map<java.lang.String,​java.lang.String> compilationParameters, QueryAnswerMonitor queryAnswerMonitor)
    Evaluates a query and calls the supplied QueryAnswerMonitor instance for each tuple in the result.
    StatementResult DataStoreConnection.evaluateQuery​(Query query, java.util.Map<java.lang.String,​java.lang.String> compilationParameters, QueryAnswerMonitor queryAnswerMonitor)
    Evaluates a query and calls the supplied QueryAnswerMonitor instance for each tuple in the result.
    StatementResult DataStoreConnection.evaluateStatement​(java.lang.String statementText, java.util.Map<java.lang.String,​java.lang.String> compilationParameters, java.io.File file, java.lang.String queryAnswerFormatName)
    Evaluates a statement and serializes the result to the supplied file using the specified format.
    StatementResult DataStoreConnection.evaluateStatement​(java.lang.String statementText, java.util.Map<java.lang.String,​java.lang.String> compilationParameters, java.io.OutputStream outputStream, java.lang.String queryAnswerFormatName)
    Evaluates a statement and serializes the result to the supplied output stream using the specified format.
    StatementResult DataStoreConnection.evaluateStatement​(Statement statement, java.util.Map<java.lang.String,​java.lang.String> compilationParameters, java.io.File file, java.lang.String queryAnswerFormatName)
    Evaluates a statement and serializes the result to the supplied file using the specified format.
    StatementResult DataStoreConnection.evaluateStatement​(Statement statement, java.util.Map<java.lang.String,​java.lang.String> compilationParameters, java.io.OutputStream outputStream, java.lang.String queryAnswerFormatName)
    Evaluates a statement and serializes the result to the supplied output stream using the specified format.
    StatementResult DataStoreConnection.evaluateUpdate​(java.lang.String updateText, java.util.Map<java.lang.String,​java.lang.String> compilationParameters)
    Evaluates an update.
    StatementResult DataStoreConnection.evaluateUpdate​(Update update, java.util.Map<java.lang.String,​java.lang.String> compilationParameters)
    Evaluates an update.
    StatementResult DataStoreConnection.evaluateUpdates​(java.util.List<Update> updates, java.util.Map<java.lang.String,​java.lang.String> compilationParameters)
    Evaluates a list of updates.
    void DataStoreConnection.exportData​(java.io.File file, java.lang.String encryptionAlgorithm, java.lang.String encryptionKey, java.lang.String formatName, java.util.Map<java.lang.String,​java.lang.String> parameters)
    Exports the data in the data store using the given format.
    void DataStoreConnection.exportData​(java.io.File file, java.lang.String formatName, java.util.Map<java.lang.String,​java.lang.String> parameters)
    Exports the data in the data store using the given format.
    void DataStoreConnection.exportData​(java.io.OutputStream outputStream, java.lang.String formatName, java.util.Map<java.lang.String,​java.lang.String> parameters)
    Exports the data in the data store using the given format.
    void DataStoreConnection.exportDeltaQueryAnswer​(java.io.OutputStream outputStream, java.lang.String deltaQueryName, long dataStoreVersion, DeltaQueryAnswerType deltaQueryAnswerType)
    Exports the delta query answer with the specified name, data store version, and delta query answer type.
    java.lang.String DataStoreConnection.getAgentName()
    Returns the name of the agent currently associated with this connection.
    java.lang.String ServerConnection.getAgentName()
    Returns the name of the agent currently associated with this connection.
    java.lang.String Cursor.getAnswerVariableName​(int argumentIndex)
    Returns the name of the answer variable for the given index.
    int Cursor.getArity()
    Returns the arity (i.e., the number of columns) of the answers that the cursor computes.
    java.lang.String DataStoreConnection.getCommitProcedure()
    Returns the data store's commit procedure.
    ComponentInfo DataStoreConnection.getComponentInfo​(boolean extended)
    Returns diagnostic information about the data store as a tree of objects each providing detailed information about the data store.
    ComponentInfo ServerConnection.getComponentInfo​(boolean extended)
    Returns diagnostic information about the server as a tree of objects each providing detailed information about the server.
    long Cursor.getCurrentMultiplicity()
    Returns the multiplicity of the current tuple.
    long Cursor.getCurrentOffset()
    Returns the offset of the current tuple.
    ResourceValue[][] DataStoreConnection.getDataSourceTableData​(java.lang.String dataSourceName, java.lang.String dataSourceTableName, int numberOfRows)
    Returns a sample of the data from the specified data source table.
    DataStoreConnection Cursor.getDataStoreConnection()
    Returns the data store connection that this cursor is associated with.
    java.util.Map<java.lang.String,​java.lang.String> DataStoreConnection.getDataStoreProperties()
    Returns all data store properties as key-value pairs.
    java.lang.String DataStoreConnection.getDataStoreProperty​(java.lang.String propertyName)
    Returns the specified property of the data store.
    long DataStoreConnection.getDataStoreVersion()
    If a transaction is active, the data store version associated with the transaction is returned; otherwise, the last committed data store version is returned.
    long DataStoreConnection.getDataStoreVersionAfterLastOperation()
    Returns the version that the data store had after the last operation on this connection.
    long DataStoreConnection.getLastSnapshotDataStoreVersion()
    Returns the data store version of the most recent snapshot.
    long DataStoreConnection.getLockTimeout()
    Returns the time in milliseconds that the system will wait for when it needs to acquire a lock on a data store.
    long[] ServerConnection.getMemoryUse()
    Returns the current memory use of RDFox.
    java.lang.String DataStoreConnection.getName()
    Returns the name of the data store inside the server.
    long DataStoreConnection.getNextOperationMustMatchDataStoreVersion()
    Returns the data store version that the next operation on this connection should expect.
    long DataStoreConnection.getNextOperationMustNotMatchDataStoreVersion()
    Returns the data store version that the next operation on this connection should not expect.
    static long RDFoxServer.getNumberOfRoles()
    Returns the number of roles currently present in the server.
    int ServerConnection.getNumberOfThreads()
    Returns the number of threads that the server uses for various tasks such as reasoning and data importation.
    java.util.Map<java.lang.String,​java.lang.String> DataStoreConnection.getParameters()
    Returns the parameters that the data store was created with.
    java.util.Map<java.lang.String,​java.lang.String> ServerConnection.getParameters()
    Returns the parameters that the server was created with.
    Prefixes DataStoreConnection.getPrefixes()
    Returns the prefixes of the data store.
    java.lang.String ServerConnection.getRDFoxGitSHA()
    Returns the string containing the Git SHA identifying the precise version of the RDFox instance code.
    java.lang.String ServerConnection.getRDFoxVersion()
    Returns the version string of the RDFox instance.
    Resource Cursor.getResource​(int argumentIndex)
    Returns the resource by for the given index in the current answer row.
    ResourceValue Cursor.getResourceValue​(int argumentIndex)
    Returns the resource bound to the given index in the current answer row.
    java.lang.String ServerConnection.getRolePasswordHash​(java.lang.String roleName)
    Returns the password hash for the given role name.
    int ServerConnection.getServerVersion()
    Returns the current server version.
    TransactionState DataStoreConnection.getTransactionState()
    Returns the state of the transaction associated with this connection.
    java.lang.String DataStoreConnection.getUniqueID()
    Returns a string that uniquely identifies the data store.
    boolean ServerConnection.grantPrivileges​(java.lang.String roleName, java.lang.String resourceSpecifier, byte accessTypesToGrant)
    Grants privileges over a resource specifier to a role.
    boolean ServerConnection.grantRole​(java.lang.String roleName, java.lang.String superRoleName)
    Grants the membership of a role in another role.
    ImportResult DataStoreConnection.importAxiomsFromTriples​(ResourceValue sourceGraph, boolean translateAssertions, ResourceValue destinationGraph, UpdateType updateType)
    Parses the given source graph into OWL axioms, and imports the axioms into the destination graph.
    ImportResult DataStoreConnection.importAxiomsFromTriples​(ResourceValue sourceGraph, boolean translateAssertions, ResourceValue destinationGraph, UpdateType updateType, ImportNotificationMonitor importNotificationMonitor)
    Parses the given source graph into OWL axioms, and imports the axioms into the destination graph.
    ImportResult DataStoreConnection.importData​(ResourceValue defaultGraph, UpdateType updateType, java.io.File file)
    Imports the data from the given file into the current data store.
    ImportResult DataStoreConnection.importData​(ResourceValue defaultGraph, UpdateType updateType, java.io.InputStream inputStream)
    Imports the data from the given input stream into the current data store.
    ImportResult DataStoreConnection.importData​(ResourceValue defaultGraph, UpdateType updateType, java.lang.String content)
    Imports the data from the given string into the current data store.
    ImportResult DataStoreConnection.importData​(ResourceValue defaultGraph, UpdateType updateType, java.util.Collection<InputSourceFactory> inputSourceFactories, java.lang.String formatName, ImportNotificationMonitor importNotificationMonitor)
    Imports the data described by the given input source factories into the current data store.
    ImportResult DataStoreConnection.importData​(ResourceValue defaultGraph, UpdateType updateType, InputSourceFactory inputSourceFactory, java.lang.String formatName, ImportNotificationMonitor importNotificationMonitor)
    Imports the data described by the given input source factory into the current data store Triples in the default graph will be put into the named graph specified using the defaultGraph parameter.
    ImportResult DataStoreConnection.importData​(UpdateType updateType, java.io.File file)
    Imports the data from the given file into the current data store.
    ImportResult DataStoreConnection.importData​(UpdateType updateType, java.io.InputStream inputStream)
    Imports the data from the given input stream into the current data store.
    ImportResult DataStoreConnection.importData​(UpdateType updateType, java.lang.String content)
    Imports the data from the given string into the current data store.
    ImportResult DataStoreConnection.importData​(UpdateType updateType, java.util.Collection<InputSourceFactory> inputSourceFactories, java.lang.String formatName, ImportNotificationMonitor importNotificationMonitor)
    Imports the data described by the given input source factories into the current data store.
    ImportResult DataStoreConnection.importData​(UpdateType updateType, InputSourceFactory inputSourceFactory, java.lang.String formatName, ImportNotificationMonitor importNotificationMonitor)
    Imports the data described by the given input source factory into the current data store.
    static void RDFoxServer.initialize​(java.lang.String serverDirectoryPath, java.lang.String persistenceEncryptionKey, java.util.Map<java.lang.String,​java.lang.String> permanentServerParameters)
    Initializes the server instance in the specified server directory using the supplied server parameters.
    void DataStoreConnection.interrupt()
    Tries to interrupt an operation that is running in parallel on this connection.
    void ServerConnection.interrupt()
    Tries to interrupt an operation that is running in parallel on this connection.
    boolean ServerConnection.isDataStoreOnline​(java.lang.String dataStoreName)
    Checks whether the data store with the given name is online
    boolean ServerConnection.isMemberOf​(java.lang.String roleName, java.lang.String superRoleName)
    Checks whether the given role is a member of another super-role.
    boolean DataStoreConnection.isPersistent()
    Returns true if the data store is persistent.
    java.util.Map<java.lang.String,​java.util.Optional<DataSourceInfo>> DataStoreConnection.listDataSources()
    Returns the list of data sources currently present in the data store.
    java.util.List<DataSourceTableInfo> DataStoreConnection.listDataSourceTables​(java.lang.String dataSourceName)
    Returns information about the data source tables of the specified data source in the data store.
    java.util.Map<java.lang.String,​java.util.Optional<DataStoreInfo>> ServerConnection.listDataStores()
    Returns the list of data stores available at the connected server.
    java.util.Map<java.lang.String,​java.util.Optional<DeltaQueryInfo>> DataStoreConnection.listDeltaQueries()
    Returns information about the delta queries currently registered with the data store.
    java.util.List<DeltaQueryAnswerInfo> DataStoreConnection.listDeltaQueryAnswers​(java.util.Optional<java.lang.String> deltaQueryName, java.util.Optional<java.lang.Long> fromDataStoreVersion, java.util.Optional<java.lang.Long> toDataStoreVersion, java.util.Optional<DeltaQueryAnswerType> deltaQueryAnswerType)
    Lists the delta query answers that match the specified delta query name, the data store version range, and delta query answer type.
    java.util.Map<java.lang.String,​java.lang.Byte> ServerConnection.listPrivileges​(java.lang.String roleName)
    Lists the privileges of a given role.
    java.util.List<java.lang.String> ServerConnection.listRoleMembers​(java.lang.String roleName)
    Lists the roles that are members of the given role.
    java.util.List<java.lang.String> ServerConnection.listRoleMemberships​(java.lang.String roleName)
    Lists the roles that the given role is a member of.
    java.util.List<java.lang.String> ServerConnection.listRoles()
    Returns the list of all roles available at the server.
    java.util.List<RuleInfo> DataStoreConnection.listRules()
    Returns the information about the rules currently loaded into the data store.
    java.util.List<StatisticsInfo> DataStoreConnection.listStatistics()
    Returns information about all statistics currently managed by the data store.
    java.util.Map<java.lang.String,​java.util.Optional<TupleTableInfo>> DataStoreConnection.listTupleTables()
    Returns the list of tuple tables currently present in the data store.
    void ServerConnection.loadDataStoreFromBinaryFormat​(java.lang.String dataStoreName, java.io.File file, java.lang.String decryptionAlgorithm, java.lang.String decryptionKey, java.util.Map<java.lang.String,​java.lang.String> dataStoreParameters)
    Loads a data store with the given name from a file containing the store saved in the standard or raw format.
    void ServerConnection.loadDataStoreFromBinaryFormat​(java.lang.String dataStoreName, java.io.InputStream inputStream, java.lang.String decryptionAlgorithm, java.lang.String decryptionKey, java.util.Map<java.lang.String,​java.lang.String> dataStoreParameters)
    Loads a data store with the given name from an input stream containing the store saved in the standard or raw format.
    static DataStoreConnection RDFoxServer.newDataStoreConnection​(java.lang.String dataStoreName, java.lang.String roleName, java.lang.String password)
    Creates a new connection to a data store at the server.
    DataStoreConnection ServerConnection.newDataStoreConnection​(java.lang.String dataStoreName)
    Creates a connection to the data store of this server with the given name.
    static ServerConnection RDFoxServer.newServerConnection​(java.lang.String roleName, java.lang.String password)
    Creates a new connection to the RDFox server.
    long Cursor.open()
    Opens the cursor and positions it to the first tuple.
    long Cursor.open​(long skipToOffset)
    Opens the cursor and positions it to the tuple with the given offset.
    void QueryAnswerMonitor.processQueryAnswer​(java.util.List<ResourceValue> answer, long multiplicity)
    Called for each query answer.
    void QueryAnswerMonitor.queryAnswersFinished()
    Called after all query answers have been processed.
    void QueryAnswerMonitor.queryAnswersStarted​(Prefixes prefixes, java.lang.String[] answerVariableNames)
    Called at the start of query answering.
    void DataStoreConnection.recompile()
    Recompiles the rules and commit procedure using the currently available statistics.
    void DataStoreConnection.recomputeMaterialization()
    Recomputes the materialization from scratch — that is, deletes all derived facts and applies all rules as if the data had just been freshly imported.
    void DataStoreConnection.registerDataSource​(java.lang.String dataSourceName, java.util.Map<java.lang.String,​java.lang.String> dataSourceParameters)
    Registers a data source with a data store.
    void DataStoreConnection.registerDeltaQuery​(java.lang.String deltaQueryName, java.lang.String queryText, java.lang.String formatName, int snapshotsMaxSize, int deletionsMaxSize, int additionsMaxSize)
    Registers a delta query with a data store.
    void DataStoreConnection.registerDeltaQuery​(java.lang.String deltaQueryName, Query query, java.lang.String formatName, int snapshotsMaxSize, int deletionsMaxSize, int additionsMaxSize)
    Registers a delta query with a data store.
    boolean DataStoreConnection.requiresIncrementalReasoning()
    Returns true if the next data store update must be performed using incremental reasoning (rather than standard using the standard datalog materialization "from scratch" algorithm).
    boolean ServerConnection.revokePrivileges​(java.lang.String roleName, java.lang.String resourceSpecifier, byte accessTypesToRevoke)
    Revokes privileges over a resource specifier from a role.
    boolean ServerConnection.revokeRole​(java.lang.String roleName, java.lang.String superRoleName)
    Revokes the membership of a role in another role.
    void DataStoreConnection.rollbackTransaction()
    Rolls back the transaction associated with this connection.
    void ServerConnection.saveDataStoreToBinaryFormat​(java.lang.String dataStoreName, java.io.File file, java.lang.String encryptionAlgorithm, java.lang.String encryptionKey, BinaryDataStoreFormat format)
    Saves a data store into the specified binary format.
    void ServerConnection.saveDataStoreToBinaryFormat​(java.lang.String dataStoreName, java.io.OutputStream outputStream, java.lang.String encryptionAlgorithm, java.lang.String encryptionKey, BinaryDataStoreFormat format)
    Saves a data store into the specified binary format.
    void ServerConnection.saveDataStoreToBinaryFormat​(java.lang.String dataStoreName, java.lang.String expectedDataStoreUniqueID, long expectedDataStoreVersion, java.io.File file, java.lang.String encryptionAlgorithm, java.lang.String encryptionKey, BinaryDataStoreFormat format)
    Saves a data store into the specified binary format if the data store's unique ID and version match the expected values.
    void ServerConnection.saveDataStoreToBinaryFormat​(java.lang.String dataStoreName, java.lang.String expectedDataStoreUniqueID, long expectedDataStoreVersion, java.io.OutputStream outputStream, java.lang.String encryptionAlgorithm, java.lang.String encryptionKey, BinaryDataStoreFormat format)
    Saves a data store into the specified binary format if the data store's unique ID and version match the expected values.
    boolean DataStoreConnection.setCommitProcedure​(java.lang.String commitProcedure)
    Sets the data store's commit procedure.
    boolean DataStoreConnection.setCommitProcedure​(java.util.List<Update> steps)
    Sets the data store's commit procedure.
    boolean DataStoreConnection.setDataStoreProperty​(java.lang.String propertyName, java.lang.String propertyValue)
    Sets the specified property of the data store to the given value.
    void DataStoreConnection.setDeltaQueryEvaluationMode​(java.lang.String deltaQueryName, DeltaQueryEvaluationMode deltaQueryEvaluationMode)
    Deregisters the delta query with the specified name from the data store.
    void DataStoreConnection.setLockTimeout​(long timeout)
    Sets the time in milliseconds that the system will wait for when it needs to acquire a lock on a data store.
    void ServerConnection.setMaxMemoryUse​(long maxUsedBytes)
    Sets the maximum amount of memory that RDFox is allowed to use.
    void DataStoreConnection.setNextOperationMustMatchDataStoreVersion​(long dataStoreVersion)
    Configures this connection so that the next operation is accepted only if the data store has the given version before the operation commences.
    void DataStoreConnection.setNextOperationMustNotMatchDataStoreVersion​(long dataStoreVersion)
    Configures this connection so that the next operation is accepted only if the data store does not have the given version before the operation commences.
    void ServerConnection.setNumberOfThreads​(int numberOfThreads)
    Sets the number of threads that the server should use for various tasks such as reasoning and data importation.
    boolean DataStoreConnection.setPrefix​(java.lang.String prefixName, java.lang.String prefixIRI)
    Sets the given prefix name to the given prefix IRI in the collection of the data store prefixes.
    boolean DataStoreConnection.setPrefixes​(Prefixes prefixes)
    Replaces all mappings of the prefix names to IRIs maintained by the data store to the collection given in the argument.
    static int RDFoxServer.start​(java.util.Map<java.lang.String,​java.lang.String> serverParameters)
    Starts the server using the supplied parameters and returns the number of data stores in the server (or -1 is the server is already running).
    void Cursor.stop()
    Stops this iterator by releasing all resources that the cursor might hold.
    static void RDFoxServer.stop()
    Stops the server, or does nothing if the server is not running.
    boolean DataStoreConnection.transactionRequiresRollback()
    Returns true if a transaction is active on this connection and this transaction must be rolled back (i.e., it cannot be committed).
    boolean DataStoreConnection.unsetPrefix​(java.lang.String prefixName)
    Removes the mapping of the given prefix name in the collection of the data store prefixes.
    void DataStoreConnection.updateMaterialization()
    Updates the materialization so that all and only the consequences of the explicitly stated facts and the rules are derived.
    void DataStoreConnection.updateStatistics()
    Updates all statistics that the data store uses to plan queries and rules.
    void DataStoreConnection.updateStatistics​(java.lang.String statisticsName)
    Updates the statistics with the given name that the data store uses to plan queries and rules.
    static void RDFoxServer.upgrade​(java.lang.String serverDirectoryPath, java.lang.String persistenceEncryptionKey, java.io.OutputStream outputStream)
    Upgrades the server instance in the specified server directory to the version used by this RDFox version.
  • Uses of JRDFoxException in tech.oxfordsemantic.jrdfox.exceptions

    Subclasses of JRDFoxException in tech.oxfordsemantic.jrdfox.exceptions 
    Modifier and Type Class Description
    class  AuthenticationException
    This exception is thrown when an authentication request fails (e.g., when the system is presented with an invalid combination of a role name and password).
    class  AuthorizationException
    This exception is thrown when a specified user is not authorised to perform a particular action on a resource (e.g., when a user attempts to change a data store for which they have only read-only access).
    class  ConstraintViolationException
    This exception is thrown when an attempt is made to commit a transaction in which the default RDF graph contains at least one instance of the class https://rdfox.com/vocabulary#ConstraintViolation.
    class  CursorAdvanceException
    This exception is thrown when Cursor.advance() is called and the cursor was not opened earlier, or the data store has changed since Cursor.open() was called.
    class  CursorNoLongerUsableException
    This exception is thrown when a method of Cursor is called but the data store has changed in a way that prevents this cursor from being used any more.
    class  DataStoreVersionDoesNotMatchException
    This exception is thrown when an operation on a data store connection or a cursor is called, but the data store has changed in the meanwhile (i.e., its version does not match the expected data store version).
    class  DataStoreVersionMatchesException
    This exception is thrown when an operation on a data store connection is called, but the data store has not changed in the meanwhile (i.e., its version matches an expected data store version).
    class  DeltaQueryCompilationException
    This exception is thrown when an error during rule compilation occurs.
    class  DuplicateResourceException
    This exception is thrown when a client tries to create a resource that already exists.
    class  LaggingReplicationException
    This exception is thrown when an operation cannot be completed because of pending changes from other replicas.
    class  LicenseException
    This exception is thrown when a server cannot find a valid license.
    class  LockTimeoutException
    This exception is thrown when a lock on a data store must be acquired in order to fulfil a request, but the lock acquisition times out.
    class  OperationInterruptedException
    This exception is thrown when an operation on a ServerConnection or DataStoreConnection is interrupted using the interrupt() method.
    class  ParsingException
    This exception is thrown when an error during parsing occurs.
    class  QueryCompilationException
    This exception is thrown when an error during query compilation occurs.
    class  ResourceInUseException
    This exception is thrown when an operation attempts to modify a resource that is currently used elsewhere.
    class  RuleCompilationException
    This exception is thrown when an error during rule compilation occurs.
    class  SystemCallException
    This exception is thrown when a system call throws an exception.
    class  UnknownResourceException
    This exception is thrown when an operation attempts to access a resource that does not exist.
  • Uses of JRDFoxException in tech.oxfordsemantic.jrdfox.formats

    Methods in tech.oxfordsemantic.jrdfox.formats that throw JRDFoxException 
    Modifier and Type Method Description
    Query SPARQLParser.parseSingleQuery()  
    Statement SPARQLParser.parseSingleStatement()  
    Update SPARQLParser.parseSingleUpdate()  
  • Uses of JRDFoxException in tech.oxfordsemantic.jrdfox.logic.datalog

    Methods in tech.oxfordsemantic.jrdfox.logic.datalog that throw JRDFoxException 
    Modifier and Type Method Description
    static Rule Rule.parse​(Prefixes prefixes, java.lang.String ruleText)  
  • Uses of JRDFoxException in tech.oxfordsemantic.jrdfox.logic.sparql.statement

    Methods in tech.oxfordsemantic.jrdfox.logic.sparql.statement that throw JRDFoxException 
    Modifier and Type Method Description
    static Query Query.parse​(Prefixes prefixes, java.lang.String queryText)  
    static Statement Statement.parse​(Prefixes prefixes, java.lang.String statementText)  
    static Update Update.parse​(Prefixes prefixes, java.lang.String updateText)