public class OwTextSearchPredicate extends OwPredicate
SQL AST base node : <content based retrieval> 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
| Modifier and Type | Field and Description |
|---|---|
protected OwColumnReference |
columnReference |
protected OwColumnQualifier |
contentJoinedColumn |
| Constructor and Description |
|---|
OwTextSearchPredicate(OwCharacterStringLiteral searchExpression_p,
OwColumnReference columnReference_p,
OwColumnQualifier contentJoinedColumn_p,
String dialect_p)
Constructor for a text search predicate where every parameter can be null,
but for a valid predicate at least the search expression should be a
non-null and non-empty element.
|
| Modifier and Type | Method and Description |
|---|---|
StringBuilder |
createPredicateSQLString() |
List<OwColumnQualifier> |
getColumnQualifiers() |
protected String |
getDialect()
Get the defined dialect,
which was provided through constructor.
|
protected OwCharacterStringLiteral |
getSearchExpression()
Return the current search expression, defined during instantiation.
|
boolean |
isValid() |
createBooleanTestSQLString, isXConditionasBooleanTest, createBooleanFactorSQLStringcreateBooleanTermSQLStringcreateSearchConditionSQLStringprotected OwColumnQualifier contentJoinedColumn
protected OwColumnReference columnReference
public OwTextSearchPredicate(OwCharacterStringLiteral searchExpression_p, OwColumnReference columnReference_p, OwColumnQualifier contentJoinedColumn_p, String dialect_p)
searchExpression_p - OwCharacterStringLiteral (can be null)columnReference_p - OwColumnReference (can be null)contentJoinedColumn_p - OwColumnQualifier (can be null)dialect_p - (can be null)public boolean isValid()
true if this search condition can produce a valid string representation
through OwSearchCondition.createSearchConditionSQLString()false if this search condition can NOT produce a valid string representation
through OwSearchCondition.createSearchConditionSQLString()public List<OwColumnQualifier> getColumnQualifiers()
public StringBuilder createPredicateSQLString()
createPredicateSQLString in class OwPredicateStringBuilder filled with the string representation of this non-terminalprotected OwCharacterStringLiteral getSearchExpression()
protected String getDialect()
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.