1 23 24 package org.objectweb.medor.query.rdb.api; 25 26 import org.objectweb.jorm.type.api.PType; 27 import org.objectweb.medor.api.QueryLeafException; 28 import org.objectweb.medor.api.MedorException; 29 import org.objectweb.medor.query.api.FilteredQueryTree; 30 import org.objectweb.jorm.mapper.rdb.adapter.api.RdbAdapter; 31 import java.util.List ; 32 33 59 public interface RdbExpQueryLeaf extends RdbQueryLeaf, FilteredQueryTree { 60 71 RdbExpField addRdbField(String fieldName, 72 PType type, 73 String colName, 74 QualifiedTable table) throws QueryLeafException; 75 76 81 RdbExpField addRdbField(RdbExpField rdbField) 82 throws QueryLeafException; 83 84 89 void removeRdbField(RdbExpField rdbField) 90 throws QueryLeafException; 91 92 99 void addGroupBy(RdbExpField groupBy) throws QueryLeafException; 100 101 106 RdbExpField[] getGroupByFields(); 107 108 112 QualifiedTable[] getQualifiedTables(); 113 114 118 void addQualifiedTable(QualifiedTable qt); 119 120 125 void removeQualifiedTable(QualifiedTable qt) 126 throws MedorException; 127 128 134 boolean containsQualifiedTable(QualifiedTable qt); 135 136 140 void setRdbAdapterName(String name); 141 142 146 String getRdbAdapterName(); 147 148 152 void setRdbAdapter(RdbAdapter adapter); 153 154 158 RdbAdapter getRdbAdapter(); 159 160 void setRootJoinedTables(List rootjts); 161 162 165 void resetSqlRequest(); 166 167 172 void setNoGroupBy(boolean noGroupBy); 173 174 178 String getGroupBy(); 179 } 180 | Popular Tags |