Package org.apache.torque.util

Examples of org.apache.torque.util.UniqueColumnList


                final CriteriaInterface<?> criteria,
                final Query query)
            throws TorqueException
    {
        UniqueList<String> selectClause = query.getSelectClause();
        UniqueColumnList selectColumns = criteria.getSelectColumns();

        for (Column column : selectColumns)
        {
            String sqlExpression = column.getSqlExpression();
            Column resolvedAlias = criteria.getAsColumns().get(sqlExpression);
View Full Code Here


            final Query query)
            throws TorqueException
    {
        UniqueList<String> groupByClause = query.getGroupByClause();
        UniqueList<String> selectClause = query.getSelectClause();
        UniqueColumnList groupBy = criteria.getGroupByColumns();

        for (Column groupByColumn : groupBy)
        {
            Column column = criteria.getAsColumns().get(
                    groupByColumn.getSqlExpression());
View Full Code Here

     * Constructor.
     */
    public Criteria()
    {
        selectModifiers = new UniqueList<String>();
        selectColumns = new UniqueColumnList();
        orderByColumns = new UniqueList<OrderBy>();
        groupByColumns = new UniqueColumnList();
        fromElements = new UniqueList<FromElement>();
        asColumns = new LinkedHashMap<String, Column>();
        joins = new ArrayList<Join>();
        aliases = new HashMap<String, Object>();
    }
View Full Code Here

    public Criteria(Criteria toCopy)
    {
        ignoreCase = toCopy.ignoreCase;
        singleRecord = toCopy.singleRecord;
        selectModifiers = new UniqueList<String>(toCopy.selectModifiers);
        selectColumns = new UniqueColumnList(toCopy.selectColumns);
        orderByColumns = new UniqueList<OrderBy>(toCopy.orderByColumns);
        groupByColumns = new UniqueColumnList(toCopy.groupByColumns);
        fromElements = new UniqueList<FromElement>(toCopy.fromElements);
        if (toCopy.having != null)
        {
            having = new Criterion(toCopy.having);
        }
View Full Code Here

TOP

Related Classes of org.apache.torque.util.UniqueColumnList

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.