public SparqlOrderCondition(SparqlFunctionCall sparqlFunctionCall, RdfQuery11Translator q) { this.q = q; // TODO: Complete member initialization getNode = sparqlFunctionCall.Operator; AggregateLevel = sparqlFunctionCall.AggregateLevel; }
public void ReadXml(XmlReader reader) { var field = SparqlQuery.SparqlClasses.Query.SparqlQuery.CreateByTypeAttribute(reader); sparqlExpression = field as SparqlExpression; sparqlFunctionCall = field as SparqlFunctionCall; variableNode = field as VariableNode; }
public void ReadXml(XmlReader reader) { Enum.TryParse(reader.GetAttribute("Group"), out this.AggregateLevel); var readed = Query.SparqlQuery.CreateByTypeAttribute(reader); if (readed == null) { throw new Exception("readed null"); } if ((this.sparqlFunctionCall = readed as SparqlFunctionCall) == null) { if ((this.sparqlExpression = readed as SparqlExpression) == null) { if ((this.variableNode = readed as VariableNode) == null) { throw new Exception("readed null"); } } } else { var readed2 = Query.SparqlQuery.CreateByTypeAttribute(reader); if (readed2 == null) { return; } if ((this.sparqlExpression = readed2 as SparqlExpression) == null) { if ((this.variableNode = readed2 as VariableNode) == null) { throw new Exception("readed some else"); } } else { var readed3 = Query.SparqlQuery.CreateByTypeAttribute(reader); if (readed3 == null) { return; } if ((this.variableNode = readed3 as VariableNode) == null) { throw new Exception("readed some else"); } } } }
public SparqlGroupConstraint(SparqlFunctionCall sparqlFunctionCall) { // TODO: Complete member initialization this.Constrained = sparqlFunctionCall.TypedOperator; this.sparqlFunctionCall = sparqlFunctionCall; }