1 23 24 package org.objectweb.medor.query.api; 25 26 import org.objectweb.jorm.type.api.PType; 27 import org.objectweb.medor.api.MedorException; 28 import org.objectweb.medor.expression.api.Expression; 29 import org.objectweb.medor.tuple.api.TupleLoader; 30 31 34 public interface QueryNode extends FilteredQueryTree { 35 36 47 PropagatedField addPropagatedField(String name, PType type, 48 QueryTreeField[] anc) 49 throws MedorException; 50 51 60 CalculatedField addCalculatedField(String name, PType type, 61 Expression exp) 62 throws MedorException; 63 64 71 QueryTreeField removeField(String name) 72 throws MedorException; 73 74 77 QueryTree[] getChildren(); 78 79 84 boolean isOuter(QueryTree child); 85 86 void setOuter(QueryTree child, boolean outer); 87 88 91 short getType(); 92 93 99 101 105 TupleLoader getTupleLoader(); 106 107 110 void setTupleLoader(TupleLoader loader); 111 112 void updatePropagatedField(String name, QueryTreeField[] previous) 113 throws MedorException; 114 115 void updateCalculatedField(String name, Expression e) throws MedorException; 116 117 QueryTreeField replace(QueryTreeField old, QueryTreeField neo); 118 } 119 | Popular Tags |