C# 클래스 Cedar.ShardRepository

Shard Repository
상속: BaseRepository
파일 보기 프로젝트 열기: Vadi/Cedar 1 사용 예제들

공개 메소드들

메소드 설명
GetAllShard ( ) : IEnumerable

Get all shards stored in the Cedar database

GetAllShard ( string applicationName ) : IEnumerable

Get all shards for a given application stored in the Cedar database

GetAppSchema ( string applicationName ) : AppSchema

Get the application schema for a given application name

GetShardById ( long shardId ) : Shard

Get shards information for given shard id

비공개 메소드들

메소드 설명
UpdateShard ( long shardId ) : void

Update the schema setup status

UpdateShardCount ( long shardId ) : void

Updates the total count on a shard

메소드 상세

GetAllShard() 공개 메소드

Get all shards stored in the Cedar database
public GetAllShard ( ) : IEnumerable
리턴 IEnumerable

GetAllShard() 공개 메소드

Get all shards for a given application stored in the Cedar database
public GetAllShard ( string applicationName ) : IEnumerable
applicationName string
리턴 IEnumerable

GetAppSchema() 공개 메소드

Get the application schema for a given application name
public GetAppSchema ( string applicationName ) : AppSchema
applicationName string
리턴 AppSchema

GetShardById() 공개 메소드

Get shards information for given shard id
public GetShardById ( long shardId ) : Shard
shardId long
리턴 Shard