C# Class Cedar.SqlDataReader

Get the Cedar information from Cedar sql database
Inheritance: IDataReader
Afficher le fichier Open project: Vadi/Cedar Class Usage Examples

Méthodes publiques

Méthode Description
GetAllShard ( ) : List

Get all the shards

GetAllShardByAppname ( string appName ) : List

Get all the shards of a given application

GetAppSchema ( long shardId ) : AppSchema

Get application schema by shard id

GetShardById ( long shardId ) : Shard

Get shard for given shard id

GetShardStrategy ( ) : IList

Get all the shards strategy

GetShardStrategyById ( long shardId ) : IList

Get the shard strategy by shard id

UpdateShard ( long shardId ) : void

Update the shard schema setup information

UpdateShardCount ( long shardId ) : void

Updates the shard total count information

UpdateShardWile ( long shardId ) : void

Updates the shard wile

Method Details

GetAllShard() public méthode

Get all the shards
public GetAllShard ( ) : List
Résultat List

GetAllShardByAppname() public méthode

Get all the shards of a given application
public GetAllShardByAppname ( string appName ) : List
appName string
Résultat List

GetAppSchema() public méthode

Get application schema by shard id
public GetAppSchema ( long shardId ) : AppSchema
shardId long
Résultat AppSchema

GetShardById() public méthode

Get shard for given shard id
public GetShardById ( long shardId ) : Shard
shardId long
Résultat Shard

GetShardStrategy() public méthode

Get all the shards strategy
public GetShardStrategy ( ) : IList
Résultat IList

GetShardStrategyById() public méthode

Get the shard strategy by shard id
public GetShardStrategyById ( long shardId ) : IList
shardId long
Résultat IList

UpdateShard() public méthode

Update the shard schema setup information
public UpdateShard ( long shardId ) : void
shardId long
Résultat void

UpdateShardCount() public méthode

Updates the shard total count information
public UpdateShardCount ( long shardId ) : void
shardId long
Résultat void

UpdateShardWile() public méthode

Updates the shard wile
public UpdateShardWile ( long shardId ) : void
shardId long
Résultat void