projects
/
cql-java-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove old proximity-specific parsing code.
[cql-java-moved-to-github.git]
/
src
/
org
/
z3950
/
zing
/
cql
/
CQLTermNode.java
diff --git
a/src/org/z3950/zing/cql/CQLTermNode.java
b/src/org/z3950/zing/cql/CQLTermNode.java
index
fc310ed
..
87511fc
100644
(file)
--- a/
src/org/z3950/zing/cql/CQLTermNode.java
+++ b/
src/org/z3950/zing/cql/CQLTermNode.java
@@
-1,4
+1,4
@@
-// $Id: CQLTermNode.java,v 1.25 2007-06-27 22:39:55 mike Exp $
+// $Id: CQLTermNode.java,v 1.26 2007-06-27 22:44:40 mike Exp $
package org.z3950.zing.cql;
import java.util.Properties;
package org.z3950.zing.cql;
import java.util.Properties;
@@
-12,7
+12,7
@@
import java.util.Vector;
* these must be provided - you can't have an index without a
* relation or vice versa.
*
* these must be provided - you can't have an index without a
* relation or vice versa.
*
- * @version $Id: CQLTermNode.java,v 1.25 2007-06-27 22:39:55 mike Exp $
+ * @version $Id: CQLTermNode.java,v 1.26 2007-06-27 22:44:40 mike Exp $
*/
public class CQLTermNode extends CQLNode {
private String index;
*/
public class CQLTermNode extends CQLNode {
private String index;
@@
-31,7
+31,6
@@
public class CQLTermNode extends CQLNode {
}
public String getIndex() { return index; }
}
public String getIndex() { return index; }
- public String getQualifier() { return getIndex(); } // for legacy applications
public CQLRelation getRelation() { return relation; }
public String getTerm() { return term; }
public CQLRelation getRelation() { return relation; }
public String getTerm() { return term; }
@@
-91,7
+90,7
@@
public class CQLTermNode extends CQLNode {
attr = config.getProperty("index." + index);
if (attr == null)
attr = config.getProperty("index." + index);
if (attr == null)
- throw new UnknownQualifierException(index);
+ throw new UnknownIndexException(index);
attrs.add(attr);
String rel = relation.getBase();
attrs.add(attr);
String rel = relation.getBase();