Class Conditional.ConditionalBuilder

java.lang.Object
com.github.tadukoo.database.mysql.syntax.conditional.Conditional.ConditionalBuilder
All Implemented Interfaces:
Conditional.Build, Conditional.FirstCondition, Conditional.Operator, Conditional.OperatorOrBuild, Conditional.SecondCondition
Enclosing class:
Conditional

public static class Conditional.ConditionalBuilder extends Object implements Conditional.FirstCondition, Conditional.OperatorOrBuild, Conditional.SecondCondition
Conditional Builder is used to build a Conditional. It takes the following parameters:
Conditional Parameters
Parameter Description Default or Required
firstCond The first Conditional involved (it may be null if a ConditionalStatement is used instead) Defaults to null (must specify this or firstCondStmt)
firstCondStmt The first ConditionalStatement involved (it may be null if a Conditional is used instead) Defaults to null (must specify this or firstCond)
operator The operator for the conditional (it may be null if we have just one condition) Defaults to null (required if you specify secondCond or secondCondStmt)
secondCond The second Conditional involved (it may be null if either a ConditionalStatement is used instead or if there's only one condition) Defaults to null
secondCondStmt The second ConditionalStatement involved (it may be null if either a Conditional is used instead or if there's only one condition) Defaults to null
Version:
Alpha v.0.3
Author:
Logan Ferree (Tadukoo)