Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 1 | 0.993 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 381 | src/NHibernate/Hql/Ast/ANTLR/QueryTranslatorImpl.cs |
2 | 13 | 394 | src/NHibernate/Hql/Ast/ANTLR/QueryTranslatorImpl.cs |
| ||||
{ FromElement fromElement = walker.GetFinalFromClause().GetFromElement(); IQueryable persister = fromElement.Queryable; if (persister.IsMultiTable) { return new MultiTableDeleteExecutor(statement); } else { return new BasicExecutor(statement, persister); } } |
| ||||
{ FromElement fromElement = walker.GetFinalFromClause().GetFromElement(); IQueryable persister = fromElement.Queryable; if (persister.IsMultiTable) { // even here, if only properties mapped to the "base table" are referenced // in the set and where clauses, this could be handled by the BasicDelegate. // TODO : decide if it is better performance-wise to perform that check, or to simply use the MultiTableUpdateDelegate return new MultiTableUpdateExecutor(statement); } else { return new BasicExecutor(statement, persister); } } |
| |||
{ FromElement fromElement = walker.GetFinalFromClause().GetFromElement(); IQueryable persister = fromElement.Queryable; if (persister.IsMultiTable) { // even here, if only properties mapped to the "base table" are referenced // in the set and where clauses, this could be handled by the BasicDelegate. // TODO : decide if it is better performance-wise to perform that check, or to simply use the MultiTableUpdateDelegate return new [[#variable2901a5c0]](statement); } else { return new BasicExecutor(statement, persister); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2901a5c0]] | MultiTableDeleteExecutor |
1 | 2 | [[#2901a5c0]] | MultiTableUpdateExecutor |