vortex
Class dbDescriptor

java.lang.Object
  extended by vortex.dbDescriptor

public class dbDescriptor
extends java.lang.Object

RDBMS data descriptors. After a fetch() is performed all the output columns will be described in these objects. Use dbCursor.numOutputCols() and dbCursor.getColDesc() to access a dbDescriptor.

Because all numeric data is retrieved in the network independent dbNumber format precision and scale can be used to determine the original numeric type.


Field Summary
 int cnl
          Name length.
 int dtd
          Original database data type.
 int dto
          Original data type.
 int flag
          Flag
 int length
          Maximum length of output column.
 java.lang.String name
          Name of the output column.
 boolean nullsAllowed
          NULL values allowed in underlying RDBMS column.
 int precision
          Precision of a numeric output column.
 int scale
          Scale of a numeric output column.
 int type
          Data type of output column.
 
Constructor Summary
dbDescriptor()
           
 
Method Summary
 boolean isLargeObject()
          Return true if a Binary (BLOB) or Character (CLOB) Large OBject.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

type

public int type
Data type of output column. The following are the possible types:


dto

public int dto
Original data type.


dtd

public int dtd
Original database data type.


length

public int length
Maximum length of output column.


name

public java.lang.String name
Name of the output column. If the output column is an expression the name will depend on how the underlying RDBMS returns it.


nullsAllowed

public boolean nullsAllowed
NULL values allowed in underlying RDBMS column.


precision

public int precision
Precision of a numeric output column.


scale

public int scale
Scale of a numeric output column.


cnl

public int cnl
Name length.


flag

public int flag
Flag

Constructor Detail

dbDescriptor

public dbDescriptor()
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

isLargeObject

public boolean isLargeObject()
Return true if a Binary (BLOB) or Character (CLOB) Large OBject.



Updated May 06 2016