internal static WScalarSubquery GetScalarSubquery(WSelectQueryExpression selectQueryBlock) { return(new WScalarSubquery() { SubQueryExpr = selectQueryBlock }); }
internal static WBinaryQueryExpression GetBinaryQueryExpr(WSelectQueryExpression firstQueryExpr, WSelectQueryExpression secondQueryExpr) { return(new WBinaryQueryExpression() { FirstQueryExpr = firstQueryExpr, SecondQueryExpr = secondQueryExpr, All = true, BinaryQueryExprType = BinaryQueryExpressionType.Union, }); }
public void Invoke(string schema, WSelectQueryExpression selectQuery, out List <string> tableObjList, out List <Tuple <string, List <Tuple <string, string> > > > propertymapping) { _defaultMerge = false; _noAttributes = false; _schema = schema; _tableObjList = new List <string>(); _propertymapping = new List <Tuple <string, List <Tuple <string, string> > > >(); selectQuery.Accept(this); tableObjList = _tableObjList; propertymapping = _defaultMerge ? null : _propertymapping; }
public void Invoke(string schema, WSelectQueryExpression selectStatement, out List<Tuple<string, string>> edges, out List<string> edgeAttribute, out List<Tuple<string, List<Tuple<string, string, string>>>> attributeMapping) { _defaultMerge = false; _noAttributes = false; _schema = schema; _edges = new List<Tuple<string, string>>(); _edgeAttribute = new List<string>(); _attributeMapping = new List<Tuple<string, List<Tuple<string, string, string>>>>(); selectStatement.Accept(this); edges = _edges; if (_defaultMerge) { edgeAttribute = null; attributeMapping = null; } else { edgeAttribute = _edgeAttribute; attributeMapping = _attributeMapping; } }
public void Invoke(string schema, WSelectQueryExpression selectStatement, out List <Tuple <string, string> > edges, out List <string> edgeAttribute, out List <Tuple <string, List <Tuple <string, string, string> > > > attributeMapping) { _defaultMerge = false; _noAttributes = false; _schema = schema; _edges = new List <Tuple <string, string> >(); _edgeAttribute = new List <string>(); _attributeMapping = new List <Tuple <string, List <Tuple <string, string, string> > > >(); selectStatement.Accept(this); edges = _edges; if (_defaultMerge) { edgeAttribute = null; attributeMapping = null; } else { edgeAttribute = _edgeAttribute; attributeMapping = _attributeMapping; } }
public virtual void Visit(WSelectQueryExpression node) { node.AcceptChildren(this); }
public void Invoke(string schema, WSelectQueryExpression selectQuery, out List<string> tableObjList, out List<Tuple<string, List<Tuple<string, string>>>> propertymapping) { _defaultMerge = false; _noAttributes = false; _schema = schema; _tableObjList = new List<string>(); _propertymapping = new List<Tuple<string, List<Tuple<string, string>>>>(); selectQuery.Accept(this); tableObjList = _tableObjList; propertymapping = _defaultMerge ? null : _propertymapping; }