|
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.Data
com.ibm.db2.wrapper.RequestConstant
The RequestConstant class describes a constant that is used in a query
expression during query planning.
The RequestExp.getValue
method returns an
instance of the RequestConstant class.
Field Summary |
Fields inherited from class com.ibm.db2.wrapper.Data |
BLOB, CHAR, CLOB, DATE, DECIMAL, DOUBLE, FLOAT, INT, LONG, NONE, SHORT, SQL_NO_NULLS, SQL_NULLABLE, SQL_NULLABLE_UNKNOWN, TIME, TIMESTAMP, VARCHAR |
Method Summary | |
short |
getCodepage()
Retrieve the code page for character data types. |
protected byte[] |
getData()
Retrieve the data buffer in an internal format. |
short |
getDataType()
Retrieve the data type. |
boolean |
getForBitData()
Retrieve the FOR BIT DATA flag. |
int |
getMaximumLength()
Retrieve the maximum length for the data type. |
java.lang.String |
getName()
Retrieve the name of the constant, if defined. |
short |
getNullIndicator()
Retrieve the null indicator. |
byte |
getPrecision()
Retrieve the precision for numeric data types. |
byte |
getScale()
Retrieve the scale for numeric data types. |
boolean |
isDataNull()
Indicate whether the constant is null. |
Methods inherited from class com.ibm.db2.wrapper.Data |
getBigDecimal, getByte, getDate, getDouble, getFloat, getInt, getLong, getObject, getShort, getString, getTime, getTimestamp |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public short getCodepage()
protected byte[] getData()
getData
in class Data
public short getDataType()
getDataType
in class Data
public boolean getForBitData()
getForBitData
in class Data
public int getMaximumLength()
public java.lang.String getName()
public short getNullIndicator()
Data.SQL_NULLABLE
or Data.SQL_NO_NULLS
public byte getPrecision()
public byte getScale()
public boolean isDataNull()
|
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.