[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [cmis-comment] CMIS11 - Query
Hi,I am implementing Query part of CMIS 1.1 specification at the moment and I am trying to figure out how to define FROM clause correctly (I am using Javacc for generating AST).Here is how it is defined by the CMIS 1.1 specification:2.1.14.2 Query Language Deïnition
FROM [virtual table names] - Âaccording to this, we should be able to specify multiple virtual table names
<fromÂclause>Â::=ÂFROMÂ<tableÂreference>Â<tableÂreference>Â::=Â<tableÂname>Â[Â[ÂASÂ]Â<correlationÂname>Â]Â|Â<joinedÂtable>Â
<joinedÂtable>Â::=Â"("Â<joinedÂtable>Â")"Â
ÂÂ|Â<tableÂreference>Â[Â<joinÂtype>Â]ÂJOINÂ<tableÂreference>Â<joinÂspecification>Â
<joinÂtype>Â::=ÂINNERÂ|ÂLEFTÂ[ÂOUTERÂ]Â
<joinÂspecification>Â::=ÂONÂ<columnÂreference>Â"="Â<columnÂreference>ÂâProblemLooking at the <from clause> specified in CMIS 1.1 chapter 2.1.14.2.1ÂBNF Grammar I do not see how specifying multiple virtual table names is possible.e.g. FROM table1, table2 ...I may be missing on something hereÂso any help would be greatly appreciated.Thanks in advance.
ChetÂEnsignChief Technical Community Steward OASIS Open | Â | Â | Â |
|
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]