Package wt.query
Class CompositeWhereExpression
java.lang.Object
wt.query.CompositeWhereExpression
- All Implemented Interfaces:
Externalizable,Serializable,Cloneable,WhereExpression
This class represents a number of WHERE expressions connected using a
logical operator (i.e. AND/OR).
Supported API: true
Extendable: false
Supported API: true
Extendable: false
- See Also:
-
Field Summary
Fields inherited from interface wt.query.WhereExpression
FROM_INDICIES -
Constructor Summary
ConstructorsConstructorDescriptionCompositeWhereExpression(LogicalOperator a_logicalOperator) Constructs a CompositeWhereExpression. -
Method Summary
Modifier and TypeMethodDescriptionvoidappend(WhereExpression a_whereExpression) Appends the specified expression.voidappend(WhereExpression a_whereExpression, int[] a_fromIndicies) Appends the specified expression.int[]Gets the value of the attribute: fromIndicies; Indicies for all current expressions relative to a FromClause that will be used for validating and setting aliases when this compostie expression is appended to a statement.
-
Constructor Details
-
CompositeWhereExpression
Constructs a CompositeWhereExpression.
Supported API: true- Parameters:
a_logicalOperator- Logical operator used to connect expressions
-
-
Method Details
-
append
Appends the specified expression. The specified FROM indicies are applied to the specified WhereExpression.
Supported API: true- Parameters:
a_whereExpression- WhereExpression instance to appenda_fromIndicies- Indicies relative to a FromClause that will be used for validating and setting aliases when this expression is appended to a statement
-
append
Appends the specified expression. The FROM indicies of the specified WhereExpression are applied to that WhereExpressionf.
Supported API: true- Parameters:
a_whereExpression- WhereExpression instance to append
-
getFromIndicies
public int[] getFromIndicies()Gets the value of the attribute: fromIndicies; Indicies for all current expressions relative to a FromClause that will be used for validating and setting aliases when this compostie expression is appended to a statement.
Supported API: true- Specified by:
getFromIndiciesin interfaceWhereExpression- Returns:
- int[]
-