2 * Copyright (c) 1995-2014, Index Datassss
4 * See the file LICENSE for details.
6 package org.z3950.zing.cql;
12 public interface CQLTokenizer {
14 public static final int TT_EOF = -1;
15 public static final int TT_WORD = -3;
16 public static final int TT_NOTHING = -4;
18 public final static int TT_LE = 1000; // The "<=" relation
19 public final static int TT_GE = 1001; // The ">=" relation
20 public final static int TT_NE = 1002; // The "<>" relation
21 public final static int TT_EQEQ = 1003; // The "==" relation
22 public final static int TT_AND = 1004; // The "and" boolean
23 public final static int TT_OR = 1005; // The "or" boolean
24 public final static int TT_NOT = 1006; // The "not" boolean
25 public final static int TT_PROX = 1007; // The "prox" boolean
26 public final static int TT_SORTBY = 1008; // The "sortby" operator
30 public String value();
34 public String render();
36 public String render(int what, boolean quote);