Exemplo n.º 1
0
 public override void Visit(ScanViewOp op, Node n)
 {
     using (new AutoXml(this, op))
     {
         DumpTable(op.Table);
         VisitChildren(n);
     }
 }
Exemplo n.º 2
0
 public override void Visit(ScanViewOp op, Node n)
 {
     using (new Dump.AutoXml(this, (Op)op))
     {
         this.DumpTable(op.Table);
         this.VisitChildren(n);
     }
 }
        public override Node Visit(ScanViewOp op, Node n)
        {
            ScanViewOp scanViewOp = this.m_destCmd.CreateScanViewOp(op.Table.TableMetadata);

            this.MapTable(scanViewOp.Table, op.Table);
            List <Node> args = this.ProcessChildren(n);

            return(this.m_destCmd.CreateNode((Op)scanViewOp, args));
        }
Exemplo n.º 4
0
        // <summary>
        // Copies a ScanViewOp
        // </summary>
        // <param name="op"> The Op to Copy </param>
        // <param name="n"> The Node that references the Op </param>
        // <returns> A copy of the original Node that references a copy of the original Op </returns>
        public override Node Visit(ScanViewOp op, Node n)
        {
            // First create a new ScanViewOp based on the metadata of the existing Op
            var newScan = m_destCmd.CreateScanViewOp(op.Table.TableMetadata);

            // Map the corresponding tables/columns
            MapTable(newScan.Table, op.Table);

            // Create the new node
            Debug.Assert(n.HasChild0);
            var children = ProcessChildren(n);

            return(m_destCmd.CreateNode(newScan, children));
        }
 public virtual void Visit(ScanViewOp op, Node n)
 {
     this.VisitTableOp((ScanTableBaseOp)op, n);
 }
Exemplo n.º 6
0
 public override void Visit(ScanViewOp op, Node n)
 {
     VisitRelOpDefault(op, n);
     AssertRelOp(n.Child0.Op);
 }
Exemplo n.º 7
0
 /// <summary>
 ///     Visitor pattern method for ScanViewOp
 /// </summary>
 /// <param name="op"> The ScanViewOp being visited </param>
 /// <param name="n"> The Node that references the Op </param>
 public virtual void Visit(ScanViewOp op, Node n)
 {
     VisitTableOp(op, n);
 }
Exemplo n.º 8
0
 // <summary>
 // ScanViewOp
 // </summary>
 public virtual TResultType Visit(ScanViewOp op, Node n)
 {
     return(VisitTableOp(op, n));
 }
 public virtual TResultType Visit(ScanViewOp op, Node n)
 {
     return(this.VisitTableOp((ScanTableBaseOp)op, n));
 }