Class UncoupleVisitor
- java.lang.Object
-
- org.castor.cpa.persistence.sql.query.visitor.UncoupleVisitor
-
- All Implemented Interfaces:
Visitor
public final class UncoupleVisitor extends java.lang.Object implements Visitor
Visitor constructing result column map for queries to uncouple the order of select-columns from the order of resultset-columns.- Version:
- $Revision: 8469 $ $Date: 2006-04-25 15:08:23 -0600 (Tue, 25 Apr 2006) $
- Author:
- Dennis Butterstein
-
-
Constructor Summary
Constructors Constructor Description UncoupleVisitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Integer>getResultColumnMap()Method returning constructed result columns map.voidvisit(Assignment assignment)Visit method to handleAssignmentelements.voidvisit(AndCondition andCondition)Visit method to handleAndConditionelements.voidvisit(Compare compare)Visit method to handleCompareelements.voidvisit(IsNullPredicate isNullPredicate)Visit method to handleIsNullPredicateelements.voidvisit(OrCondition orCondition)Visit method to handleOrConditionelements.voidvisit(Delete delete)Visit method to handleDeleteelements.voidvisit(Column column)Visit method to handleColumnelements.voidvisit(NextVal nextVal)Visit method to handleNextValelements.voidvisit(Parameter parameter)Visit method to handleParameterelements.voidvisit(Insert insert)Visit method to handleInsertelements.voidvisit(Join join)Visit method to handleJoinelements.voidvisit(Select select)Visit method to handle select elements.voidvisit(Table table)Visit method to handleTableelements.voidvisit(TableAlias tableAlias)Visit method to handleTableAliaselements.voidvisit(Update update)Visit method to handle update elements.
-
-
-
Method Detail
-
visit
public void visit(Assignment assignment)
Visit method to handleAssignmentelements.
-
visit
public void visit(Delete delete)
Visit method to handleDeleteelements.
-
visit
public void visit(Insert insert)
Visit method to handleInsertelements.
-
visit
public void visit(Join join)
Visit method to handleJoinelements.
-
visit
public void visit(Select select)
Visit method to handle select elements.
-
visit
public void visit(Table table)
Visit method to handleTableelements.
-
visit
public void visit(TableAlias tableAlias)
Visit method to handleTableAliaselements.
-
visit
public void visit(Update update)
Visit method to handle update elements.
-
visit
public void visit(AndCondition andCondition)
Visit method to handleAndConditionelements.
-
visit
public void visit(Compare compare)
Visit method to handleCompareelements.
-
visit
public void visit(IsNullPredicate isNullPredicate)
Visit method to handleIsNullPredicateelements.
-
visit
public void visit(OrCondition orCondition)
Visit method to handleOrConditionelements.
-
visit
public void visit(Column column)
Visit method to handleColumnelements.
-
visit
public void visit(NextVal nextVal)
Visit method to handleNextValelements.
-
visit
public void visit(Parameter parameter)
Visit method to handleParameterelements.
-
getResultColumnMap
public java.util.Map<java.lang.String,java.lang.Integer> getResultColumnMap()
Method returning constructed result columns map.- Returns:
- Constructed result columns map.
-
-