22 namespace Deveel.Data.Sql.Tables {
33 this.tableSource = tableSource;
42 if (!deletedRows.UniqueInsertSort(rowIndex))
43 throw new InvalidOperationException(
"Row marked twice for deletion.");
55 if (tableSource.IsClosed)
62 (!tableSource.IsRootLocked &&
63 !tableSource.HasChangesPending)) {
70 int rawRowCount = tableSource.RawRowCount;
71 for (
int i = 0; i < rawRowCount; ++i) {
73 if (tableSource.HardCheckAndReclaimRow(i))
82 int size = deletedRows.Count;
85 foreach (
int rowIndex
in deletedRows) {
87 tableSource.HardRemoveRow(rowIndex);
103 }
catch (IOException) {
void DeleteRow(int rowIndex)
TableSourceGC(TableSource tableSource)
BlockIndex< int > deletedRows
readonly TableSource tableSource