KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > jofti > core > IParsedQuery


1 /*
2  * Created on 20-Jul-2005
3  *
4  */

5 package com.jofti.core;
6
7 import java.util.Map JavaDoc;
8 import java.util.Stack JavaDoc;
9
10 import com.jofti.api.IndexQuery;
11 import com.jofti.util.CompositeComparator;
12
13 /**
14  *
15  *
16  * The parsed query format that results from the query parser.<p>
17  *
18  * @author Steve Woodcock (steve@jofti.com)<p>
19  * @version 1.0
20  */

21 public interface IParsedQuery extends IndexQuery{
22     public abstract Class JavaDoc getClassName();
23
24     /**
25      * Geta map of the alias entries in the query. I.e classes that are
26      * 'com.foo.Bar AS B' parts of the query
27      *
28      * @return the map of classnames to alias'
29      */

30     public abstract Map JavaDoc getAliasMap();
31     
32     /**
33      * @return Returns the predicates.
34      */

35     public abstract Stack JavaDoc getPredicates();
36     
37     public abstract Map JavaDoc getResultFieldsMap();
38     
39     public abstract Map JavaDoc getNamedValueMap();
40     
41     public abstract Object JavaDoc getNameSpace();
42     
43     public abstract CompositeComparator getOrderingComparator();
44     
45     public int getFirstResult();
46     
47     public int getMaxResults();
48 }
Popular Tags