IBM DB2 Information Integrator
Java API Reference
for Developing Wrappers

com.ibm.db2.wrapper
Class RequestExpType

java.lang.Object
  extended bycom.ibm.db2.wrapper.RequestExpType

public final class RequestExpType
extends java.lang.Object

The RequestExpType class describes the type of node in an expression tree. This node can be a column reference, a constant value, an unbound parameter or an operator.

Usage:
The wrapper never instantiates a RequestExpType object. The federated server creates these objects and passes them to the wrapper during query planning.

Since:
IBM DB2 Information Integrator Version 8.2

Method Summary
 short getCodepage()
          Retrieve the code page for character data types.
 short getDataType()
          Retrieve the data type.
 boolean getForBitData()
          Retrieve the FOR BIT DATA flag which indicates whether the data is in binary format.
 int getMaximumLength()
          Retrieve the maximum length for the data type.
 java.lang.String getName()
          Retrieve the name of the data type.
 short getNullIndicator()
          Retrieve the null indicator value.
 byte getPrecision()
          Retrieve the precision for numeric data types.
 byte getScale()
          Retrieve the scale for numeric data types.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getCodepage

public short getCodepage()
Retrieve the code page for character data types.

Returns:
The code page.
Since:
IBM DB2 Information Integrator Version 8.2

getDataType

public short getDataType()
Retrieve the data type.

Returns:
The data type.
Since:
IBM DB2 Information Integrator Version 8.2

getForBitData

public boolean getForBitData()
Retrieve the FOR BIT DATA flag which indicates whether the data is in binary format.

Returns:
The FOR BIT DATA flag.
Since:
IBM DB2 Information Integrator Version 8.2

getMaximumLength

public int getMaximumLength()
Retrieve the maximum length for the data type.

Returns:
The maximum length.
Since:
IBM DB2 Information Integrator Version 8.2

getName

public java.lang.String getName()
Retrieve the name of the data type.

Returns:
The name.
Since:
IBM DB2 Information Integrator Version 8.2

getNullIndicator

public short getNullIndicator()
Retrieve the null indicator value.

Returns:
The null indicator which is Data.SQL_NULLABLE or Data.SQL_NO_NULLS
Since:
IBM DB2 Information Integrator Version 8.2

getPrecision

public byte getPrecision()
Retrieve the precision for numeric data types.

Returns:
The precision.
Since:
IBM DB2 Information Integrator Version 8.2

getScale

public byte getScale()
Retrieve the scale for numeric data types.

Returns:
The scale.
Since:
IBM DB2 Information Integrator Version 8.2

IBM DB2 Information Integrator
Java API Reference
for Developing Wrappers

(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.