C# Class Hexastore.Processor.StoreProcessor

Inheritance: IStoreProcesor
Show file Open project: angshuman/hexadb

Public Methods

Method Description
Assert ( string storeId, JToken input, bool strict ) : void
AssertMeta ( string storeId, JObject value ) : void
Delete ( string storeId, JToken token ) : void
GetPredicates ( string storeId ) : JObject
GetSet ( string storeId ) : JObject
GetSubject ( string storeId, string subject, Array expand, int level ) : JObject
GetType ( string storeId, Array type, Array expand, int level ) : JObject
PatchJson ( string storeId, JToken token ) : void
PatchTriple ( string storeId, JObject input ) : void
Query ( string storeId, JObject query, Array expand, int level ) : JObject
StoreProcessor ( IStoreProvider setProvider, IReasoner reasoner, ILogger logger ) : Hexastore.Graph

Private Methods

Method Description
GetGraphs ( string storeId ) : Hexastore.Graph
GetSetGraphs ( string storeId ) : Hexastore.Graph

Method Details

Assert() public method

public Assert ( string storeId, JToken input, bool strict ) : void
storeId string
input JToken
strict bool
return void

AssertMeta() public method

public AssertMeta ( string storeId, JObject value ) : void
storeId string
value JObject
return void

Delete() public method

public Delete ( string storeId, JToken token ) : void
storeId string
token JToken
return void

GetPredicates() public method

public GetPredicates ( string storeId ) : JObject
storeId string
return JObject

GetSet() public method

public GetSet ( string storeId ) : JObject
storeId string
return JObject

GetSubject() public method

public GetSubject ( string storeId, string subject, Array expand, int level ) : JObject
storeId string
subject string
expand Array
level int
return JObject

GetType() public method

public GetType ( string storeId, Array type, Array expand, int level ) : JObject
storeId string
type Array
expand Array
level int
return JObject

PatchJson() public method

public PatchJson ( string storeId, JToken token ) : void
storeId string
token JToken
return void

PatchTriple() public method

public PatchTriple ( string storeId, JObject input ) : void
storeId string
input JObject
return void

Query() public method

public Query ( string storeId, JObject query, Array expand, int level ) : JObject
storeId string
query JObject
expand Array
level int
return JObject

StoreProcessor() public method

public StoreProcessor ( IStoreProvider setProvider, IReasoner reasoner, ILogger logger ) : Hexastore.Graph
setProvider IStoreProvider
reasoner IReasoner
logger ILogger
return Hexastore.Graph