C# Class Spark.Store.Mongo.MongoFhirStore

Inheritance: IFhirStore, IGenerator, ISnapshotStore
Exibir arquivo Open project: raysearchlabs/spark

Public Methods

Method Description
Add ( IEnumerable interactions ) : void
Add ( Spark.Engine.Core.Interaction entry ) : void
AddSnapshot ( Snapshot snapshot ) : void
Clean ( ) : void

Does a complete wipe and reset of the database. USE WITH CAUTION!

CustomResourceIdAllowed ( string value ) : bool
Exists ( IKey key ) : bool
FetchPrimaryKeys ( IEnumerable clauses ) : IList
FetchPrimaryKeys ( IMongoQuery query ) : IList
Get ( IEnumerable identifiers, string sortby ) : IList
Get ( IKey key ) : Spark.Engine.Core.Interaction
GetSnapshot ( string key ) : Snapshot
History ( DateTimeOffset since = null ) : IList
History ( IKey key, DateTimeOffset since = null ) : IList
History ( string resource, DateTimeOffset since = null ) : IList
List ( string resource, DateTimeOffset since = null ) : IList
MongoFhirStore ( MongoDatabase database ) : System
Next ( string name ) : string
Replace ( Spark.Engine.Core.Interaction entry ) : void

Private Methods

Method Description
DropCollections ( IEnumerable collections ) : void
EnsureIndices ( ) : void
EraseData ( ) : void
IGenerator ( string resource ) : string
Supercede ( IEnumerable keys ) : void
Supercede ( IKey key ) : void
TryDropCollection ( string name ) : void

Method Details

Add() public method

public Add ( IEnumerable interactions ) : void
interactions IEnumerable
return void

Add() public method

public Add ( Spark.Engine.Core.Interaction entry ) : void
entry Spark.Engine.Core.Interaction
return void

AddSnapshot() public method

public AddSnapshot ( Snapshot snapshot ) : void
snapshot Snapshot
return void

Clean() public method

Does a complete wipe and reset of the database. USE WITH CAUTION!
public Clean ( ) : void
return void

CustomResourceIdAllowed() public method

public CustomResourceIdAllowed ( string value ) : bool
value string
return bool

Exists() public method

public Exists ( IKey key ) : bool
key IKey
return bool

FetchPrimaryKeys() public method

public FetchPrimaryKeys ( IEnumerable clauses ) : IList
clauses IEnumerable
return IList

FetchPrimaryKeys() public method

public FetchPrimaryKeys ( IMongoQuery query ) : IList
query IMongoQuery
return IList

Get() public method

public Get ( IEnumerable identifiers, string sortby ) : IList
identifiers IEnumerable
sortby string
return IList

Get() public method

public Get ( IKey key ) : Spark.Engine.Core.Interaction
key IKey
return Spark.Engine.Core.Interaction

GetSnapshot() public method

public GetSnapshot ( string key ) : Snapshot
key string
return Snapshot

History() public method

public History ( DateTimeOffset since = null ) : IList
since DateTimeOffset
return IList

History() public method

public History ( IKey key, DateTimeOffset since = null ) : IList
key IKey
since DateTimeOffset
return IList

History() public method

public History ( string resource, DateTimeOffset since = null ) : IList
resource string
since DateTimeOffset
return IList

List() public method

public List ( string resource, DateTimeOffset since = null ) : IList
resource string
since DateTimeOffset
return IList

MongoFhirStore() public method

public MongoFhirStore ( MongoDatabase database ) : System
database MongoDatabase
return System

Next() public method

public Next ( string name ) : string
name string
return string

Replace() public method

public Replace ( Spark.Engine.Core.Interaction entry ) : void
entry Spark.Engine.Core.Interaction
return void