KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > daffodilwoods > daffodildb > server > sql99 > fulltext > dql > condition > PredicateConstant


1 package com.daffodilwoods.daffodildb.server.sql99.fulltext.dql.condition;
2
3 /**
4  * It represents all type of plan,which is required by plan merger in merging of
5  * two plan.
6  * <p>Title: </p>
7  * <p>Description: </p>
8  * <p>Copyright: Copyright (c) 2003</p>
9  * <p>Company: </p>
10  * @author not attributable
11  * @version 1.0
12  */

13
14 public interface PredicateConstant {
15   /**
16    * This constant represents type of plan,which is generated when search pattern
17    * is single word.plan in this case generated is wordRepresentation.
18    */

19   int singleWord = 1;
20   /**
21    * This constant represents type of plan ,which is generated when search pattern
22    * is combination of two search pattern combined with AND logical operator.Plan
23    * in this case generated is AndWords.
24    */

25   int andWords = 2;
26   /**
27    * This constant represents type of plan,which generated when search pattern
28    * is sentence i.e combination of two or more words.
29    */

30   int phrase = 3;
31   int orWords = 4;
32   int optimizedNotPredicate = 5;
33   int notFullTextPredicate = 6;
34   int andFullTextPredicate = 7;
35   int orFullTextPredicate = 8;
36   int containsPredicate = 9;
37   int allKeyWordSortedPredicate = 10;
38   int anyKeyWordSortedPredicate = 11;
39
40 }
41
Popular Tags