C# Class Cedar.SqlDataReader

Get the Cedar information from Cedar sql database
Inheritance: IDataReader
Mostra file Open project: Vadi/Cedar Class Usage Examples

Public Methods

Method 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 method

Get all the shards
public GetAllShard ( ) : List
return List

GetAllShardByAppname() public method

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

GetAppSchema() public method

Get application schema by shard id
public GetAppSchema ( long shardId ) : AppSchema
shardId long
return AppSchema

GetShardById() public method

Get shard for given shard id
public GetShardById ( long shardId ) : Shard
shardId long
return Shard

GetShardStrategy() public method

Get all the shards strategy
public GetShardStrategy ( ) : IList
return IList

GetShardStrategyById() public method

Get the shard strategy by shard id
public GetShardStrategyById ( long shardId ) : IList
shardId long
return IList

UpdateShard() public method

Update the shard schema setup information
public UpdateShard ( long shardId ) : void
shardId long
return void

UpdateShardCount() public method

Updates the shard total count information
public UpdateShardCount ( long shardId ) : void
shardId long
return void

UpdateShardWile() public method

Updates the shard wile
public UpdateShardWile ( long shardId ) : void
shardId long
return void