Some method ordering.

This commit is contained in:
Michael Bayne
2008-09-05 22:37:23 +00:00
parent fb64881c82
commit cd8184f34f
2 changed files with 9 additions and 9 deletions
@@ -90,6 +90,12 @@ public abstract class BuildVisitor implements ExpressionVisitor
} }
} }
public void visit (WhereClause where)
{
_builder.append(" where ");
where.getWhereExpression().accept(this);
}
public void visit (Key<? extends PersistentRecord> key) public void visit (Key<? extends PersistentRecord> key)
{ {
_builder.append(" where "); _builder.append(" where ");
@@ -110,12 +116,6 @@ public abstract class BuildVisitor implements ExpressionVisitor
} }
} }
public void visit (WhereClause where)
{
_builder.append(" where ");
where.getWhereExpression().accept(this);
}
public void visit (MultiKey<? extends PersistentRecord> key) public void visit (MultiKey<? extends PersistentRecord> key)
{ {
_builder.append(" where "); _builder.append(" where ");
@@ -52,8 +52,6 @@ import com.samskivert.jdbc.depot.operator.SQLOperator.MultiOperator;
public interface ExpressionVisitor public interface ExpressionVisitor
{ {
public void visit (FieldDefinition fieldOverride); public void visit (FieldDefinition fieldOverride);
public void visit (Key<? extends PersistentRecord> key);
public void visit (MultiKey<? extends PersistentRecord> key);
public void visit (FunctionExp functionExp); public void visit (FunctionExp functionExp);
public void visit (EpochSeconds epochSeconds); public void visit (EpochSeconds epochSeconds);
public void visit (FromOverride fromOverride); public void visit (FromOverride fromOverride);
@@ -67,11 +65,13 @@ public interface ExpressionVisitor
public void visit (GroupBy groupBy); public void visit (GroupBy groupBy);
public void visit (ForUpdate forUpdate); public void visit (ForUpdate forUpdate);
public void visit (OrderBy orderBy); public void visit (OrderBy orderBy);
public void visit (WhereClause where);
public void visit (Join join); public void visit (Join join);
public void visit (Limit limit); public void visit (Limit limit);
public void visit (LiteralExp literalExp); public void visit (LiteralExp literalExp);
public void visit (ValueExp valueExp); public void visit (ValueExp valueExp);
public void visit (WhereClause where);
public void visit (Key<? extends PersistentRecord> key);
public void visit (MultiKey<? extends PersistentRecord> key);
public void visit (Exists<? extends PersistentRecord> exists); public void visit (Exists<? extends PersistentRecord> exists);
public void visit (SelectClause<? extends PersistentRecord> selectClause); public void visit (SelectClause<? extends PersistentRecord> selectClause);
public void visit (UpdateClause<? extends PersistentRecord> updateClause); public void visit (UpdateClause<? extends PersistentRecord> updateClause);