public class Exists extends SQLConstraint
| Modifier | Constructor and Description |
|---|---|
protected |
Exists(Mapping outerColumn,
Class<? extends SQLEntity> other,
Mapping innerColumn) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendSQL(SmartQuery.Compiler compiler)
Generates the appropriate SQL into the given compiler
|
void |
asString(StringBuilder builder)
Creates a string representation of this constraint.
|
Exists |
where(SQLConstraint constraint)
Adds an additional constraint to further filter the entities which must or must not exist.
|
toStringpublic Exists where(SQLConstraint constraint)
constraint - the constaint on the inner entity typepublic void appendSQL(SmartQuery.Compiler compiler)
SQLConstraintappendSQL in class SQLConstraintcompiler - the current query compiler to apply the constraint topublic void asString(StringBuilder builder)
ConstraintasString in class Constraintbuilder - the target to write the string representation toCopyright © 2018. All rights reserved.