KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > daffodilwoods > daffodildb > server > sql99 > dql > execution > _OrderCount


1 package com.daffodilwoods.daffodildb.server.sql99.dql.execution;
2
3 import com.daffodilwoods.daffodildb.server.sql99.dql.queryexpression.*;
4 import com.daffodilwoods.database.resource.DException;
5 import com.daffodilwoods.database.sqlinitiator._Order;
6
7 /**
8  * _OrderCount represents the Order and number of order columns for any
9  * particular iterator. This is reqiured when we've to use seek functionality
10  * in the case when permanent index is used. It initializes the number of order
11  * columns of underlying iterator(s). And when seek is called the array of
12  * values, whose length is equals to count maintained, is passed to underlying
13  * iterator(s).
14  * <p>Title: </p>
15  * <p>Description: </p>
16  * <p>Copyright: Copyright (c) 2003</p>
17  * <p>Company: </p>
18  * @author unascribed
19  * @version 1.0
20  */

21
22 public interface _OrderCount {
23
24    /**
25     * Required in initializing the count of order columns of a Iterator.
26     * @return number of order columns
27     * @throws DException
28     */

29
30    public int getOrderCount() throws DException;
31
32    /**
33     * Required to initialize the comparator for order's columns if needed.
34     * @return order present in Iterator
35     * @throws DException
36     */

37
38    public _Order getOrders() throws DException;
39 }
40
Popular Tags