Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- addModifier(String) - Method in class org.z3950.zing.cql.ModifierSet
-
Adds a modifier of the specified
type, but with nocomparisonandvalue, to a ModifierSet. - addModifier(String, String, String) - Method in class org.z3950.zing.cql.ModifierSet
-
Adds a modifier of the specified
type,comparisonandvalueto a ModifierSet. - addSortIndex(ModifierSet) - Method in class org.z3950.zing.cql.CQLSortNode
- allowKeywordTerms - Variable in class org.z3950.zing.cql.CQLParser
- AND - Enum constant in enum class org.z3950.zing.cql.CQLBoolean
-
AND is the same as CQL's "and"
- 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.
- CQLBoolean - Enum Class in org.z3950.zing.cql
-
Represents a boolean operator in CQL.
- CQLBooleanNode - Class in org.z3950.zing.cql
-
Represents a boolean node in a CQL parse-tree.
- CQLBooleanNode(CQLNode, CQLNode, ModifierSet, CQLBoolean) - Constructor for class org.z3950.zing.cql.CQLBooleanNode
- CQLDefaultNodeVisitor - Class in org.z3950.zing.cql
-
Query tree visitor with default (no-op) implementation
- CQLDefaultNodeVisitor() - Constructor for class org.z3950.zing.cql.CQLDefaultNodeVisitor
- 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.
- CQLLexer - Class in org.z3950.zing.cql
-
Implementation of the CQL lexical syntax analyzer
- CQLLexer(String, boolean) - Constructor for class org.z3950.zing.cql.CQLLexer
- CQLNode - Class in org.z3950.zing.cql
-
Represents a node in a CQL parse-tree.
- CQLNode() - Constructor for class org.z3950.zing.cql.CQLNode
- CQLNodeVisitor - Interface in org.z3950.zing.cql
-
Allows to visit different types of nodes in the query 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 Class in org.z3950.zing.cql
-
Exception indicating that an error ocurred parsing CQL.
- CQLParseException(String, int) - Constructor for exception class 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() - Constructor for class org.z3950.zing.cql.CQLParser
-
The new parser implements CQL 1.2
- CQLParser(int) - Constructor for class org.z3950.zing.cql.CQLParser
-
The new parser implements a dialect of CQL specified by the
compatargument: 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(int, boolean) - Constructor for class org.z3950.zing.cql.CQLParser
-
Official CQL grammar allows registered keywords like 'and/or/not/sortby/prox' to be used unquoted in terms.
- 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,relationandterm. - CQLTokenizer - Interface in org.z3950.zing.cql
-
API bridge between the parser and lexer implementation
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.
- getEnd() - Method in class org.z3950.zing.cql.CQLLexer
-
Returns the current token's exclusive UTF-16 source end, or -1 before the first move.
- getEnd() - Method in class org.z3950.zing.cql.CQLNode
-
Returns the exclusive source end, suitable for
query.substring(getStart(), getEnd()). - getEnd() - Method in class org.z3950.zing.cql.Modifier
-
Returns the exclusive source end, suitable for
query.substring(getStart(), getEnd()). - getEnd() - Method in class org.z3950.zing.cql.ModifierSet
-
Returns the exclusive source end, suitable for
query.substring(getStart(), getEnd()). - getIdentifier() - Method in class org.z3950.zing.cql.CQLPrefix
-
The full identifier name of the prefix mapping.
- getIndex() - Method in class org.z3950.zing.cql.CQLTermNode
- getLeftOperand() - Method in class org.z3950.zing.cql.CQLBooleanNode
-
The root of a parse-tree representing the left-hand side.
- getModifiers() - Method in class org.z3950.zing.cql.CQLBooleanNode
-
The set of modifiers that are applied to this boolean.
- 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.
- getName() - Method in class org.z3950.zing.cql.CQLPrefix
-
The short name of the prefix mapping.
- getOperator() - Method in class org.z3950.zing.cql.CQLBooleanNode
- getPosition() - Method in exception class org.z3950.zing.cql.CQLParseException
-
Character position of the parsing error.
- getPrefix() - Method in class org.z3950.zing.cql.CQLPrefixNode
-
The prefix definition that governs the subtree.
- 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
- getRightOperand() - Method in class org.z3950.zing.cql.CQLBooleanNode
-
The root of a parse-tree representing the right-hand side.
- getSortIndexes() - Method in class org.z3950.zing.cql.CQLSortNode
- getStart() - Method in class org.z3950.zing.cql.CQLLexer
-
Returns the current token's inclusive UTF-16 source start, or -1 before the first move.
- getStart() - Method in class org.z3950.zing.cql.CQLNode
-
Returns the inclusive source start of this node (including its subtree and enclosing parentheses).
- getStart() - Method in class org.z3950.zing.cql.Modifier
-
Returns the inclusive source start of this modifier (including the leading slash).
- getStart() - Method in class org.z3950.zing.cql.ModifierSet
-
Returns the inclusive source start of this base and its modifiers.
- getSubtree() - Method 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.
- getSubtree() - 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
L
- 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.CQLLexer
- 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 Class in org.z3950.zing.cql
-
Exception indicating that a required property was not specified.
- MissingParameterException(String) - Constructor for exception class org.z3950.zing.cql.MissingParameterException
-
Creates a new
MissingParameterException. - 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.
- Modifier - Class in org.z3950.zing.cql
-
Represents a single modifier, consisting of three elements: a type, a comparison and a 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, String, String) - Constructor for class org.z3950.zing.cql.Modifier
-
Creates a new Modifier with the specified type, comparison and value.
- 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.
- move() - Method in class org.z3950.zing.cql.CQLLexer
- move() - Method in interface org.z3950.zing.cql.CQLTokenizer
-
Consume next input token
N
- NOT - Enum constant in enum class org.z3950.zing.cql.CQLBoolean
-
NOT is the same as CQL's "not"
- 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
- onBooleanNodeEnd(CQLBooleanNode) - Method in class org.z3950.zing.cql.CQLDefaultNodeVisitor
- onBooleanNodeEnd(CQLBooleanNode) - Method in interface org.z3950.zing.cql.CQLNodeVisitor
- onBooleanNodeOp(CQLBooleanNode) - Method in class org.z3950.zing.cql.CQLDefaultNodeVisitor
- onBooleanNodeOp(CQLBooleanNode) - Method in interface org.z3950.zing.cql.CQLNodeVisitor
- onBooleanNodeStart(CQLBooleanNode) - Method in class org.z3950.zing.cql.CQLDefaultNodeVisitor
- onBooleanNodeStart(CQLBooleanNode) - Method in interface org.z3950.zing.cql.CQLNodeVisitor
- onPrefixNode(CQLPrefixNode) - Method in class org.z3950.zing.cql.CQLDefaultNodeVisitor
- onPrefixNode(CQLPrefixNode) - Method in interface org.z3950.zing.cql.CQLNodeVisitor
- onRelation(CQLRelation) - Method in class org.z3950.zing.cql.CQLDefaultNodeVisitor
- onRelation(CQLRelation) - Method in interface org.z3950.zing.cql.CQLNodeVisitor
- onSortNode(CQLSortNode) - Method in class org.z3950.zing.cql.CQLDefaultNodeVisitor
- onSortNode(CQLSortNode) - Method in interface org.z3950.zing.cql.CQLNodeVisitor
- onTermNode(CQLTermNode) - Method in class org.z3950.zing.cql.CQLDefaultNodeVisitor
- onTermNode(CQLTermNode) - Method in interface org.z3950.zing.cql.CQLNodeVisitor
- OR - Enum constant in enum class org.z3950.zing.cql.CQLBoolean
-
OR is the same as CQL's "or"
- org.z3950.zing.cql - package org.z3950.zing.cql
P
- parse(String) - Method in class org.z3950.zing.cql.CQLParser
-
Compiles a CQL query.
- pos() - Method in class org.z3950.zing.cql.CQLLexer
- pos() - Method in interface org.z3950.zing.cql.CQLTokenizer
- PQFTranslationException - Exception Class in org.z3950.zing.cql
-
Base class for exceptions occurring when translating parse trees to PQF.
- PRIMITIVE - Static variable in class org.z3950.zing.cql.CQLNode
- PRIVATE - Static variable in class org.z3950.zing.cql.CQLNode
- PROX - Enum constant in enum class org.z3950.zing.cql.CQLBoolean
-
PROX is the same as CQL's "prox"
- 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
- registerCustomRelation(String) - Method in class org.z3950.zing.cql.CQLParser
-
Registers custom relation in this parser.
- render() - Method in class org.z3950.zing.cql.CQLLexer
- render() - Method in interface org.z3950.zing.cql.CQLTokenizer
-
Render the type and value of the last consumed token
- render(int, boolean) - Method in class org.z3950.zing.cql.CQLLexer
- render(int, boolean) - Method in interface org.z3950.zing.cql.CQLTokenizer
-
Render specified token type
S
- SEQUENCE - Static variable in class org.z3950.zing.cql.CQLNode
- SET - Static variable in class org.z3950.zing.cql.CQLNode
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
- toString() - Method in class org.z3950.zing.cql.CQLNode
- 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() - Method in class org.z3950.zing.cql.CQLNode
-
Translates a parse-tree into an XCQL document.
- traverse(CQLNodeVisitor) - Method in class org.z3950.zing.cql.CQLBooleanNode
- traverse(CQLNodeVisitor) - Method in class org.z3950.zing.cql.CQLNode
- traverse(CQLNodeVisitor) - Method in class org.z3950.zing.cql.CQLPrefixNode
- traverse(CQLNodeVisitor) - Method in class org.z3950.zing.cql.CQLRelation
- traverse(CQLNodeVisitor) - Method in class org.z3950.zing.cql.CQLSortNode
- traverse(CQLNodeVisitor) - Method in class org.z3950.zing.cql.CQLTermNode
- TT_AND - Static variable in interface org.z3950.zing.cql.CQLTokenizer
- TT_EOF - Static variable in interface org.z3950.zing.cql.CQLTokenizer
- TT_EQEQ - Static variable in interface org.z3950.zing.cql.CQLTokenizer
- TT_GE - Static variable in interface org.z3950.zing.cql.CQLTokenizer
- TT_LE - Static variable in interface org.z3950.zing.cql.CQLTokenizer
- TT_NE - Static variable in interface org.z3950.zing.cql.CQLTokenizer
- TT_NOT - Static variable in interface org.z3950.zing.cql.CQLTokenizer
- TT_NOTHING - Static variable in interface org.z3950.zing.cql.CQLTokenizer
- TT_OR - Static variable in interface org.z3950.zing.cql.CQLTokenizer
- TT_PROX - Static variable in interface org.z3950.zing.cql.CQLTokenizer
- TT_SORTBY - Static variable in interface org.z3950.zing.cql.CQLTokenizer
- TT_STRING - Static variable in interface org.z3950.zing.cql.CQLTokenizer
- TT_WORD - Static variable in interface org.z3950.zing.cql.CQLTokenizer
U
- UNIVERSAL - Static variable in class org.z3950.zing.cql.CQLNode
- UnknownIndexException - Exception Class in org.z3950.zing.cql
-
Exception indicating that an index was not recognised.
- UnknownIndexException(String) - Constructor for exception class org.z3950.zing.cql.UnknownIndexException
-
Creates a new
UnknownIndexException. - UnknownPositionException - Exception Class in org.z3950.zing.cql
-
Exception indicating that a position was not recognised.
- UnknownPositionException(String) - Constructor for exception class org.z3950.zing.cql.UnknownPositionException
-
Creates a new
UnknownPositionException. - UnknownRelationException - Exception Class in org.z3950.zing.cql
-
Exception indicating that a relation was not recognised.
- UnknownRelationException(String) - Constructor for exception class org.z3950.zing.cql.UnknownRelationException
-
Creates a new
UnknownRelationException. - UnknownRelationModifierException - Exception Class in org.z3950.zing.cql
-
Exception indicating that a relation modifier was not recognised.
- UnknownRelationModifierException(String) - Constructor for exception class org.z3950.zing.cql.UnknownRelationModifierException
-
Creates a new
UnknownRelationModifierException. - UnknownTruncationException - Exception Class in org.z3950.zing.cql
-
Exception indicating that a truncation was not recognised.
- UnknownTruncationException(String) - Constructor for exception class org.z3950.zing.cql.UnknownTruncationException
-
Creates a new
UnknownTruncationException. - unregisterCustomRelation(String) - Method in class org.z3950.zing.cql.CQLParser
-
Unregisters previously registered custom relation in this instance of the parser.
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
- value() - Method in class org.z3950.zing.cql.CQLLexer
- value() - Method in interface org.z3950.zing.cql.CQLTokenizer
-
Return the value of the last consumed token
- valueOf(String) - Static method in enum class org.z3950.zing.cql.CQLBoolean
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.z3950.zing.cql.CQLBoolean
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VISIBLESTRING - Static variable in class org.z3950.zing.cql.CQLNode
W
- what() - Method in class org.z3950.zing.cql.CQLLexer
- what() - Method in interface org.z3950.zing.cql.CQLTokenizer
-
Return the type of the last consumed token
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form