KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > jofti > core > QueryType


1 package com.jofti.core;
2
3 public class QueryType
4 {
5
6     public final int type;
7     
8     private QueryType(int type){
9         this.type = type;
10     }
11     
12     //common query types
13
public static final QueryType PARSED_QUERY = new QueryType(0);
14     public static final QueryType UNPARSED_QUERY = new QueryType(1);
15     
16     public static final QueryType MATCH_QUERY = new QueryType(100);
17     public static final QueryType RANGE_QUERY = new QueryType(101);
18     public static final QueryType NOT_QUERY = new QueryType(102);
19     public static final QueryType IN_QUERY = new QueryType(103);
20     
21
22     
23     public static final QueryType MATCH_NS_QUERY = new QueryType(200);
24     public static final QueryType RANGE_NS_QUERY = new QueryType(201);
25     public static final QueryType NOT_NS_QUERY = new QueryType(202);
26     public static final QueryType IN_NS_QUERY = new QueryType(203);
27 }
28
Popular Tags