using System;
namespace BismNormalizer.TabularCompare
{
///
/// Counter for number of rows processed for a partition.
///
public class PartitionRowCounter
{
private string _id;
private long _rowCount;
///
/// Id of the partition being processed.
///
public string Id => _id;
///
/// Count of rows counted for the partition.
///
public long RowCount
{
get { return _rowCount; }
set { _rowCount = value; }
}
///
/// Initializes a new instance of the PartitionRowCounter class using an id.
///
public PartitionRowCounter(string id)
{
_id = id;
_rowCount = 0;
}
}
}