C# 클래스 RDFSharp.Store.RDFSQLServerStore

RDFSQLServerStore represents a RDFStore backed on SQL Server engine
상속: RDFStore
파일 보기 프로젝트 열기: mdesalvo/RDFSharp 1 사용 예제들

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