| |
|
| java.lang.Object org.josql.Query org.josql.contrib.JoSQLFreeChartPieDataset
JoSQLFreeChartPieDataset | public class JoSQLFreeChartPieDataset extends Query implements PieDataset(Code) | | |
JoSQLFreeChartPieDataset | public JoSQLFreeChartPieDataset()(Code) | | |
addChangeListener | public void addChangeListener(DatasetChangeListener l)(Code) | | |
executeQuery | public QueryResults executeQuery(List l) throws QueryExecutionException(Code) | | Exectute the query and return the results. A reference to the results is also held to
allow them to be iterated over. If you plan on re-using this data source then
you should call:
JoSQLFreeChartPieDataset.clearResults() to free up the references to the results.
Parameters: l - The List of objects to execute the query on. The results. throws: QueryExecutionException - If the query cannot be executed, or if the queryis set to return objects rather than "columns". |
getGroup | public DatasetGroup getGroup()(Code) | | |
getItemCount | public int getItemCount()(Code) | | |
removeChangeListener | public void removeChangeListener(DatasetChangeListener l)(Code) | | |
setGroup | public void setGroup(DatasetGroup g)(Code) | | |
Methods inherited from org.josql.Query | public void addBindVariableChangedListener(BindVariableChangedListener bvl)(Code)(Java Doc) public void addFunctionHandler(Object o)(Code)(Java Doc) public void addSaveValueChangedListener(SaveValueChangedListener svl)(Code)(Java Doc) protected void addTiming(String id, double time)(Code)(Java Doc) public void doExecuteOn(List l, String t) throws QueryExecutionException(Code)(Java Doc) public QueryResults execute(List objs) throws QueryExecutionException(Code)(Java Doc) protected void fireBindVariableChangedEvent(String name, Object from, Object to)(Code)(Java Doc) protected void fireSaveValueChangedEvent(Object id, Object from, Object to)(Code)(Java Doc) public Map getAliases()(Code)(Java Doc) public List getAllObjects()(Code)(Java Doc) public String getAnonymousBindVariableName()(Code)(Java Doc) public ClassLoader getClassLoader()(Code)(Java Doc) public List getColumns()(Code)(Java Doc) public Object getCurrentObject()(Code)(Java Doc) public List getDefaultFunctionHandlers()(Code)(Java Doc) public Map getExecuteOnFunctions()(Code)(Java Doc) public Expression getFrom()(Code)(Java Doc) public Class getFromObjectClass()(Code)(Java Doc) public FunctionHandler getFunctionHandler(String id)(Code)(Java Doc) public List getFunctionHandlers()(Code)(Java Doc) public List getGroupByColumns()(Code)(Java Doc) public Object getGroupBySaveValue(Object id, List gbs)(Code)(Java Doc) public Map getGroupBySaveValues(List gbs)(Code)(Java Doc) public Object getGroupByVariable(int ind)(Code)(Java Doc) public Expression getHavingClause()(Code)(Java Doc) public Limit getLimit()(Code)(Java Doc) public List getOrderByColumns()(Code)(Java Doc) public Comparator getOrderByComparator()(Code)(Java Doc) public Query getParent()(Code)(Java Doc) public String getQuery()(Code)(Java Doc) public QueryResults getQueryResults()(Code)(Java Doc) public Object getSaveValue(Object id)(Code)(Java Doc) public Query getTopLevelQuery()(Code)(Java Doc) public Object getVariable(int index)(Code)(Java Doc) public Object getVariable(String name)(Code)(Java Doc) public Class getVariableClass(String name)(Code)(Java Doc) public Map getVariables()(Code)(Java Doc) public Expression getWhereClause()(Code)(Java Doc) public char getWildcardCharacter()(Code)(Java Doc) public void init() throws QueryParseException(Code)(Java Doc) public void initOrderByComparator() throws QueryParseException(Code)(Java Doc) public boolean isWantObjects()(Code)(Java Doc) public boolean isWhereTrue(Object o) throws QueryExecutionException(Code)(Java Doc) public Class loadClass(String name) throws Exception(Code)(Java Doc) public void parse(String q) throws QueryParseException(Code)(Java Doc) public boolean parsed()(Code)(Java Doc) public void removeBindVariableChangedListener(BindVariableChangedListener bvl)(Code)(Java Doc) public void removeSaveValueChangedListener(SaveValueChangedListener svl)(Code)(Java Doc) public QueryResults reorder(List objs, SortedMap dirs) throws QueryExecutionException, QueryParseException(Code)(Java Doc) public QueryResults reorder(List objs, String orderBys) throws QueryParseException, QueryExecutionException(Code)(Java Doc) public void setAllObjects(List objs)(Code)(Java Doc) public void setClassLoader(ClassLoader cl)(Code)(Java Doc) public void setClassName(String n)(Code)(Java Doc) public void setColumns(List cols)(Code)(Java Doc) public void setCurrentGroupByObjects(List objs)(Code)(Java Doc) public void setCurrentObject(Object o)(Code)(Java Doc) public void setExecuteOnFunctions(Map ex)(Code)(Java Doc) public void setFrom(Expression exp)(Code)(Java Doc) public void setFromObjectClass(Class c)(Code)(Java Doc) public void setGroupByColumns(List cols)(Code)(Java Doc) public void setGroupByLimit(Limit g)(Code)(Java Doc) public void setGroupByOrderColumns(List cols)(Code)(Java Doc) public void setHaving(Expression be)(Code)(Java Doc) public void setLimit(Limit l)(Code)(Java Doc) public void setOrderByColumns(List cols)(Code)(Java Doc) public void setParent(Query q)(Code)(Java Doc) public void setSaveValue(Object id, Object value)(Code)(Java Doc) public void setSaveValues(Map s)(Code)(Java Doc) public void setVariable(String name, Object v)(Code)(Java Doc) public void setVariable(int index, Object v)(Code)(Java Doc) public void setVariables(Map bVars)(Code)(Java Doc) public void setWantDistinctResults(boolean v)(Code)(Java Doc) public void setWantObjects(boolean v)(Code)(Java Doc) public void setWantTimings(boolean v)(Code)(Java Doc) public void setWhere(Expression be)(Code)(Java Doc) public void setWildcardCharacter(char c)(Code)(Java Doc) public String toString()(Code)(Java Doc)
|
|
|
|