org.z3950.zoom
Class PrefixQuery
java.lang.Object
|
+--org.z3950.zoom.Query
|
+--org.z3950.zoom.PrefixQuery
- public class PrefixQuery
- extends Query
Represents a Prefix query to be submitted to a Z39.50 Server.
Synopsis:
Query q = new PrefixQuery("@and @attr 1=4 minerals " +
"@or @attr 1=62 location @attr 1=62 place");
ResultSet rs = conn.search(q);
Queries in ZOOM may take various forms: objects of this class
represent queries expressed in Index Data's Prefix Query Notation
(PQN), as implemented in their Z39.50 toolkit, Yaz.
As with all ZOOM Query types, there are no methods apart from the
constructor: the only thing you can do with a PrefixQuery is feed
it to Connection.search()
.
- Version:
- $Id: PrefixQuery.java,v 1.3 2002/12/03 00:05:14 mike Exp $
- See Also:
- The Yaz toolkit,
Prefix Query Notation,
zoom.z3950.org/api/zoom-1.1.html#3.3
Fields inherited from class org.z3950.zoom.Query |
q |
Constructor Summary |
PrefixQuery(java.lang.String pqn)
Creates a new Query object representing the specified Prefix
query. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PrefixQuery
public PrefixQuery(java.lang.String pqn)
- Creates a new Query object representing the specified Prefix
query.
- Parameters:
pqn
- The query itself expressed in PQN.- See Also:
- zoom.z3950.org/api/zoom-1.1.html#3.3.2