| Modifier and Type | Field and Description |
|---|---|
| protected Object | parameter
Some iterations require a more general parameter. |
| protected Object | result
Allow the iteration to build a result. |
| protected SQLSelectStatement | statement
Some iterations require a statement. |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public Object | |
| public SQLSelectStatement | |
| public boolean | |
| public abstract void | iterate(Expression expression)
INTERNAL: This method must be defined by subclasses to implement the logic of the iteratation. |
| public void | |
| public void | |
| public void | |
| public void | |
| public boolean | shouldIterateOverSubSelects()
Normally an Iterator will not go into the where clause of an SQLSubSelectExpression. |
| parameter | back to summary |
|---|---|
| protected Object parameter Some iterations require a more general parameter. | |
| result | back to summary |
|---|---|
| protected Object result Allow the iteration to build a result. | |
| statement | back to summary |
|---|---|
| protected SQLSelectStatement statement Some iterations require a statement. | |
| ExpressionIterator | back to summary |
|---|---|
| protected ExpressionIterator() Block constructor comment. | |
| getResult | back to summary |
|---|---|
| public Object getResult() | |
| getStatement | back to summary |
|---|---|
| public SQLSelectStatement getStatement() | |
| hasAlreadyVisited | back to summary |
|---|---|
| public boolean hasAlreadyVisited(Expression expression) Answers if this expression has already been visited. For a faster iteration override to insure expressions are only visited/processed once. | |
| iterate | back to summary |
|---|---|
| public abstract void iterate(Expression expression) INTERNAL: This method must be defined by subclasses to implement the logic of the iteratation. | |
| iterateOn | back to summary |
|---|---|
| public void iterateOn(Vector<E> expressions) INTERNAL: | |
| iterateOn | back to summary |
|---|---|
| public void iterateOn(Expression expression) INTERNAL: Return the call. | |
| setResult | back to summary |
|---|---|
| public void setResult(Object result) | |
| setStatement | back to summary |
|---|---|
| public void setStatement(SQLSelectStatement statement) | |
| shouldIterateOverSubSelects | back to summary |
|---|---|
| public boolean shouldIterateOverSubSelects() Normally an Iterator will not go into the where clause of an SQLSubSelectExpression. I.e. when aliasing the parent statement is aliased before the subselects may even be normalized. An iterator to alias the SubSelect must be run later. | |