Class query.RankingList
All Packages Class Hierarchy This Package Previous Next Index
Class query.RankingList
java.lang.Object
|
+----query.ExpNode
|
+----query.RankingList
- public class RankingList
- extends ExpNode
- implements STARTSnode, RankingNode
An Expnode that represents a Ranking List node in a STARTS ranking
expression. RankingList nodes have a variable number of children
and no properties.
-
RankingList(Query)
- Contruct a new ranking list node.
-
Check()
- Return a new sub-tree that is the result of checking (for both
semantic sanity and source support) the sub-tree that descends
from this RankingList node.
-
ExtractTerms(Vector)
- Recurse from this sub-tree to extract the terms in the sub-tree
-
TranslateToRanking()
- Return the sub-tree that represents the source-specific
translation of this ranking list sub-tree
-
Unparse()
- Return the string representation of the sub-tree descending
from this ranking list node
RankingList
public RankingList(Query query)
- Contruct a new ranking list node.
Unparse
public String Unparse()
- Return the string representation of the sub-tree descending
from this ranking list node
- Returns:
- the String equivalent of this RankingList sub-tree
- Overrides:
- Unparse in class ExpNode
Check
public ExpNode Check() throws UnsupportedQueryException
- Return a new sub-tree that is the result of checking (for both
semantic sanity and source support) the sub-tree that descends
from this RankingList node.
- Returns:
- the subtree tht is the result of the check operation.
- Throws: UnsupportedQueryException
- if the RankingList subtree
contains semantic errors
TranslateToRanking
public ExpNode TranslateToRanking() throws SourceQueryException
- Return the sub-tree that represents the source-specific
translation of this ranking list sub-tree
- Returns:
- a sub-tree that is the source translated ranking
equivalent of this RankingList sub-tree
ExtractTerms
public void ExtractTerms(Vector rankingTerms)
- Recurse from this sub-tree to extract the terms in the sub-tree
- Parameters:
- rankingTerms - The vector of terms.
All Packages Class Hierarchy This Package Previous Next Index