IN (SELECT ...)".
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
SubquerySetCriteria
public SubquerySetCriteria()
- Constructor for SubquerySetCriteria.
SubquerySetCriteria
public SubquerySetCriteria(Expression expression,
QueryCommand subCommand)
getSubqueryHint
public ExistsCriteria.SubqueryHint getSubqueryHint()
setSubqueryHint
public void setSubqueryHint(ExistsCriteria.SubqueryHint subqueryHint)
getContextSymbol
public java.lang.String getContextSymbol()
- Specified by:
getContextSymbol in interface ContextReference
getValueExpression
public Expression getValueExpression()
- Specified by:
getValueExpression in interface ContextReference
setCommand
public void setCommand(QueryCommand command)
- Set the subquery command (either a SELECT or a procedure execution).
- Specified by:
setCommand in interface SubqueryContainer<QueryCommand>
- Parameters:
command - Command to execute to get the values for the criteria
getCommand
public QueryCommand getCommand()
- Get the subquery command used to produce the values for this SetCriteria.
- Specified by:
getCommand in interface SubqueryContainer<QueryCommand>
- Returns:
- Command Command to execute
acceptVisitor
public void acceptVisitor(LanguageVisitor visitor)
- Description copied from interface:
LanguageObject
- Method for accepting a visitor. It is the responsibility of the
language object to call back on the visitor.
- Specified by:
acceptVisitor in interface LanguageObject
- Parameters:
visitor - Visitor being used
hashCode
public int hashCode()
- Get hash code. WARNING: The hash code is based on data in the criteria.
If data values are changed, the hash code will change - don't hash this
object and change values.
- Overrides:
hashCode in class java.lang.Object
- Returns:
- Hash code
equals
public boolean equals(java.lang.Object obj)
- Override equals() method.
- Overrides:
equals in class java.lang.Object
- Parameters:
obj - Other object
- Returns:
- True if equal
clone
public SubquerySetCriteria clone()
- Deep copy of object. The values Iterator of this object
will not be cloned - it will be null in the new object
(see #setValueIterator setValueIterator}).
- Specified by:
clone in interface LanguageObject- Specified by:
clone in class AbstractSetCriteria
- Returns:
- Deep copy of object
Copyright © 2011. All Rights Reserved.