C# Class Spark.Service.Pager

Datei anzeigen Open project: raysearchlabs/spark Class Usage Examples

Public Methods

Method Description
BuildLinks ( Hl7.Fhir.Model.Bundle bundle, Spark.Core.Snapshot snapshot, int start, int count ) : void
CreateBundle ( Spark.Core.Snapshot snapshot, int start, int count ) : Hl7.Fhir.Model.Bundle
CreateSnapshot ( Hl7.Fhir.Model.Bundle type, Uri link, IEnumerable keys, string sortby, IEnumerable includes = null ) : Spark.Core.Snapshot
GetFirstPage ( Spark.Core.Snapshot snapshot ) : Hl7.Fhir.Model.Bundle
GetPage ( Spark.Core.Snapshot snapshot, int start, int pagesize = DEFAULT_PAGE_SIZE ) : Hl7.Fhir.Model.Bundle
GetPage ( string snapshotkey, int start, int count = DEFAULT_PAGE_SIZE ) : Hl7.Fhir.Model.Bundle
Pager ( IFhirStore store, ISnapshotStore snapshotstore, ILocalhost localhost, Transfer transfer ) : System

Private Methods

Method Description
Include ( Hl7.Fhir.Model.Bundle bundle, IEnumerable includes ) : void

Method Details

BuildLinks() public method

public BuildLinks ( Hl7.Fhir.Model.Bundle bundle, Spark.Core.Snapshot snapshot, int start, int count ) : void
bundle Hl7.Fhir.Model.Bundle
snapshot Spark.Core.Snapshot
start int
count int
return void

CreateBundle() public method

public CreateBundle ( Spark.Core.Snapshot snapshot, int start, int count ) : Hl7.Fhir.Model.Bundle
snapshot Spark.Core.Snapshot
start int
count int
return Hl7.Fhir.Model.Bundle

CreateSnapshot() public method

public CreateSnapshot ( Hl7.Fhir.Model.Bundle type, Uri link, IEnumerable keys, string sortby, IEnumerable includes = null ) : Spark.Core.Snapshot
type Hl7.Fhir.Model.Bundle
link System.Uri
keys IEnumerable
sortby string
includes IEnumerable
return Spark.Core.Snapshot

GetFirstPage() public method

public GetFirstPage ( Spark.Core.Snapshot snapshot ) : Hl7.Fhir.Model.Bundle
snapshot Spark.Core.Snapshot
return Hl7.Fhir.Model.Bundle

GetPage() public method

public GetPage ( Spark.Core.Snapshot snapshot, int start, int pagesize = DEFAULT_PAGE_SIZE ) : Hl7.Fhir.Model.Bundle
snapshot Spark.Core.Snapshot
start int
pagesize int
return Hl7.Fhir.Model.Bundle

GetPage() public method

public GetPage ( string snapshotkey, int start, int count = DEFAULT_PAGE_SIZE ) : Hl7.Fhir.Model.Bundle
snapshotkey string
start int
count int
return Hl7.Fhir.Model.Bundle

Pager() public method

public Pager ( IFhirStore store, ISnapshotStore snapshotstore, ILocalhost localhost, Transfer transfer ) : System
store IFhirStore
snapshotstore ISnapshotStore
localhost ILocalhost
transfer Transfer
return System