示例#1
0
 /// <summary>
 /// Create a ShardSpace in a Database.
 /// </summary>
 /// <param name="database">The name of the database.</param>
 /// <param name="shardSpace">The shardSpace to create in this database</param>
 /// <returns></returns>
 public async Task<InfluxDbApiResponse> CreateShardSpaceAsync(string database, ShardSpace shardSpace)
 {
     return await _influxDbClient.CreateShardSpace(NoErrorHandlers, database, shardSpace);
 }
 public void AddSpace(ShardSpace space)
 {
     _spaces.Add(space);
 }
 public Task<InfluxDbApiResponse> CreateShardSpace(IEnumerable<ApiResponseErrorHandlingDelegate> errorHandlers, string database, ShardSpace shardSpace)
 {
     throw new NotImplementedException();
 }
 public async Task<InfluxDbApiResponse> CreateShardSpace(IEnumerable<ApiResponseErrorHandlingDelegate> errorHandlers, string database, ShardSpace shardSpace)
 {
     return await _influxDbClient.CreateShardSpace(errorHandlers, database, shardSpace);
 }