|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.z3950.zoom.Query | +--org.z3950.zoom.CCLQuery
Represents a CCL query to be submitted to a Z39.50 Server.
Synopsis:
Query q = new CCLQuery("ti=minerals and (ab=location or ab=place)", "qualset.properties"); ResultSet rs = conn.search(q);
Queries in ZOOM may take various forms: objects of this class represent queries expressed in Common Command Language (CCL), as described in ISO 8777, and implemented in the Europagate CCL compiler. I'd like to include a reference to the standard, but in defiance of all rationality, ISO keeps its standards secret (presumably out of fear that someone might implement them), so the best I can offer is a reference to the CCL description that comes with the Yaz toolkit.
As with all ZOOM Query types, there are no methods apart from the
constructor: the only thing you can do with a CCLQuery is feed it
to Connection.search()
.
Fields inherited from class org.z3950.zoom.Query |
q |
Constructor Summary | |
CCLQuery(java.lang.String ccl,
java.lang.String qualset)
Creates a new Query object representing the specified CCL query, with qualifiers interpreted according to the specified qualifier set. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CCLQuery(java.lang.String ccl, java.lang.String qualset)
In CCL, search terms may be preceded by qualifiers such
as au
(typically interpreted to mean search for an
author's name) followed by an equals sign: for example, the CCL
search ti=park
might mean to search for books with
the word ``park'' in their title.
The qualifier set is a bundle of configuration information which specifies how these CCL qualifiers should be mapped into a form that can be expressed in a native Z39.50 query structure.
ccl
- The query itself expressed in CCL.qualset
- A reference to a qualifier set, in some form
yet to be specified: perhaps the name of a
Java properties file?
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |