public class JdbcArray extends TraceObject implements Array
ARRAY, BLOB, CALLABLE_STATEMENT, CLOB, CONNECTION, DATA_SOURCE, DATABASE_META_DATA, PARAMETER_META_DATA, PREPARED_STATEMENT, RESULT_SET, RESULT_SET_META_DATA, SAVEPOINT, SQL_EXCEPTION, STATEMENT, trace, XA_DATA_SOURCE, XA_RESOURCE, XID| Modifier and Type | Method and Description |
|---|---|
void |
free()
Release all resources of this object.
|
Object |
getArray()
Returns the value as a Java array.
|
Object |
getArray(long index,
int count)
Returns the value as a Java array.
|
Object |
getArray(long index,
int count,
Map<String,Class<?>> map)
Returns the value as a Java array.
|
Object |
getArray(Map<String,Class<?>> map)
Returns the value as a Java array.
|
int |
getBaseType()
Returns the base type of the array.
|
String |
getBaseTypeName()
Returns the base type name of the array.
|
ResultSet |
getResultSet()
Returns the value as a result set.
|
ResultSet |
getResultSet(long index,
int count)
Returns the value as a result set.
|
ResultSet |
getResultSet(long index,
int count,
Map<String,Class<?>> map)
Returns the value as a result set.
|
ResultSet |
getResultSet(Map<String,Class<?>> map)
Returns the value as a result set.
|
String |
toString()
INTERNAL
|
debugCode, debugCodeAssign, debugCodeCall, debugCodeCall, debugCodeCall, getNextId, getTrace, getTraceId, getTraceObjectName, isDebugEnabled, isInfoEnabled, logAndConvert, quote, quoteArray, quoteBigDecimal, quoteBytes, quoteDate, quoteIntArray, quoteMap, quoteTime, quoteTimestamp, setTrace, unsupportedpublic Object getArray() throws SQLException
getArray in interface ArraySQLExceptionpublic Object getArray(Map<String,Class<?>> map) throws SQLException
getArray in interface Arraymap - is ignored. Only empty or null maps are supportedSQLExceptionpublic Object getArray(long index, int count) throws SQLException
getArray in interface Arrayindex - the start index of the subset (starting with 1)count - the maximum number of valuesSQLExceptionpublic Object getArray(long index, int count, Map<String,Class<?>> map) throws SQLException
getArray in interface Arrayindex - the start index of the subset (starting with 1)count - the maximum number of valuesmap - is ignored. Only empty or null maps are supportedSQLExceptionpublic int getBaseType()
throws SQLException
getBaseType in interface ArraySQLExceptionpublic String getBaseTypeName() throws SQLException
getBaseTypeName in interface ArraySQLExceptionpublic ResultSet getResultSet() throws SQLException
getResultSet in interface ArraySQLExceptionpublic ResultSet getResultSet(Map<String,Class<?>> map) throws SQLException
getResultSet in interface Arraymap - is ignored. Only empty or null maps are supportedSQLExceptionpublic ResultSet getResultSet(long index, int count) throws SQLException
getResultSet in interface Arrayindex - the start index of the subset (starting with 1)count - the maximum number of valuesSQLExceptionpublic ResultSet getResultSet(long index, int count, Map<String,Class<?>> map) throws SQLException
getResultSet in interface Arrayindex - the start index of the subset (starting with 1)count - the maximum number of valuesmap - is ignored. Only empty or null maps are supportedSQLExceptionCopyright © 2012 JBoss by Red Hat. All Rights Reserved.