|
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.RequestExp
The RequestExp class represents a node in an expression tree.
This node can be a column reference, a constant value,
an unbound parameter or an operator.
An unbound parameter is similar to a constant. However, its
value is unknown until the run-time phase when the federated
server passes the value to the wrapper.
Usage:
A RequestExp object is never instantiated by the wrapper. The
federated server creates these objects and passes them to the
wrapper during query planning.
Field Summary | |
static int |
BADKIND
Constant to indicate that the expression is unknown. |
static int |
COLUMN
Constant to indicate that the expression is a column. |
static int |
CONSTANT
Constant to indicate that the expression is a constant. |
static int |
OPERATOR
Constant to indicate that the expression is an operator. |
static int |
UNBOUND
Constant to indicate that the expression is an unbound parameter. |
Method Summary | |
java.lang.String |
getColumnName()
Column expression node: Retrieve the column name. |
RequestExpType |
getDataType()
Retrieve the object that describes the data type of the expression. |
RequestExp |
getFirstChild()
Operator expression node: Retrieve the first child of the operator. |
int |
getHandle()
Retrieve the expression handle. |
int |
getKind()
Retrieve the kind of the expression. |
RequestExp |
getNextChild()
Retrieve the sibling of the expression. |
int |
getNumberOfChildren()
Operator expression node: Retrieve the number of children for the operator. |
RequestExp |
getParent()
Retrieve the parent node of the expression. |
Quantifier |
getQuantifier()
Column expression node: Retrieve the quantifier to which this column belongs. |
java.lang.String |
getSignature()
Operator expression node: Retrieve the signature of the operator. |
java.lang.String |
getToken()
Operator expression node: Retrieve the token of the operator. |
RequestConstant |
getValue()
Constant expression node: Retrieve the RequestConstant object that represents the value of the constant. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int BADKIND
public static final int COLUMN
public static final int CONSTANT
public static final int OPERATOR
public static final int UNBOUND
Method Detail |
public java.lang.String getColumnName() throws WrapperException
WrapperException
- if the method is called for non-column expression nodes.public RequestExpType getDataType()
RequestExpType
public RequestExp getFirstChild() throws WrapperException
WrapperException
- if the method is called for non-operator expression nodes.public int getHandle()
public int getKind()
public RequestExp getNextChild()
public int getNumberOfChildren() throws WrapperException
WrapperException
- if the method is called for non-operator expression nodes.public RequestExp getParent()
public Quantifier getQuantifier() throws WrapperException
WrapperException
- if the method is called for non-column expression nodes.public java.lang.String getSignature() throws WrapperException
WrapperException
- if the method is called for non-operator expression nodes.public java.lang.String getToken() throws WrapperException
WrapperException
- if the method is called for non-operator expression nodes.public RequestConstant getValue() throws WrapperException
WrapperException
- if the method is called for non-constant expression nodes.RequestConstant
|
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.