Ejemplo n.º 1
0
        public void UpdateProgress(IExecutable executable, Table table)
        {
            if (executable.IsData())
            {
                if (table.Cardinality > 0)
                {
                    this.tuples_checked += (ulong)table.Cardinality;
                }
            }
            else
            {
                this.tuples_checked += 1;
            }

            this.Progress = (int)(((float)this.tuples_checked / this.total_tuples) * 100);
        }
Ejemplo n.º 2
0
 public static bool IsDataProvider(this IExecutable e)
 {
     return(e.IsProvider() && e.IsData());
 }
Ejemplo n.º 3
0
 public static bool IsDataRule(this IExecutable e)
 {
     return(e.IsRule() && e.IsData());
 }