C# Класс Cedar.SqlDataReader

Get the Cedar information from Cedar sql database
Наследование: IDataReader
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

GetAllShard() публичный Метод

Get all the shards
public GetAllShard ( ) : List
Результат List

GetAllShardByAppname() публичный Метод

Get all the shards of a given application
public GetAllShardByAppname ( string appName ) : List
appName string
Результат List

GetAppSchema() публичный Метод

Get application schema by shard id
public GetAppSchema ( long shardId ) : AppSchema
shardId long
Результат AppSchema

GetShardById() публичный Метод

Get shard for given shard id
public GetShardById ( long shardId ) : Shard
shardId long
Результат Shard

GetShardStrategy() публичный Метод

Get all the shards strategy
public GetShardStrategy ( ) : IList
Результат IList

GetShardStrategyById() публичный Метод

Get the shard strategy by shard id
public GetShardStrategyById ( long shardId ) : IList
shardId long
Результат IList

UpdateShard() публичный Метод

Update the shard schema setup information
public UpdateShard ( long shardId ) : void
shardId long
Результат void

UpdateShardCount() публичный Метод

Updates the shard total count information
public UpdateShardCount ( long shardId ) : void
shardId long
Результат void

UpdateShardWile() публичный Метод

Updates the shard wile
public UpdateShardWile ( long shardId ) : void
shardId long
Результат void