Beispiel #1
0
            public override void VisitUnionOperator(UnionOperator node)
            {
                base.VisitUnionOperator(node);

                // union operator expressions are all tables.. they don't refer to row scope columns
                _binder._rowScope = null;
            }
            public override void VisitUnionOperator(UnionOperator node)
            {
                var oldRowScope = _binder._rowScope;

                try
                {
                    // union operator expressions do not bind to row scope columns (they are only tables)
                    base.VisitUnionOperator(node);
                }
                finally
                {
                    _binder._rowScope = oldRowScope;
                }
            }
Beispiel #3
0
        public override Geometry Union(Geometry other)
        {
            switch (other)
            {
            case Point point:
                return(UnionOperator.Union(this, point));

            case MultiPoint multiPoint:
                return(UnionOperator.Union(this, multiPoint));

            default:
                throw new Exception("Not supported type!");
            }
        }
Beispiel #4
0
 public override T VisitUnionOperator(UnionOperator node)
 {
     throw new NotImplementedException();
 }