|
IBM DB2 Information Integrator Java API Reference for Developing Wrappers |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.db2.wrapper.ParsedQueryFragment
The ParsedQueryFragment class represents the base class of both the
Request
class and Reply
class.
The ParsedQueryFragment class describes a query fragment. The query fragment
is composed of SELECT, FROM, WHERE and ORDER BY clauses. Each clause is
represented by an array of objects. The methods of this class return the size
of the arrays, the entries and the associated data structures.
Method Summary | |
boolean |
getDistinct()
Test the DISTINCT indicator (SELECT DISTINCT clause). |
RequestExp |
getHeadExp(int position)
Retrieve the expression at the specified position in the SELECT clause. |
UnfencedGenericNickname |
getNickname(int position)
Retrieve the nickname that corresponds to the specified position in the FROM clause. |
int |
getNumberOfHeadExp()
Retrieve the number of elements in the SELECT clause. |
int |
getNumberOfPredicates()
Retrieve the number of elements (predicates) in the WHERE clause. |
int |
getNumberOfQuantifiers()
Retrieve the number of elements (quantifiers) in the FROM clause. |
RequestExp |
getPredicate(int position)
Retrieve the predicate expression at the specified position in the WHERE clause. |
Quantifier |
getQuantifier(int position)
Retrieve the quantifier at the specified position in the FROM clause. |
Quantifier |
getQuantifierByHandle(int quantifierHandle)
Retrieve the quantifier with the specified handle in the FROM clause. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public final boolean getDistinct()
public final RequestExp getHeadExp(int position)
position
- The position of the head expression in the SELECT clause.
The first head expression is at position 1.
RequestExp
public final UnfencedGenericNickname getNickname(int position)
position
- The position of the quantifier in the FROM clause.
The first quantifier is at position 1.
UnfencedGenericNickname
public final int getNumberOfHeadExp()
public final int getNumberOfPredicates()
public final int getNumberOfQuantifiers()
public final RequestExp getPredicate(int position)
position
- The position of the predicate in the WHERE clause.
The first predicate is at position 1.
RequestExp
public final Quantifier getQuantifier(int position)
position
- The quantifier position in the FROM clause.
The first quantifier is at position 1.
Quantifier
public final Quantifier getQuantifierByHandle(int quantifierHandle)
quantifierHandle
- The quantifier handle.
Quantifier
|
IBM DB2 Information Integrator Java API Reference for Developing Wrappers |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
(C)Copyright IBM Corp. 2002. All rights reserved.
Links on this page are made available for your convenience and may take you to non-IBM sites. IBM does not warrant any sample code provided on these sites.