public class OwQueryStatement extends Object
SQL AST node : <query statement> syntax root 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
Constructor and Description |
---|
OwQueryStatement(OwRepositoryTarget repositoryTarget_p,
OwSimpleTable simpleTable_p)
Constructor
|
OwQueryStatement(OwRepositoryTarget repositoryTarget_p,
OwSimpleTable simpleTable_p,
OwOrderByClause orderByClause_p)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addJoin(OwCorrelatedTableName joinedTableReference_p,
OwJoinSpecification joinSpec_p) |
StringBuilder |
createSQLString() |
List<OwColumnQualifier> |
getColumnQualifiers() |
OwColumnQualifier |
getMainTableQualifier() |
OwMergeType |
getMergeType() |
Map<String,OwColumnQualifier> |
getNormalizedQualifiers() |
OwSimpleTable |
getSimpleTable() |
String |
getTargetRepositoryID() |
void |
setNormalizedQualifiers(Set<OwColumnQualifier> qualifiers_p) |
String |
toString() |
public OwQueryStatement(OwRepositoryTarget repositoryTarget_p, OwSimpleTable simpleTable_p)
simpleTable_p
- the simple table non-terminal , must not be nullpublic OwQueryStatement(OwRepositoryTarget repositoryTarget_p, OwSimpleTable simpleTable_p, OwOrderByClause orderByClause_p)
simpleTable_p
- the simple table non-terminal , must not be nullorderByClause_p
- the order by non-terminal , can be nullpublic String getTargetRepositoryID()
public OwMergeType getMergeType()
public StringBuilder createSQLString()
StringBuilder
filled with the string representation of this non-terminal
the order by clause is omitted if null or invalid (see OwOrderByClause.isValid()
)public List<OwColumnQualifier> getColumnQualifiers()
public OwColumnQualifier getMainTableQualifier()
public void addJoin(OwCorrelatedTableName joinedTableReference_p, OwJoinSpecification joinSpec_p)
public void setNormalizedQualifiers(Set<OwColumnQualifier> qualifiers_p)
public Map<String,OwColumnQualifier> getNormalizedQualifiers()
public OwSimpleTable getSimpleTable()
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.