C# Class Spark.Store.Mongo.MongoFhirStore

Inheritance: IFhirStore, IGenerator, ISnapshotStore
Afficher le fichier Open project: raysearchlabs/spark

Méthodes publiques

Méthode 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

Méthode 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 méthode

public Add ( IEnumerable interactions ) : void
interactions IEnumerable
Résultat void

Add() public méthode

public Add ( Spark.Engine.Core.Interaction entry ) : void
entry Spark.Engine.Core.Interaction
Résultat void

AddSnapshot() public méthode

public AddSnapshot ( Snapshot snapshot ) : void
snapshot Snapshot
Résultat void

Clean() public méthode

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

CustomResourceIdAllowed() public méthode

public CustomResourceIdAllowed ( string value ) : bool
value string
Résultat bool

Exists() public méthode

public Exists ( IKey key ) : bool
key IKey
Résultat bool

FetchPrimaryKeys() public méthode

public FetchPrimaryKeys ( IEnumerable clauses ) : IList
clauses IEnumerable
Résultat IList

FetchPrimaryKeys() public méthode

public FetchPrimaryKeys ( IMongoQuery query ) : IList
query IMongoQuery
Résultat IList

Get() public méthode

public Get ( IEnumerable identifiers, string sortby ) : IList
identifiers IEnumerable
sortby string
Résultat IList

Get() public méthode

public Get ( IKey key ) : Spark.Engine.Core.Interaction
key IKey
Résultat Spark.Engine.Core.Interaction

GetSnapshot() public méthode

public GetSnapshot ( string key ) : Snapshot
key string
Résultat Snapshot

History() public méthode

public History ( DateTimeOffset since = null ) : IList
since DateTimeOffset
Résultat IList

History() public méthode

public History ( IKey key, DateTimeOffset since = null ) : IList
key IKey
since DateTimeOffset
Résultat IList

History() public méthode

public History ( string resource, DateTimeOffset since = null ) : IList
resource string
since DateTimeOffset
Résultat IList

List() public méthode

public List ( string resource, DateTimeOffset since = null ) : IList
resource string
since DateTimeOffset
Résultat IList

MongoFhirStore() public méthode

public MongoFhirStore ( MongoDatabase database ) : System
database MongoDatabase
Résultat System

Next() public méthode

public Next ( string name ) : string
name string
Résultat string

Replace() public méthode

public Replace ( Spark.Engine.Core.Interaction entry ) : void
entry Spark.Engine.Core.Interaction
Résultat void