public class ScalarSubquery extends Object implements Expression, SubqueryContainer.Evaluatable<QueryCommand>, ContextReference
SubqueryContainer.Evaluatable<T extends Command>LanguageObject.Util| Constructor and Description |
|---|
ScalarSubquery(QueryCommand subqueryCommand) |
| Modifier and Type | Method and Description |
|---|---|
void |
acceptVisitor(LanguageVisitor visitor)
Method for accepting a visitor.
|
Object |
clone()
Returns a safe clone
|
boolean |
equals(Object obj)
Compare this ScalarSubquery to another ScalarSubquery for equality.
|
QueryCommand |
getCommand()
Returns the subquery Command object
|
String |
getContextSymbol() |
ExistsCriteria.SubqueryHint |
getSubqueryHint() |
Class<?> |
getType()
Get the return type of this expression.
|
int |
hashCode()
Get hashcode for the object
|
void |
setCommand(QueryCommand command)
Sets the command.
|
void |
setShouldEvaluate(boolean shouldEvaluate) |
void |
setSubqueryHint(ExistsCriteria.SubqueryHint subqueryHint) |
void |
setType(Class<?> type)
Set type of ScalarSubquery
|
boolean |
shouldEvaluate() |
String |
toString()
Returns string representation of this object.
|
public ScalarSubquery(QueryCommand subqueryCommand)
public boolean shouldEvaluate()
shouldEvaluate in interface SubqueryContainer.Evaluatable<QueryCommand>public void setShouldEvaluate(boolean shouldEvaluate)
setShouldEvaluate in interface SubqueryContainer.Evaluatable<QueryCommand>public String getContextSymbol()
getContextSymbol in interface ContextReferencepublic Class<?> getType()
ExpressiongetType in interface ExpressionExpression.getType()public void setType(Class<?> type)
type - New typepublic QueryCommand getCommand()
SubqueryContainergetCommand in interface SubqueryContainer<QueryCommand>public void setCommand(QueryCommand command)
setCommand in interface SubqueryContainer<QueryCommand>command - the subquery Command objectpublic void acceptVisitor(LanguageVisitor visitor)
LanguageObjectacceptVisitor in interface LanguageObjectvisitor - Visitor being usedpublic boolean equals(Object obj)
public int hashCode()
public Object clone()
clone in interface LanguageObjectclone in class ObjectObject.clone()public String toString()
public ExistsCriteria.SubqueryHint getSubqueryHint()
public void setSubqueryHint(ExistsCriteria.SubqueryHint subqueryHint)
Copyright © 2019. All rights reserved.