wt.query
Class NegatedExpression
java.lang.Object
wt.query.NegatedExpression
- All Implemented Interfaces:
- Externalizable, Serializable, Cloneable, WhereExpression
public class NegatedExpression
- extends Object
- implements WhereExpression, Externalizable
This class represents a negation of an expression in a WHERE clause.
This class contains an aggregated WhereExpression which is preceded
with a NOT when this expression is evaluated.
Supported API: true
Extendable: false
- See Also:
- Serialized Form
|
Method Summary |
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. |
int |
setFromIndicies(int[] a_fromIndicies,
int a_offset)
This method sets the From clause indicies for components of the expression. |
NegatedExpression
public NegatedExpression(WhereExpression a_expression)
Supported API: true
- Parameters:
a_expression - Specifies WHERE expression to negate.
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:
getFromIndicies in interface WhereExpression
- Returns:
- int[]
setFromIndicies
public int setFromIndicies(int[] a_fromIndicies,
int a_offset)
- This method sets the From clause indicies for components of the expression.
Supported API: true
- Specified by:
setFromIndicies in interface WhereExpression
- Parameters:
a_fromIndicies - From indicies to set.a_offset - Offset index into the From indicies array for the next valid From index
- Returns:
- number of indicies used