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
System.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

| Improve this Doc View Source

IOBehaviour

Returns information on the IO behaviour of a Server.
Declaration
IOBehaviour IOBehaviour { get; }
Property Value
Type Description
IOBehaviour

Methods

| Improve this Doc 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
System.Boolean Whether creation succeeded.
| Improve this Doc View Source

DeleteStore(String)

Deletes the Store with the given ID.
Declaration
void DeleteStore(string storeID)
Parameters
Type Name Description
System.String storeID Store ID.
Remarks
Whether attempting to delete the Store that you are accessing is permissible is up to the implementation.
| Improve this Doc 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
System.String id ID.
Returns
Type Description
System.Collections.Generic.IEnumerable<IStoreTemplate>
| Improve this Doc 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
System.String id ID.
Returns
Type Description
IStoreTemplate
| Improve this Doc View Source

GetStore(String)

Gets the Store with the given ID.
Declaration
IStorageProvider GetStore(string storeID)
Parameters
Type Name Description
System.String storeID Store ID.
Returns
Type Description
IStorageProvider
| Improve this Doc View Source

ListStores()

Gets the list of available stores.
Declaration
IEnumerable<string> ListStores()
Returns
Type Description
System.Collections.Generic.IEnumerable<System.String>

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • 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