|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.z3950.zing.cql.CQLNode
org.z3950.zing.cql.CQLRelation
public class CQLRelation
Represents a relation between a CQL index and term.
| Field Summary |
|---|
| Fields inherited from class org.z3950.zing.cql.CQLNode |
|---|
APPLICATION, BITSTRING, BOOLEAN, CONSTRUCTED, CONTEXT, ENUMERATED, EXTERNAL, GENERALSTRING, INTEGER, NULL, OBJECTDESCRIPTOR, OBJECTIDENTIFIER, OCTETSTRING, PRIMITIVE, PRIVATE, SEQUENCE, SET, UNIVERSAL, VISIBLESTRING |
| Constructor Summary | |
|---|---|
CQLRelation(java.lang.String base)
Creates a new CQLRelation with the specified base relation. |
|
| Method Summary | |
|---|---|
java.lang.String |
getBase()
Returns the base relation with which the CQLRelation was originally created. |
java.util.Vector<Modifier> |
getModifiers()
Returns an array of the modifiers associated with a CQLRelation. |
void |
setModifiers(ModifierSet ms)
Sets the modifiers of the specified CQLRelation. |
java.lang.String |
toCQL()
Decompiles a parse-tree into a CQL query. |
java.lang.String |
toPQF(java.util.Properties config)
Renders a parse-tree into a Yaz-style PQF string. |
byte[] |
toType1BER(java.util.Properties config)
Renders a parser-tree into a BER-endoded packet representing an equivalent Z39.50 Type-1 query. |
java.lang.String |
toXCQL(int level,
java.util.Vector prefixes,
java.util.Vector sortkeys)
|
| Methods inherited from class org.z3950.zing.cql.CQLNode |
|---|
getResultSetName, indent, lenLen, makeOID, makeQuery, numLen, putLen, putNum, putTag, renderPrefixes, renderSortKeys, toXCQL, toXCQL, xq |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CQLRelation(java.lang.String base)
| Method Detail |
|---|
public java.lang.String getBase()
public void setModifiers(ModifierSet ms)
public java.util.Vector<Modifier> getModifiers()
public java.lang.String toXCQL(int level,
java.util.Vector prefixes,
java.util.Vector sortkeys)
toXCQL in class CQLNodepublic java.lang.String toCQL()
CQLNode
toCQL in class CQLNode
public java.lang.String toPQF(java.util.Properties config)
throws PQFTranslationException
CQLNode
toPQF in class CQLNodeconfig - A Properties object containing configuration
information that specifies the mapping from CQL indexes,
relations, etc. to Type-1 attributes. The mapping
specification is described in the CQL-Java distribution's
sample PQF-mapping configuration file,
etc/pqf.properties, which see.
PQFTranslationExceptionpublic byte[] toType1BER(java.util.Properties config)
CQLNode
toType1BER in class CQLNodeconfig - A Properties object containing configuration
information that specifies the mapping from CQL indexes,
relations, etc. to Type-1 attributes. The mapping
specification is described in the CQL-Java distribution's
sample PQF-mapping configuration file,
etc/pqf.properties, which see.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||