mirror of https://github.com/ogoun/Zero.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
683 B
25 lines
683 B
using System;
|
|
|
|
namespace ZeroLevel.Services.PartitionStorage
|
|
{
|
|
/// <summary>
|
|
/// Provides common operations in catalog partition
|
|
/// </summary>
|
|
/// <typeparam name="TKey">Key type</typeparam>
|
|
/// <typeparam name="TInput">Type of one input value</typeparam>
|
|
/// <typeparam name="TValue">Type of records aggregate</typeparam>
|
|
public interface IStorePartitionBase<TKey, TInput, TValue>
|
|
: IDisposable
|
|
{
|
|
string GetCatalogPath();
|
|
/// <summary>
|
|
/// Has any files
|
|
/// </summary>
|
|
int CountDataFiles();
|
|
/// <summary>
|
|
/// Remove all files
|
|
/// </summary>
|
|
void DropData();
|
|
}
|
|
}
|