Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
E
G
I
L
M
N
O
P
R
S
T
U
V
X
A
addModifier(String, String, String)
- Method in class org.z3950.zing.cql.
ModifierSet
Adds a modifier of the specified
type
,
comparison
and
value
to a ModifierSet.
addModifier(String)
- Method in class org.z3950.zing.cql.
ModifierSet
Adds a modifier of the specified
type
, but with no
comparison
and
value
, to a ModifierSet.
addSortIndex(ModifierSet)
- Method in class org.z3950.zing.cql.
CQLSortNode
APPLICATION
- Static variable in class org.z3950.zing.cql.
CQLNode
B
BITSTRING
- Static variable in class org.z3950.zing.cql.
CQLNode
BOOLEAN
- Static variable in class org.z3950.zing.cql.
CQLNode
C
CONSTRUCTED
- Static variable in class org.z3950.zing.cql.
CQLNode
CONTEXT
- Static variable in class org.z3950.zing.cql.
CQLNode
CQLAndNode
- Class in
org.z3950.zing.cql
Represents an AND node in a CQL parse-tree.
CQLAndNode(CQLNode, CQLNode, ModifierSet)
- Constructor for class org.z3950.zing.cql.
CQLAndNode
Creates a new AND node with the specified left- and right-hand sides and modifiers.
CQLBooleanNode
- Class in
org.z3950.zing.cql
Represents a boolean node in a CQL parse-tree.
CQLBooleanNode(CQLNode, CQLNode, ModifierSet)
- Constructor for class org.z3950.zing.cql.
CQLBooleanNode
CQLGenerator
- Class in
org.z3950.zing.cql
A generator that produces random CQL queries.
CQLGenerator(Properties)
- Constructor for class org.z3950.zing.cql.
CQLGenerator
Creates a new CQL generator with the specified parameters.
CQLNode
- Class in
org.z3950.zing.cql
Represents a node in a CQL parse-tree.
CQLNotNode
- Class in
org.z3950.zing.cql
Represents a NOT node in a CQL parse-tree.
CQLNotNode(CQLNode, CQLNode, ModifierSet)
- Constructor for class org.z3950.zing.cql.
CQLNotNode
Creates a new NOT node with the specified left- and right-hand sides and modifiers.
CQLOrNode
- Class in
org.z3950.zing.cql
Represents an OR node in a CQL parse-tree.
CQLOrNode(CQLNode, CQLNode, ModifierSet)
- Constructor for class org.z3950.zing.cql.
CQLOrNode
Creates a new OR node with the specified left- and right-hand sides and modifiers.
CQLParseException
- Exception in
org.z3950.zing.cql
Exception indicating that an error ocurred parsing CQL.
CQLParseException(String)
- Constructor for exception org.z3950.zing.cql.
CQLParseException
Creates a new
CQLParseException
.
CQLParser
- Class in
org.z3950.zing.cql
Compiles CQL strings into parse trees of CQLNode subtypes.
CQLParser(int)
- Constructor for class org.z3950.zing.cql.
CQLParser
The new parser implements a dialect of CQL specified by the
compat
argument: V1POINT1 - CQL version 1.1 V1POINT2 - CQL version 1.2 V1POINT1SORT - CQL version 1.1 but including
sortby
as specified for CQL 1.2.
CQLParser()
- Constructor for class org.z3950.zing.cql.
CQLParser
The new parser implements CQL 1.2
CQLPrefix
- Class in
org.z3950.zing.cql
Represents a CQL prefix mapping from short name to long identifier.
CQLPrefixNode
- Class in
org.z3950.zing.cql
Represents a prefix node in a CQL parse-tree.
CQLPrefixNode(String, String, CQLNode)
- Constructor for class org.z3950.zing.cql.
CQLPrefixNode
Creates a new CQLPrefixNode inducing a mapping from the specified index-set name to the specified identifier across the specified subtree.
CQLProxNode
- Class in
org.z3950.zing.cql
Represents a proximity node in a CQL parse-tree.
CQLProxNode(CQLNode, CQLNode, ModifierSet)
- Constructor for class org.z3950.zing.cql.
CQLProxNode
Creates a new PROX node with the specified left- and right-hand sides and modifiers.
CQLRelation
- Class in
org.z3950.zing.cql
Represents a relation between a CQL index and term.
CQLRelation(String)
- Constructor for class org.z3950.zing.cql.
CQLRelation
Creates a new CQLRelation with the specified base relation.
CQLSortNode
- Class in
org.z3950.zing.cql
Represents a sort node in a CQL parse-tree.
CQLSortNode(CQLNode)
- Constructor for class org.z3950.zing.cql.
CQLSortNode
CQLTermNode
- Class in
org.z3950.zing.cql
Represents a terminal node in a CQL parse-tree.
CQLTermNode(String, CQLRelation, String)
- Constructor for class org.z3950.zing.cql.
CQLTermNode
Creates a new term node with the specified
index
,
relation
and
term
.
E
ENUMERATED
- Static variable in class org.z3950.zing.cql.
CQLNode
EXTERNAL
- Static variable in class org.z3950.zing.cql.
CQLNode
G
GENERALSTRING
- Static variable in class org.z3950.zing.cql.
CQLNode
generate()
- Method in class org.z3950.zing.cql.
CQLGenerator
Generates a single random CQL query.
getBase()
- Method in class org.z3950.zing.cql.
CQLRelation
Returns the base relation with which the CQLRelation was originally created.
getBase()
- Method in class org.z3950.zing.cql.
ModifierSet
Returns the base string with which the ModifierSet was created.
getComparison()
- Method in class org.z3950.zing.cql.
Modifier
Returns the comparison with which the Modifier was created.
getIndex()
- Method in class org.z3950.zing.cql.
CQLTermNode
getModifiers()
- Method in class org.z3950.zing.cql.
CQLRelation
Returns an array of the modifiers associated with a CQLRelation.
getModifiers()
- Method in class org.z3950.zing.cql.
ModifierSet
Returns an array of the modifiers in a ModifierSet.
getRelation()
- Method in class org.z3950.zing.cql.
CQLTermNode
getResultSetName()
- Method in class org.z3950.zing.cql.
CQLNode
Returns the name of the result-set to which this query is a reference, if and only if the entire query consists only of a result-set reference.
getResultSetName()
- Method in class org.z3950.zing.cql.
CQLTermNode
getSortIndexes()
- Method in class org.z3950.zing.cql.
CQLSortNode
getTerm()
- Method in class org.z3950.zing.cql.
CQLTermNode
getType()
- Method in class org.z3950.zing.cql.
Modifier
Returns the type with which the Modifier was created.
getValue()
- Method in class org.z3950.zing.cql.
Modifier
Returns the value with which the Modifier was created.
I
identifier
- Variable in class org.z3950.zing.cql.
CQLPrefix
The full identifier name of the prefix mapping.
indent(int)
- Static method in class org.z3950.zing.cql.
CQLNode
Returns a String of spaces for indenting to the specified level.
INTEGER
- Static variable in class org.z3950.zing.cql.
CQLNode
L
left
- Variable in class org.z3950.zing.cql.
CQLBooleanNode
The root of a parse-tree representing the left-hand side.
lenLen(int)
- Static method in class org.z3950.zing.cql.
CQLNode
Get the length needed to represent the given length.
M
main(String[])
- Static method in class org.z3950.zing.cql.
CQLGenerator
A simple test-harness for the generator.
main(String[])
- Static method in class org.z3950.zing.cql.
CQLParser
Simple test-harness for the CQLParser class.
main(String[])
- Static method in class org.z3950.zing.cql.
ModifierSet
makeOID(String)
- Static method in class org.z3950.zing.cql.
CQLNode
makeQuery(CQLNode, Properties)
- Static method in class org.z3950.zing.cql.
CQLNode
MissingParameterException
- Exception in
org.z3950.zing.cql
Exception indicating that a required property was not specified.
MissingParameterException(String)
- Constructor for exception org.z3950.zing.cql.
MissingParameterException
Creates a new
MissingParameterException
.
Modifier
- Class in
org.z3950.zing.cql
Represents a single modifier, consisting of three elements: a type, a comparision and a value.
Modifier(String, String, String)
- Constructor for class org.z3950.zing.cql.
Modifier
Creates a new Modifier with the specified type, comparison and value.
Modifier(String)
- Constructor for class org.z3950.zing.cql.
Modifier
Creates a new Modifier with the specified type but no comparison or value.
modifier(String)
- Method in class org.z3950.zing.cql.
ModifierSet
Returns the value of the modifier in the specified ModifierSet that corresponds to the specified type.
ModifierSet
- Class in
org.z3950.zing.cql
Represents a base String and a set of Modifiers.
ModifierSet(String)
- Constructor for class org.z3950.zing.cql.
ModifierSet
Creates a new ModifierSet with the specified base.
ms
- Variable in class org.z3950.zing.cql.
CQLBooleanNode
The set of modifiers that are applied to this boolean.
N
name
- Variable in class org.z3950.zing.cql.
CQLPrefix
The short name of the prefix mapping.
NULL
- Static variable in class org.z3950.zing.cql.
CQLNode
numLen(long)
- Static method in class org.z3950.zing.cql.
CQLNode
Get the length needed to represent the given number.
O
OBJECTDESCRIPTOR
- Static variable in class org.z3950.zing.cql.
CQLNode
OBJECTIDENTIFIER
- Static variable in class org.z3950.zing.cql.
CQLNode
OCTETSTRING
- Static variable in class org.z3950.zing.cql.
CQLNode
org.z3950.zing.cql
- package org.z3950.zing.cql
P
parse(String)
- Method in class org.z3950.zing.cql.
CQLParser
Compiles a CQL query.
PQFTranslationException
- Exception in
org.z3950.zing.cql
Base class for exceptions occurring when translating parse trees to PQF.
prefix
- Variable in class org.z3950.zing.cql.
CQLPrefixNode
The prefix definition that governs the subtree.
PRIMITIVE
- Static variable in class org.z3950.zing.cql.
CQLNode
PRIVATE
- Static variable in class org.z3950.zing.cql.
CQLNode
putLen(int, byte[], int)
- Static method in class org.z3950.zing.cql.
CQLNode
Put a length directly into a BER record.
putNum(long, byte[], int)
- Static method in class org.z3950.zing.cql.
CQLNode
Put a number into a given buffer
putTag(int, int, int, byte[], int)
- Static method in class org.z3950.zing.cql.
CQLNode
R
renderPrefixes(int, Vector)
- Static method in class org.z3950.zing.cql.
CQLNode
renderSortKeys(int, Vector<ModifierSet>)
- Static method in class org.z3950.zing.cql.
CQLNode
right
- Variable in class org.z3950.zing.cql.
CQLBooleanNode
The root of a parse-tree representing the right-hand side.
S
SEQUENCE
- Static variable in class org.z3950.zing.cql.
CQLNode
SET
- Static variable in class org.z3950.zing.cql.
CQLNode
setModifiers(ModifierSet)
- Method in class org.z3950.zing.cql.
CQLRelation
Sets the modifiers of the specified CQLRelation.
sortKeyToXCQL(int)
- Method in class org.z3950.zing.cql.
ModifierSet
subtree
- Variable in class org.z3950.zing.cql.
CQLPrefixNode
The root of a parse-tree representing the part of the query that is governed by this prefix definition.
subtree
- Variable in class org.z3950.zing.cql.
CQLSortNode
The root of a subtree representing the query whose result is to be sorted.
T
toCQL()
- Method in class org.z3950.zing.cql.
CQLBooleanNode
toCQL()
- Method in class org.z3950.zing.cql.
CQLNode
Decompiles a parse-tree into a CQL query.
toCQL()
- Method in class org.z3950.zing.cql.
CQLPrefixNode
toCQL()
- Method in class org.z3950.zing.cql.
CQLRelation
toCQL()
- Method in class org.z3950.zing.cql.
CQLSortNode
toCQL()
- Method in class org.z3950.zing.cql.
CQLTermNode
toCQL()
- Method in class org.z3950.zing.cql.
Modifier
toCQL()
- Method in class org.z3950.zing.cql.
ModifierSet
toPQF(Properties)
- Method in class org.z3950.zing.cql.
CQLBooleanNode
toPQF(Properties)
- Method in class org.z3950.zing.cql.
CQLNode
Renders a parse-tree into a Yaz-style PQF string.
toPQF(Properties)
- Method in class org.z3950.zing.cql.
CQLPrefixNode
toPQF(Properties)
- Method in class org.z3950.zing.cql.
CQLRelation
toPQF(Properties)
- Method in class org.z3950.zing.cql.
CQLSortNode
toPQF(Properties)
- Method in class org.z3950.zing.cql.
CQLTermNode
toType1BER(Properties)
- Method in class org.z3950.zing.cql.
CQLBooleanNode
toType1BER(Properties)
- Method in class org.z3950.zing.cql.
CQLNode
Renders a parser-tree into a BER-endoded packet representing an equivalent Z39.50 Type-1 query.
toType1BER(Properties)
- Method in class org.z3950.zing.cql.
CQLPrefixNode
toType1BER(Properties)
- Method in class org.z3950.zing.cql.
CQLRelation
toType1BER(Properties)
- Method in class org.z3950.zing.cql.
CQLSortNode
toType1BER(Properties)
- Method in class org.z3950.zing.cql.
CQLTermNode
toXCQL(int, Vector<CQLPrefix>, Vector<ModifierSet>)
- Method in class org.z3950.zing.cql.
CQLBooleanNode
toXCQL(int)
- Method in class org.z3950.zing.cql.
CQLNode
Translates a parse-tree into an XCQL document.
toXCQL(int, Vector<CQLPrefix>)
- Method in class org.z3950.zing.cql.
CQLNode
toXCQL(int, Vector<CQLPrefix>, Vector<ModifierSet>)
- Method in class org.z3950.zing.cql.
CQLNode
toXCQL(int, Vector<CQLPrefix>, Vector<ModifierSet>)
- Method in class org.z3950.zing.cql.
CQLPrefixNode
toXCQL(int, Vector, Vector)
- Method in class org.z3950.zing.cql.
CQLRelation
toXCQL(int, Vector<CQLPrefix>, Vector<ModifierSet>)
- Method in class org.z3950.zing.cql.
CQLSortNode
toXCQL(int, Vector<CQLPrefix>, Vector<ModifierSet>)
- Method in class org.z3950.zing.cql.
CQLTermNode
toXCQL(int, String)
- Method in class org.z3950.zing.cql.
Modifier
toXCQL(int, String)
- Method in class org.z3950.zing.cql.
ModifierSet
U
UNIVERSAL
- Static variable in class org.z3950.zing.cql.
CQLNode
UnknownIndexException
- Exception in
org.z3950.zing.cql
Exception indicating that an index was not recognised.
UnknownIndexException(String)
- Constructor for exception org.z3950.zing.cql.
UnknownIndexException
Creates a new
UnknownIndexException
.
UnknownPositionException
- Exception in
org.z3950.zing.cql
Exception indicating that a position was not recognised.
UnknownPositionException(String)
- Constructor for exception org.z3950.zing.cql.
UnknownPositionException
Creates a new
UnknownPositionException
.
UnknownRelationException
- Exception in
org.z3950.zing.cql
Exception indicating that a relation was not recognised.
UnknownRelationException(String)
- Constructor for exception org.z3950.zing.cql.
UnknownRelationException
Creates a new
UnknownRelationException
.
UnknownRelationModifierException
- Exception in
org.z3950.zing.cql
Exception indicating that a relation modifier was not recognised.
UnknownRelationModifierException(String)
- Constructor for exception org.z3950.zing.cql.
UnknownRelationModifierException
Creates a new
UnknownRelationModifierException
.
V
V1POINT1
- Static variable in class org.z3950.zing.cql.
CQLParser
V1POINT1SORT
- Static variable in class org.z3950.zing.cql.
CQLParser
V1POINT2
- Static variable in class org.z3950.zing.cql.
CQLParser
VISIBLESTRING
- Static variable in class org.z3950.zing.cql.
CQLNode
X
xq(String)
- Static method in class org.z3950.zing.cql.
CQLNode
Returns the argument String quoted for XML.
A
B
C
E
G
I
L
M
N
O
P
R
S
T
U
V
X
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes