|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weblogic.jdbc.informix4.InformixColumnMetaData
Field Summary | |
protected int |
leadIntervalDigits
|
protected int |
totalIntervalBytes
|
protected int |
totalIntervalDigits
|
Method Summary | |
java.lang.Object |
clone()
|
java.lang.String |
getCatalogName()
What's a column's table's catalog name? |
int |
getColumnDisplaySize()
What's the column's normal max width in chars? |
java.lang.String |
getColumnLabel()
What's the suggested column title for use in printouts and displays? |
java.lang.String |
getColumnName()
What's a column's name? |
int |
getColumnType()
What's a column's SQL type? |
java.lang.String |
getColumnTypeName()
What's a column's data source specific type name? |
int |
getDefPrecision()
What's a column's default precision value? |
java.lang.String |
getEncoding()
Returns encoding method (character set) same as statement's. |
protected boolean |
getFlag(int iFlag)
|
int |
getInformixColumnType()
What's a column's SQL type? |
java.lang.String |
getInformixTypeName()
What's a column's informix column name. |
protected static InformixColumnMetaData |
getMeta(int informixType)
protected final static String xopenName(int xopenType) { switch(xopenType) // return the name of the given xopen type { case Types.BIT: return "bit"; case Types.TINYINT: return "tinyint"; case Types.SMALLINT: return "smallint"; case Types.INTEGER: return "integer"; case Types.BIGINT: return "bigint"; case Types.FLOAT: return "float"; case Types.REAL: return "real"; case Types.DOUBLE: return "double"; case Types.NUMERIC: return "numeric"; case Types.DECIMAL: return "decimal"; case Types.CHAR: return "char"; case Types.VARCHAR: return "varchar"; case Types.LONGVARCHAR: return "longvarchar"; case Types.DATE: return "date"; case Types.TIME: return "time"; case Types.TIMESTAMP: return "timestamp"; case Types.BINARY: return "binary"; case Types.VARBINARY: return "varbinary"; case Types.LONGVARBINARY: return "longvarbinary"; case Types.NULL: return "null"; case Types.OTHER: return "other"; } // DriverManager.println("InformixColumnMetaData.xopenName - xopenType " + xopenType + " is unknown"); return "OTHER"; // we don't know the name of this type } |
int |
getMetaScale()
What's a column's metanumber of digits to right of decimal? |
static InformixColumnMetaData[] |
getOrderedTypeInfo()
|
int |
getPrecision()
What's a column's number of decimal digits? |
int |
getScale()
What's a column's number of digits to right of decimal? |
java.lang.String |
getSchemaName()
What's a column's table's schema? |
int |
getSize()
Get the size of the column |
java.lang.String |
getTableName()
What's a column's table name? |
static InformixColumnMetaData[] |
getTypeInfo()
|
boolean |
isAutoIncrement()
Is the column automatically numbered, thus read-only? |
boolean |
isCaseSensitive()
Does a column's case matter? |
boolean |
isCurrency()
Is the column a cash value? |
boolean |
isDefinitelyWritable()
Will a write on the column definitely succeed? |
int |
isNullable()
Can you put a NULL in this column? |
boolean |
isReadOnly()
Is a column definitely not writable? |
boolean |
isSearchable()
Can the column be used in a where clause? |
boolean |
isSigned()
Is the column a signed number? |
boolean |
isWritable()
Is it possible for a write on the column to succeed? |
protected void |
readMetaData(SimpleInputStream inReply)
Read the metadata info from the stream |
protected void |
setFlag(int iFlag,
boolean enable)
Turn on or off one of the flags for this type. |
void |
setName(java.lang.String iName)
Set the name of this column, could be an empty string if not defined. |
protected void |
setPrecision(int iPrecision,
int iScale)
Set the precision (total number of digits) and the scale (number of decimal digits) of this type. |
protected void |
setSize(int iSize)
Change the size of the column, if kVariable or kNullable size could change at run time, could be 0 if sql null. |
java.lang.String |
toString()
|
static InformixColumnMetaData |
typeInfoFor(int inInformixType)
|
static void |
updateTypes(weblogic.jdbc.informix4.Connection iConnection)
|
Methods inherited from class java.lang.Object |
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
protected int leadIntervalDigits
protected int totalIntervalDigits
protected int totalIntervalBytes
Method Detail |
protected void readMetaData(SimpleInputStream inReply) throws java.io.IOException, java.sql.SQLException
protected void setSize(int iSize)
public int getSize()
public void setName(java.lang.String iName)
protected void setPrecision(int iPrecision, int iScale)
protected void setFlag(int iFlag, boolean enable)
protected boolean getFlag(int iFlag)
public boolean isAutoIncrement()
public boolean isCaseSensitive()
public boolean isSearchable()
public boolean isCurrency()
public int isNullable()
public boolean isSigned()
public int getColumnDisplaySize()
public java.lang.String getColumnLabel()
public java.lang.String getColumnName()
public int getPrecision()
public int getDefPrecision()
public int getScale()
public int getMetaScale()
public java.lang.String getSchemaName()
public java.lang.String getTableName()
public java.lang.String getCatalogName()
public int getColumnType()
public int getInformixColumnType()
public java.lang.String getInformixTypeName()
public java.lang.String getColumnTypeName()
public boolean isReadOnly()
public boolean isWritable()
public boolean isDefinitelyWritable()
public java.lang.String getEncoding()
public static InformixColumnMetaData typeInfoFor(int inInformixType)
public static InformixColumnMetaData[] getOrderedTypeInfo()
public static InformixColumnMetaData[] getTypeInfo()
public static void updateTypes(weblogic.jdbc.informix4.Connection iConnection)
protected static final InformixColumnMetaData getMeta(int informixType) throws java.sql.SQLException
public java.lang.Object clone()
public java.lang.String toString()
|
Documentation is available at http://e-docs.bea.com/wls/docs61 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |