|
Oracle10g JDBC | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.sql.TypeDescriptor
oracle.sql.ArrayDescriptor
Field Summary | |
static java.lang.String |
BUILD_DATE
|
static int |
CACHE_ALL
|
static int |
CACHE_LAST
|
static int |
CACHE_NONE
|
static boolean |
PRIVATE_TRACE
|
static boolean |
TRACE
|
static int |
TYPE_NESTED_TABLE
|
static int |
TYPE_VARRAY
|
Fields inherited from class oracle.sql.TypeDescriptor |
DEBUG_SERIALIZATION |
Method Summary | |
static ArrayDescriptor |
createDescriptor(java.lang.String name,
java.sql.Connection conn)
Descriptor factory. |
java.lang.String |
descType()
Describe the collection type. |
int |
getArrayType()
Return the database type of the array. |
java.lang.String |
getBaseName()
In case the elements are named types the fully qualified name of their type.Otherwise, return type name used by the database |
int |
getBaseType()
Return element's type code. |
long |
getMaxLength()
Return the maximun number of elements this array object can hold. |
int |
getTypeCode()
|
java.sql.ResultSet |
toResultSet(ARRAY array,
long index,
int count,
java.util.Map map,
boolean saveLocalCopy)
|
java.sql.ResultSet |
toResultSetFromImage(ARRAY array,
long index,
int count,
java.util.Map map)
|
Methods inherited from class oracle.sql.TypeDescriptor |
getName, getSubtypeName, setConnection |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int TYPE_VARRAY
public static final int TYPE_NESTED_TABLE
public static final int CACHE_NONE
public static final int CACHE_ALL
public static final int CACHE_LAST
public static final boolean TRACE
public static final boolean PRIVATE_TRACE
public static final java.lang.String BUILD_DATE
Method Detail |
public static ArrayDescriptor createDescriptor(java.lang.String name, java.sql.Connection conn) throws java.sql.SQLException
name
- a String naming the type. (Not necessarily fully qualified)
java.sql.SQLException
- if the name does not name an array type.public int getBaseType() throws java.sql.SQLException
java.sql.SQLException
public java.lang.String getBaseName() throws java.sql.SQLException
java.sql.SQLException
- if the element's type is not named.public int getArrayType() throws java.sql.SQLException
java.sql.SQLException
public long getMaxLength() throws java.sql.SQLException
java.sql.SQLException
public java.lang.String descType() throws java.sql.SQLException
java.sql.SQLException
public java.sql.ResultSet toResultSet(ARRAY array, long index, int count, java.util.Map map, boolean saveLocalCopy) throws java.sql.SQLException
java.sql.SQLException
public java.sql.ResultSet toResultSetFromImage(ARRAY array, long index, int count, java.util.Map map) throws java.sql.SQLException
java.sql.SQLException
public int getTypeCode() throws java.sql.SQLException
java.sql.SQLException
|
Oracle10g JDBC | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |