public class ExistsCriteria extends PredicateCriteria implements SubqueryContainer.Evaluatable<QueryCommand>, ContextReference, PredicateCriteria.Negatable
| Modifier and Type | Class and Description |
|---|---|
static class |
ExistsCriteria.SubqueryHint |
PredicateCriteria.NegatableSubqueryContainer.Evaluatable<T extends Command>LanguageObject.Util| Constructor and Description |
|---|
ExistsCriteria()
Default constructor
|
ExistsCriteria(QueryCommand subqueryCommand) |
| Modifier and Type | Method and Description |
|---|---|
void |
acceptVisitor(LanguageVisitor visitor)
Method for accepting a visitor.
|
Object |
clone()
Deep copy of object.
|
boolean |
equals(Object obj)
Override equals() method.
|
QueryCommand |
getCommand()
Returns the subquery Command object
|
String |
getContextSymbol() |
ExistsCriteria.SubqueryHint |
getSubqueryHint() |
int |
hashCode()
Get hash code.
|
boolean |
isNegated() |
void |
negate() |
void |
setCommand(QueryCommand subqueryCommand)
Sets the subquery Command object
|
void |
setNegated(boolean negated) |
void |
setShouldEvaluate(boolean shouldEvaluate) |
void |
setSubqueryHint(ExistsCriteria.SubqueryHint subqueryHint) |
boolean |
shouldEvaluate() |
applyDemorgan, combineCriteria, combineCriteria, combineCriteria, getType, separateCriteriaByAnd, toStringpublic ExistsCriteria()
public ExistsCriteria(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 QueryCommand getCommand()
SubqueryContainergetCommand in interface SubqueryContainer<QueryCommand>public void setCommand(QueryCommand subqueryCommand)
SubqueryContainersetCommand in interface SubqueryContainer<QueryCommand>subqueryCommand - the subquery Command objectpublic void acceptVisitor(LanguageVisitor visitor)
LanguageObjectacceptVisitor in interface LanguageObjectvisitor - Visitor being usedpublic int hashCode()
public boolean equals(Object obj)
public ExistsCriteria.SubqueryHint getSubqueryHint()
public void setSubqueryHint(ExistsCriteria.SubqueryHint subqueryHint)
public Object clone()
clone in interface LanguageObjectclone in class PredicateCriteriaObject.clone()public boolean isNegated()
public void setNegated(boolean negated)
public void negate()
negate in interface PredicateCriteria.NegatableCopyright © 2020. All rights reserved.