KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > daffodilwoods > daffodildb > server > sql99 > fulltext > dql > iterator > FTException


1 package com.daffodilwoods.daffodildb.server.sql99.fulltext.dql.iterator;
2
3 import com.daffodilwoods.daffodildb.server.sql99.dql.iterator._Iterator;
4 import com.daffodilwoods.daffodildb.server.sql99.common.ColumnDetails;
5 import com.daffodilwoods.database.resource.DException;
6 import com.daffodilwoods.daffodildb.server.sql99.dql.execution._OrderCount;
7 import com.daffodilwoods.daffodildb.server.sql99.common.TableDetails;
8 import com.daffodilwoods.database.sqlinitiator._Order;
9 import com.daffodilwoods.daffodildb.server.sql99.utils._Reference;
10 import com.daffodilwoods.daffodildb.utils.field.FieldBase;
11 import com.daffodilwoods.daffodildb.server.sql99.utils._IndexPredicate;
12 import com.daffodilwoods.daffodildb.server.sql99.common._KeyColumnInformation;
13 import com.daffodilwoods.daffodildb.server.datasystem.utility._Record;
14 import com.daffodilwoods.daffodildb.client._ExecutionPlan;
15 import com.daffodilwoods.daffodildb.server.sql99.common.ExecutionPlanForBrowser;
16 import com.daffodilwoods.daffodildb.utils.*;
17
18 /**
19  * <p>Title: FTException</p>
20  * <p>Description: This class implements the _FTIterator and handles all the
21  * unsupported methods of _Iterator that are not to be used in Rank iterators.</p>
22  * <p>Copyright: Copyright (c) 2003</p>
23  * <p>Company: </p>
24  * @author not attributable
25  * @version 1.0
26  */

27 public abstract class FTException implements _FTIterator {
28
29   /**
30    * An arrray of iterators having the data from token table( with bve i.e.
31    * term = corresponding seeking word.
32    */

33   _Iterator[] fullTextIndex = null;// one for each keywords.
34
/**
35    * An arrray of iterators having the data from location table.
36    */

37   _Iterator[] locationIndex = null;// one for location of eack keywords.
38
/**
39    * An array of parsed words to be seek.
40    */

41   FieldBase[] keyWords = null;//? one for each keywords.
42
/**
43    * PK Column Information of Token Table
44    */

45   ColumnDetails pkColumn;
46   /**
47    * documentId Column Information of Token Table
48    */

49   ColumnDetails documentIdColumn;
50   /**
51    * Location Column Information of Location Table
52    */

53   ColumnDetails locationColumn;
54   /**
55    * FPK refrence i.e used to set the PK Value into Location Table
56    */

57   _Reference[] fpkReference;
58
59   public _Iterator getBaseIterator(ColumnDetails column) throws DException {
60     /**@todo Implement this com.daffodilwoods.daffodildb.server.sql99.dql.iterator._Iterator method*/
61     throw new java.lang.UnsupportedOperationException JavaDoc("Method getBaseIterator() not yet implemented.");
62   }
63   public _Iterator getBaseIteratorHasRecord(ColumnDetails hasRecordColumn) throws DException {
64     /**@todo Implement this com.daffodilwoods.daffodildb.server.sql99.dql.iterator._Iterator method*/
65     throw new java.lang.UnsupportedOperationException JavaDoc("Method getBaseIteratorHasRecord() not yet implemented.");
66   }
67   public void setKeyCount(Object JavaDoc[][] tableAndKeyCount) throws DException {
68     /**@todo Implement this com.daffodilwoods.daffodildb.server.sql99.dql.iterator._Iterator method*/
69     throw new java.lang.UnsupportedOperationException JavaDoc("Method setKeyCount() not yet implemented.");
70   }
71   public void releaseResource() throws DException {
72     /**@todo Implement this com.daffodilwoods.daffodildb.server.sql99.dql.iterator._Iterator method*/
73     throw new java.lang.UnsupportedOperationException JavaDoc("Method releaseResource() not yet implemented.");
74   }
75   public Object JavaDoc[][] getFunctionalColumnMapping() throws DException {
76     /**@todo Implement this com.daffodilwoods.daffodildb.server.sql99.dql.iterator._Iterator method*/
77     throw new java.lang.UnsupportedOperationException JavaDoc("Method getFunctionalColumnMapping() not yet implemented.");
78   }
79   public _OrderCount getOrderCounts() throws DException {
80     /**@todo Implement this com.daffodilwoods.daffodildb.server.sql99.dql.iterator._Iterator method*/
81     throw new java.lang.UnsupportedOperationException JavaDoc("Method getOrderCounts() not yet implemented.");
82   }
83   public TableDetails[] getTableDetails() throws DException {
84     /**@todo Implement this com.daffodilwoods.daffodildb.server.sql99.dql.iterator._Iterator method*/
85     throw new java.lang.UnsupportedOperationException JavaDoc("Method getTableDetails() not yet implemented.");
86   }
87   public _Order getDefaultOrder() throws DException {
88     /**@todo Implement this com.daffodilwoods.daffodildb.server.sql99.dql.iterator._Iterator method*/
89     throw new java.lang.UnsupportedOperationException JavaDoc("Method getDefaultOrder() not yet implemented.");
90   }
91   public void setConditionVariableValue(_Reference[] references, Object JavaDoc[] values, int priority) throws DException {
92     /**@todo Implement this com.daffodilwoods.daffodildb.server.sql99.utils._BaseVariableValues method*/
93     throw new java.lang.UnsupportedOperationException JavaDoc("Method setConditionVariableValue() not yet implemented.");
94   }
95   public boolean seekFromTop(_IndexPredicate[] condition) throws DException {
96     /**@todo Implement this com.daffodilwoods.daffodildb.server.datasystem.interfaces._SqlIndexIterator method*/
97     throw new java.lang.UnsupportedOperationException JavaDoc("Method seekFromTop() not yet implemented.");
98   }
99   public boolean seekFromTopRelative(Object JavaDoc indexKey) throws DException {
100     /**@todo Implement this com.daffodilwoods.daffodildb.server.datasystem.interfaces._SqlIndexIterator method*/
101     throw new java.lang.UnsupportedOperationException JavaDoc("Method seekFromTopRelative() not yet implemented.");
102   }
103   public boolean seekFromBottom(_IndexPredicate[] condition) throws DException {
104     /**@todo Implement this com.daffodilwoods.daffodildb.server.datasystem.interfaces._SqlIndexIterator method*/
105     throw new java.lang.UnsupportedOperationException JavaDoc("Method seekFromBottom() not yet implemented.");
106   }
107   public boolean seekFromBottomRelative(Object JavaDoc indexKey) throws DException {
108     /**@todo Implement this com.daffodilwoods.daffodildb.server.datasystem.interfaces._SqlIndexIterator method*/
109     throw new java.lang.UnsupportedOperationException JavaDoc("Method seekFromBottomRelative() not yet implemented.");
110   }
111   public _KeyColumnInformation[] getKeyColumnInformations() throws DException {
112     /**@todo Implement this com.daffodilwoods.daffodildb.server.datasystem.interfaces._SqlIndexIterator method*/
113     throw new java.lang.UnsupportedOperationException JavaDoc("Method getKeyColumnInformations() not yet implemented.");
114   }
115   public Object JavaDoc[] getUniqueColumnReference() throws DException {
116     /**@todo Implement this com.daffodilwoods.daffodildb.server.datasystem.interfaces._SqlIndexIterator method*/
117     throw new java.lang.UnsupportedOperationException JavaDoc("Method getUniqueColumnReference() not yet implemented.");
118   }
119   public boolean seek(Object JavaDoc indexKey) throws DException {
120     /**@todo Implement this com.daffodilwoods.daffodildb.server.datasystem.interfaces._SqlIndexIterator method*/
121     throw new java.lang.UnsupportedOperationException JavaDoc("Method seek() not yet implemented.");
122   }
123   public Object JavaDoc getKey() throws DException {
124     /**@todo Implement this com.daffodilwoods.daffodildb.server.datasystem.interfaces._Navigator method*/
125     throw new java.lang.UnsupportedOperationException JavaDoc("Method getKey() not yet implemented.");
126   }
127   public void move(Object JavaDoc key) throws DException {
128     /**@todo Implement this com.daffodilwoods.daffodildb.server.datasystem.interfaces._Navigator method*/
129     throw new java.lang.UnsupportedOperationException JavaDoc("Method move() not yet implemented.");
130   }
131   public _Record getRecord() throws DException {
132     /**@todo Implement this com.daffodilwoods.daffodildb.server.datasystem.interfaces._Navigator method*/
133     throw new java.lang.UnsupportedOperationException JavaDoc("Method getRecord() not yet implemented.");
134   }
135   public _ExecutionPlan getExecutionPlan() throws DException {
136     /**@todo Implement this com.daffodilwoods.daffodildb.client._BrowserPlan method*/
137     throw new java.lang.UnsupportedOperationException JavaDoc("Method getExecutionPlan() not yet implemented.");
138   }
139   public ExecutionPlanForBrowser getExecutionPlanForBrowser() throws DException {
140     /**@todo Implement this com.daffodilwoods.daffodildb.client._BrowserPlan method*/
141     throw new java.lang.UnsupportedOperationException JavaDoc("Method getExecutionPlanForBrowser() not yet implemented.");
142   }
143   public byte[] getByteKey() throws DException{
144     /**@todo Implement this com.daffodilwoods.daffodildb.client._BrowserPlan method*/
145     throw new java.lang.UnsupportedOperationException JavaDoc("Method getByteKey() not yet implemented.");
146   }
147   public void moveByteKey(byte[] key) throws DException {
148     /**@todo Implement this com.daffodilwoods.daffodildb.server.datasystem.interfaces._Navigator method*/
149     throw new java.lang.UnsupportedOperationException JavaDoc("Method moveByteKey() not yet implemented.");
150   }
151
152    public void setSpecificUnderlyingReferences(_Reference[] specificUnderlyingReferences) throws DException{
153      throw new java.lang.UnsupportedOperationException JavaDoc("Method setSpecificUnderlyingReferences(_Reference[]) not yet implemented.");
154    }
155 }
156
Popular Tags