KickJava   Java API By Example, From Geeks To Geeks.

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


1 package com.daffodilwoods.daffodildb.server.sql99.dql.plan.order;
2
3 import com.daffodilwoods.daffodildb.server.sql99.dql.queryexpression.*;
4 import com.daffodilwoods.daffodildb.server.sql99.common.*;
5 import com.daffodilwoods.daffodildb.server.sql99.utils.*;
6 import com.daffodilwoods.database.resource.*;
7 import com.daffodilwoods.database.sqlinitiator.*;
8 import java.util.*;
9
10 /**
11  * It represents the order for single table. Order is shifted to single table so
12  * as to take the advantage of indexes present on that table.
13  * <p>Title: </p>
14  * <p>Description: </p>
15  * <p>Copyright: Copyright (c) 2003</p>
16  * <p>Company: </p>
17  * @author unascribed
18  * @version 1.0
19  */

20
21 public interface _SingleTableOrderPlan {
22
23    /**
24     * Returns order for single table.
25     * @return single table order
26     * @throws DException
27     */

28
29    public _Order getOrder() throws DException;
30
31    /**
32     * Sets the order for single table.
33     * @param order
34     * @throws DException
35     */

36
37    public void setOrder(_Order order) throws DException;
38
39    /**
40     * Returns the table on which order is applied.
41     * @return table
42     * @throws DException
43     */

44
45    public TableDetails getTableDetail() throws DException ;
46
47    /**
48     * Sets the table to whom order belongs.
49     * @param table
50     * @throws DException
51     */

52
53    public void setTableDetails(TableDetails table) throws DException ;
54 }
55
Popular Tags