Definition at line 27 of file TableEventRegistry.cs.
Deveel.Data.TableEventRegistry.TableEventRegistry |
( |
TableSource |
tableSource | ) |
|
|
inlinepackage |
Definition at line 30 of file TableEventRegistry.cs.
31 if (tableSource == null)
32 throw new ArgumentNullException(
"tableSource");
37 events =
new List<ITableEvent>();
readonly List< ITableEvent > events
IEnumerator<ITableEvent> Deveel.Data.TableEventRegistry.GetEnumerator |
( |
| ) |
|
|
inline |
IEnumerator IEnumerable. Deveel.Data.TableEventRegistry.GetEnumerator |
( |
| ) |
|
|
inlineprivate |
ITableEvent Deveel.Data.TableEventRegistry.GetEvent |
( |
int |
index | ) |
|
|
inline |
Definition at line 155 of file TableEventRegistry.cs.
157 if (index < 0 || index >=
events.Count)
158 throw new ArgumentOutOfRangeException(
"index");
readonly List< ITableEvent > events
void Deveel.Data.TableEventRegistry.Register |
( |
ITableEvent |
tableEvent | ) |
|
|
inlinepackage |
void Deveel.Data.TableEventRegistry.Rollback |
( |
int |
count | ) |
|
|
inlinepackage |
Definition at line 95 of file TableEventRegistry.cs.
98 throw new Exception(
"Trying to rollback more events than are in the registry.");
100 List<int> toAdd =
new List<int>();
106 toAdd.Add(tableEvent.RowNumber);
109 events.RemoveRange(0, count);
112 for (
int i = 0; i < toAdd.Count; ++i) {
TableRowEventType
The kind of events that can happen on a table row during the life-time of a transaction.
readonly List< ITableEvent > events
Definition at line 126 of file TableEventRegistry.cs.
131 var rowNum = rowEvent.RowNumber;
132 foreach (var otherRowEvent
in journal.events.OfType<
TableRowEvent>()) {
133 if (otherRowEvent.RowNumber == rowNum &&
136 String.Format(
"Concurrent Serializable Transaction Conflict(1): " +
137 "Current row remove clash ( row: {0}, table: {1})", rowNum, tableInfo.
TableName));
A long string in the system.
ObjectName TableName
Gets the fully qualified name of the table that is ensured to be unique within the system...
TableRowEventType
The kind of events that can happen on a table row during the life-time of a transaction.
readonly List< ITableEvent > events
readonly List<ITableEvent> Deveel.Data.TableEventRegistry.events |
|
private |
IEnumerable<int> Deveel.Data.TableEventRegistry.AddedRows |
|
get |
long Deveel.Data.TableEventRegistry.CommitId |
|
getset |
int Deveel.Data.TableEventRegistry.EventCount |
|
get |
IEnumerable<int> Deveel.Data.TableEventRegistry.RemovedRows |
|
get |
int Deveel.Data.TableEventRegistry.TableId |
|
get |
The documentation for this class was generated from the following file:
- /var/calculate/remote/distfiles/egit-src/deveeldb.git/src/deveeldb/Deveel.Data.Sql.Tables/TableEventRegistry.cs