KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > daffodilwoods > daffodildb > server > sql99 > dql > plan > _TablePlanAdditional


1 package com.daffodilwoods.daffodildb.server.sql99.dql.plan;
2
3 import com.daffodilwoods.daffodildb.server.serversystem.*;
4 import com.daffodilwoods.daffodildb.server.sql99.dql.iterator.*;
5 import com.daffodilwoods.daffodildb.server.sql99.expression.booleanvalueexpression.*;
6 import com.daffodilwoods.database.resource.*;
7
8 /**
9  * It is needed to execute the plan of select query involved in view definition.
10  * In this case we don't need to initialize Column Characteristics as well as
11  * Row Reader. So it comes in to picture for optimization purpose.
12  * <p>Title: </p>
13  * <p>Description: </p>
14  * <p>Copyright: Copyright (c) 2003</p>
15  * <p>Company: </p>
16  * @author unascribed
17  * @version 1.0
18  */

19
20 public interface _TablePlanAdditional {
21
22    /**
23     * These methods are required to execute the plan of select query involved in
24     * view. The bottom line that differentiate these methods from corresponding
25     * methods of _TablePlan is that it does not perform some extra initialization
26     * which is needed only at the top level of select query.
27     * @param session
28     * @return
29     * @throws DException
30     */

31
32    public _Iterator executePlan(_ServerSession session) throws DException;
33    public _Iterator executePlan(_ServerSession session,booleanvalueexpression condition) throws DException ;
34    public _Iterator executeWithOutOrderPlan(_ServerSession session,booleanvalueexpression condition) throws DException;
35    public _Iterator executeWithoutOrderPlan(_ServerSession object) throws DException;
36 }
37
Popular Tags