01: /*
02: * Created on 20-Jul-2005
03: *
04: */
05: package com.jofti.core;
06:
07: import java.util.Map;
08: import java.util.Stack;
09:
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 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 getAliasMap();
31:
32: /**
33: * @return Returns the predicates.
34: */
35: public abstract Stack getPredicates();
36:
37: public abstract Map getResultFieldsMap();
38:
39: public abstract Map getNamedValueMap();
40:
41: public abstract Object getNameSpace();
42:
43: public abstract CompositeComparator getOrderingComparator();
44:
45: public int getFirstResult();
46:
47: public int getMaxResults();
48: }
|