KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > daffodilwoods > daffodildb > server > sql99 > fulltext > expression > phrase


1 package com.daffodilwoods.daffodildb.server.sql99.fulltext.expression;
2
3 import com.daffodilwoods.database.resource.*;
4 import com.daffodilwoods.daffodildb.server.sql99.token.*;
5 import com.daffodilwoods.daffodildb.server.sql99.dummyrule;
6 import com.daffodilwoods.daffodildb.server.sql99.fulltext.dql.condition._FullTextPredicate;
7 import com.daffodilwoods.daffodildb.server.sql99.utils._Reference;
8
9 /**
10  * NOTE THIS CLASS IS NOT BEING USED AS PHRASE IS PARSED IN WORD CLASS
11  * Pharse represent search pattern.
12  * It allows user to get a plan which is self executable. This plan helps in
13  * obtaining the desired documents in which this SearchPattern is present.
14  * <p>Title: </p>
15  * <p>Description: </p>
16  * <p>Copyright: Copyright (c) 2003</p>
17  * <p>Company: </p>
18  * @author not attributable
19  * @version 1.0
20  */

21 public class phrase
22     implements com.daffodilwoods.daffodildb.utils.parser.StatementExecuter,
23     textliteral {
24
25   public dummyrule _Optdummyrule0;
26   public delimitedidentifier _delimitedidentifier1;
27   public dummyrule _Optdummyrule2;
28
29   public Object JavaDoc run(Object JavaDoc object) throws DException {
30     return null;
31   }
32
33   public Object JavaDoc clone() throws CloneNotSupportedException JavaDoc {
34     dummyrule Dummyrule = null;
35     if (_Optdummyrule2 != null)
36       Dummyrule = (dummyrule) _Optdummyrule2.clone();
37     delimitedidentifier Delimitedidentifier1 = (delimitedidentifier)
38         _delimitedidentifier1.clone();
39     if (_Optdummyrule0 != null)
40       Dummyrule = (dummyrule) _Optdummyrule0.clone();
41
42     phrase Phrase = new phrase();
43     if (_Optdummyrule2 != null)
44       Phrase._Optdummyrule2 = Dummyrule;
45     Phrase._delimitedidentifier1 = Delimitedidentifier1;
46     if (_Optdummyrule0 != null)
47       Phrase._Optdummyrule0 = Dummyrule;
48     return Phrase;
49   }
50
51   /**
52    * getFullTextPrdicate used to get plan of searchPattern which is self
53    * executable.
54    * @return _fullTextPredicate
55    * @throws DException
56    */

57
58   public _FullTextPredicate getFullTextPrdicate() throws DException {
59     return null;
60   }
61
62   /**
63    * check semantic check whether search pattern is valid or invalid
64    * if search pattern conatin all delimiter or token which are present in
65    * stop word List then this search pattern is invalid else search pattern is valid
66    * @param parent
67    * @return
68    * @throws DException
69    */

70   public _Reference[] checkSemantic(com.daffodilwoods.daffodildb.server.
71
                                    serversystem._ServerSession parent) throws
72       DException {
73     return null;
74   }
75
76 }
77
Popular Tags