KickJava   Java API By Example, From Geeks To Geeks.

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


1 package com.daffodilwoods.daffodildb.server.sql99.fulltext.expression;
2
3
4 import com.daffodilwoods.database.resource.*;
5 import com.daffodilwoods.daffodildb.server.sql99.token.*;
6 import com.daffodilwoods.daffodildb.server.sql99.fulltext.dql.condition._FullTextPredicate;
7 import com.daffodilwoods.daffodildb.server.sql99.utils._Reference;
8 /**
9  * This class represents Parenthesized search expression.
10  * <p>Title: </p>
11  * <p>Description: </p>
12  * <p>Copyright: Copyright (c) 2003</p>
13  * <p>Company: </p>
14  * @author not attributable
15  * @version 1.0
16  */

17 public class parensearchexpression implements com.daffodilwoods.daffodildb.utils.parser.StatementExecuter, searchprimary {
18   /**
19    * It represents serach pattern that is to be searched
20    */

21   public searchexpression _searchexpression0;
22
23   public Object JavaDoc run(Object JavaDoc object) throws DException {
24     return null;
25   }
26
27   public Object JavaDoc clone() throws CloneNotSupportedException JavaDoc {
28     searchexpression Searchexpression1 = (searchexpression) _searchexpression0.
29         clone();
30     parensearchexpression Parensearchexpression = new parensearchexpression();
31     Parensearchexpression._searchexpression0 = Searchexpression1;
32     return Parensearchexpression;
33   }
34   /**
35    * GetFullTextPredicate used to get plan of Search Expression.which is self executable
36    * @return _fulltextPredicate
37    * @throws DException
38    */

39   public _FullTextPredicate getFullTextPrdicate() throws DException {
40     return _searchexpression0.getFulltextPredicates();
41   }
42   /**
43    * It is required to do semantic checking of search expression
44    * @param parent
45    * @return
46    * @throws DException
47    */

48   public _Reference[] checkSemantic(com.daffodilwoods.daffodildb.server.serversystem._ServerSession parent) throws DException {
49     return _searchexpression0.checkSemantic(parent);
50   }
51
52   public String JavaDoc toString(){
53   StringBuffer JavaDoc str=new StringBuffer JavaDoc(" ");
54   return str.append("(").append(_searchexpression0).append(")").toString();
55   }
56
57 }
58
Popular Tags