com.wewebu.ow.csqlc.ast
Class OwComparisonPredicate
java.lang.Object
com.wewebu.ow.csqlc.ast.OwBooleanTerm
com.wewebu.ow.csqlc.ast.OwBooleanFactor
com.wewebu.ow.csqlc.ast.OwBooleanTest
com.wewebu.ow.csqlc.ast.OwPredicate
com.wewebu.ow.csqlc.ast.OwComparisonPredicate
- All Implemented Interfaces:
- OwSearchCondition
public class OwComparisonPredicate
- extends OwPredicate
SQL AST node : <comparison predicate> syntax non-terminal as defined by the SQL grammar.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
- Since:
- 3.2.0.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OwComparisonPredicate
public OwComparisonPredicate(OwValueExpression valueExpression_p,
OwComparisonOperator operator_p,
OwLiteral literal_p)
- Parameters:
valueExpression_p
- the value expression of this comparison terminal (left side operand)operator_p
- the operator of this predicateliteral_p
- the literal terminal of this comparison prdicate
createPredicateSQLString
public StringBuilder createPredicateSQLString()
- Specified by:
createPredicateSQLString
in class OwPredicate
- Returns:
- a
StringBuilder
filled with the string representation of this non-terminal
isValid
public boolean isValid()
- Returns:
false
if the literal terminal of this predicate is null-valued
true
otherwise- See Also:
OwLiteral.isNull()
getColumnQualifiers
public List<OwColumnQualifier> getColumnQualifiers()
Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.