@NotThreadSafe public class ConditionExpressionBuilder extends java.lang.Object implements MutationConditionVisitor
Constructor and Description |
---|
ConditionExpressionBuilder(java.lang.String alias) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
build() |
void |
visit(DeleteIf condition)
Adds
DeleteIf -specific conditions to the query |
void |
visit(DeleteIfExists condition)
Adds
DeleteIfExists -specific conditions to the query |
void |
visit(PutIf condition)
Adds
PutIf -specific conditions to the query |
void |
visit(PutIfExists condition)
Adds
PutIfExists -specific conditions to the query |
void |
visit(PutIfNotExists condition)
Adds
PutIfNotExists -specific conditions to the query |
public ConditionExpressionBuilder(java.lang.String alias)
@Nonnull public java.lang.String build()
public void visit(PutIf condition)
PutIf
-specific conditions to the queryvisit
in interface MutationConditionVisitor
condition
- PutIf
conditionpublic void visit(PutIfExists condition)
PutIfExists
-specific conditions to the queryvisit
in interface MutationConditionVisitor
condition
- PutIfExists
conditionpublic void visit(PutIfNotExists condition)
PutIfNotExists
-specific conditions to the queryvisit
in interface MutationConditionVisitor
condition
- PutIfNotExists
conditionpublic void visit(DeleteIf condition)
DeleteIf
-specific conditions to the queryvisit
in interface MutationConditionVisitor
condition
- DeleteIf
conditionpublic void visit(DeleteIfExists condition)
DeleteIfExists
-specific conditions to the queryvisit
in interface MutationConditionVisitor
condition
- DeleteIfExists
condition