Show / Hide Table of Contents

Interface IStorageServer

Interface for storage servers which are systems capable of managing multiple stores which are exposed as IStorageProvider instances.

Inherited Members
IDisposable.Dispose()
Namespace: VDS.RDF.Storage.Management
Assembly: dotNetRdf.dll
Syntax
public interface IStorageServer : IDisposable
Remarks

This interface may be implemented either separately or alongside IStorageProvider. It is quite acceptable for an implementation of IStorageProvider that provides a connection to a store sitting on a server that manages multiple stores to also provide an implementation of this interface in order to allow access to other stores on the server.

Properties

| Edit this page View Source

IOBehaviour

Returns information on the IO behaviour of a Server.

Declaration
IOBehaviour IOBehaviour { get; }
Property Value
Type Description
IOBehaviour

Methods

| Edit this page View Source

CreateStore(IStoreTemplate)

Creates a new Store with the given ID.

Declaration
bool CreateStore(IStoreTemplate template)
Parameters
Type Name Description
IStoreTemplate template

Template for the new store.

Returns
Type Description
bool

Whether creation succeeded.

| Edit this page View Source

DeleteStore(string)

Deletes the Store with the given ID.

Declaration
void DeleteStore(string storeID)
Parameters
Type Name Description
string storeID

Store ID.

Remarks

Whether attempting to delete the Store that you are accessing is permissible is up to the implementation.

| Edit this page View Source

GetAvailableTemplates(string)

Gets all possible templates for creating a store with the given ID.

Declaration
IEnumerable<IStoreTemplate> GetAvailableTemplates(string id)
Parameters
Type Name Description
string id

ID.

Returns
Type Description
IEnumerable<IStoreTemplate>
| Edit this page View Source

GetDefaultTemplate(string)

Gets a default template for creating a store with the given ID.

Declaration
IStoreTemplate GetDefaultTemplate(string id)
Parameters
Type Name Description
string id

ID.

Returns
Type Description
IStoreTemplate
| Edit this page View Source

GetStore(string)

Gets the Store with the given ID.

Declaration
IStorageProvider GetStore(string storeId)
Parameters
Type Name Description
string storeId

Store ID.

Returns
Type Description
IStorageProvider
| Edit this page View Source

ListStores()

Gets the list of available stores.

Declaration
IEnumerable<string> ListStores()
Returns
Type Description
IEnumerable<string>

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Edit this page
  • View Source
In this article
  • Properties
    • IOBehaviour
  • Methods
    • CreateStore(IStoreTemplate)
    • DeleteStore(string)
    • GetAvailableTemplates(string)
    • GetDefaultTemplate(string)
    • GetStore(string)
    • ListStores()
  • Extension Methods
Back to top Generated by DocFX