public class OwQuantifiedComparisonPredicate extends OwFormatPredicate
SQL AST node : <quantified comparison predicate> based on syntax non-terminal
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
Constructor and Description |
---|
OwQuantifiedComparisonPredicate(OwLiteral comparisonLiteral_p,
OwColumnReference columnReference_p,
boolean negated_p,
OwPredicateFormat format_p)
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected StringBuilder |
createLeftOperand() |
protected StringBuilder |
createRightOperand() |
List<OwColumnQualifier> |
getColumnQualifiers() |
boolean |
isValid() |
createPredicateSQLString
createBooleanTestSQLString, isXCondition
asBooleanTest, createBooleanFactorSQLString
createBooleanTermSQLString
createSearchConditionSQLString
public OwQuantifiedComparisonPredicate(OwLiteral comparisonLiteral_p, OwColumnReference columnReference_p, boolean negated_p, OwPredicateFormat format_p)
comparisonLiteral_p
- the comparison literalcolumnReference_p
- the multi value column reference operand, must not be nullnegated_p
- true
for a negated operand (ie. NOT literal = ANY multi-valued-column-reference)
false
otherwisepublic boolean isValid()
true
if literal operand and column reference is valid
false
otherwiseOwInValueList.isValid()
public List<OwColumnQualifier> getColumnQualifiers()
protected StringBuilder createLeftOperand()
createLeftOperand
in class OwFormatPredicate
protected StringBuilder createRightOperand()
createRightOperand
in class OwFormatPredicate
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.