C# Класс RDFSharp.Store.RDFSQLServerStore

RDFSQLServerStore represents a RDFStore backed on SQL Server engine
Наследование: RDFStore
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
Diagnostics RDFStoreEnums.RDFStoreSQLErrors
PrepareStore void
SelectQuadruples RDFMemoryStore

Открытые методы

Метод Описание
AddQuadruple ( RDFQuadruple quadruple ) : RDFStore

Adds the given quadruple to the store, avoiding duplicate insertions

ClearQuadruples ( ) : void

Clears the quadruples of the store

ContainsQuadruple ( RDFQuadruple quadruple ) : System.Boolean

Checks if the store contains the given quadruple

MergeGraph ( RDFGraph graph ) : RDFStore

Merges the given graph into the store within a single transaction, avoiding duplicate insertions

OptimizeStore ( ) : void

Executes a special command to optimize SQL Server store

RDFSQLServerStore ( String sqlServerInstance, String sqlServerDatabase ) : System

Default-ctor to build a SQL Server store instance with Windows Integrated Security authentication

RDFSQLServerStore ( String sqlServerInstance, String sqlServerDatabase, String sqlServerUserName, String sqlServerUserPwd ) : System

Default-ctor to build a SQL Server store instance with SQL Server authentication

RemoveQuadruple ( RDFQuadruple quadruple ) : RDFStore

Removes the given quadruples from the store

RemoveQuadruplesByContext ( RDFSharp.Store.RDFContext contextResource ) : RDFStore

Removes the quadruples with the given context

RemoveQuadruplesByLiteral ( RDFSharp.Model.RDFLiteral literalObject ) : RDFStore

Removes the quadruples with the given literal as object

RemoveQuadruplesByObject ( RDFResource objectResource ) : RDFStore

Removes the quadruples with the given resource as object

RemoveQuadruplesByPredicate ( RDFResource predicateResource ) : RDFStore

Removes the quadruples with the given predicate

RemoveQuadruplesBySubject ( RDFResource subjectResource ) : RDFStore

Removes the quadruples with the given subject

SelectAllQuadruples ( ) : RDFMemoryStore

Gets a store containing all quadruples

SelectQuadruplesByContext ( RDFSharp.Store.RDFContext contextResource ) : RDFMemoryStore

Gets a memory store containing quadruples with the specified context

SelectQuadruplesByLiteral ( RDFSharp.Model.RDFLiteral objectLiteral ) : RDFMemoryStore

Gets a memory store containing quadruples with the specified literal

SelectQuadruplesByObject ( RDFResource objectResource ) : RDFMemoryStore

Gets a memory store containing quadruples with the specified object

SelectQuadruplesByPredicate ( RDFResource predicateResource ) : RDFMemoryStore

Gets a memory store containing quadruples with the specified predicate

SelectQuadruplesBySubject ( RDFResource subjectResource ) : RDFMemoryStore

Gets a memory store containing quadruples with the specified subject

ToString ( ) : String

Gives the string representation of the SQL Server store

UnreifyQuadruples ( ) : void

Compacts the reified quadruples by removing their 4 standard statements

Приватные методы

Метод Описание
Diagnostics ( ) : RDFStoreEnums.RDFStoreSQLErrors

Performs the preliminary diagnostics controls on the underlying SQL Server database

PrepareStore ( ) : void

Prepares the underlying SQL Server database

SelectQuadruples ( RDFSharp.Store.RDFContext ctx, RDFResource subj, RDFResource pred, RDFResource obj, RDFSharp.Model.RDFLiteral lit ) : RDFMemoryStore

Gets a memory store containing quadruples satisfying the given pattern

Описание методов

AddQuadruple() публичный Метод

Adds the given quadruple to the store, avoiding duplicate insertions
public AddQuadruple ( RDFQuadruple quadruple ) : RDFStore
quadruple RDFQuadruple
Результат RDFStore

ClearQuadruples() публичный Метод

Clears the quadruples of the store
public ClearQuadruples ( ) : void
Результат void

ContainsQuadruple() публичный Метод

Checks if the store contains the given quadruple
public ContainsQuadruple ( RDFQuadruple quadruple ) : System.Boolean
quadruple RDFQuadruple
Результат System.Boolean

MergeGraph() публичный Метод

Merges the given graph into the store within a single transaction, avoiding duplicate insertions
public MergeGraph ( RDFGraph graph ) : RDFStore
graph RDFGraph
Результат RDFStore

OptimizeStore() публичный Метод

Executes a special command to optimize SQL Server store
public OptimizeStore ( ) : void
Результат void

RDFSQLServerStore() публичный Метод

Default-ctor to build a SQL Server store instance with Windows Integrated Security authentication
public RDFSQLServerStore ( String sqlServerInstance, String sqlServerDatabase ) : System
sqlServerInstance String
sqlServerDatabase String
Результат System

RDFSQLServerStore() публичный Метод

Default-ctor to build a SQL Server store instance with SQL Server authentication
public RDFSQLServerStore ( String sqlServerInstance, String sqlServerDatabase, String sqlServerUserName, String sqlServerUserPwd ) : System
sqlServerInstance String
sqlServerDatabase String
sqlServerUserName String
sqlServerUserPwd String
Результат System

RemoveQuadruple() публичный Метод

Removes the given quadruples from the store
public RemoveQuadruple ( RDFQuadruple quadruple ) : RDFStore
quadruple RDFQuadruple
Результат RDFStore

RemoveQuadruplesByContext() публичный Метод

Removes the quadruples with the given context
public RemoveQuadruplesByContext ( RDFSharp.Store.RDFContext contextResource ) : RDFStore
contextResource RDFSharp.Store.RDFContext
Результат RDFStore

RemoveQuadruplesByLiteral() публичный Метод

Removes the quadruples with the given literal as object
public RemoveQuadruplesByLiteral ( RDFSharp.Model.RDFLiteral literalObject ) : RDFStore
literalObject RDFSharp.Model.RDFLiteral
Результат RDFStore

RemoveQuadruplesByObject() публичный Метод

Removes the quadruples with the given resource as object
public RemoveQuadruplesByObject ( RDFResource objectResource ) : RDFStore
objectResource RDFSharp.Model.RDFResource
Результат RDFStore

RemoveQuadruplesByPredicate() публичный Метод

Removes the quadruples with the given predicate
public RemoveQuadruplesByPredicate ( RDFResource predicateResource ) : RDFStore
predicateResource RDFSharp.Model.RDFResource
Результат RDFStore

RemoveQuadruplesBySubject() публичный Метод

Removes the quadruples with the given subject
public RemoveQuadruplesBySubject ( RDFResource subjectResource ) : RDFStore
subjectResource RDFSharp.Model.RDFResource
Результат RDFStore

SelectAllQuadruples() публичный Метод

Gets a store containing all quadruples
public SelectAllQuadruples ( ) : RDFMemoryStore
Результат RDFMemoryStore

SelectQuadruplesByContext() публичный Метод

Gets a memory store containing quadruples with the specified context
public SelectQuadruplesByContext ( RDFSharp.Store.RDFContext contextResource ) : RDFMemoryStore
contextResource RDFSharp.Store.RDFContext
Результат RDFMemoryStore

SelectQuadruplesByLiteral() публичный Метод

Gets a memory store containing quadruples with the specified literal
public SelectQuadruplesByLiteral ( RDFSharp.Model.RDFLiteral objectLiteral ) : RDFMemoryStore
objectLiteral RDFSharp.Model.RDFLiteral
Результат RDFMemoryStore

SelectQuadruplesByObject() публичный Метод

Gets a memory store containing quadruples with the specified object
public SelectQuadruplesByObject ( RDFResource objectResource ) : RDFMemoryStore
objectResource RDFSharp.Model.RDFResource
Результат RDFMemoryStore

SelectQuadruplesByPredicate() публичный Метод

Gets a memory store containing quadruples with the specified predicate
public SelectQuadruplesByPredicate ( RDFResource predicateResource ) : RDFMemoryStore
predicateResource RDFSharp.Model.RDFResource
Результат RDFMemoryStore

SelectQuadruplesBySubject() публичный Метод

Gets a memory store containing quadruples with the specified subject
public SelectQuadruplesBySubject ( RDFResource subjectResource ) : RDFMemoryStore
subjectResource RDFSharp.Model.RDFResource
Результат RDFMemoryStore

ToString() публичный Метод

Gives the string representation of the SQL Server store
public ToString ( ) : String
Результат String

UnreifyQuadruples() публичный Метод

Compacts the reified quadruples by removing their 4 standard statements
public UnreifyQuadruples ( ) : void
Результат void