public class JdbcArray extends TraceObject implements java.sql.Array
ARRAY, BLOB, CALLABLE_STATEMENT, CLOB, CONNECTION, DATA_SOURCE, DATABASE_META_DATA, PARAMETER_META_DATA, PREPARED_STATEMENT, RESULT_SET, RESULT_SET_META_DATA, SAVEPOINT, STATEMENT, trace, XA_DATA_SOURCE, XID| Constructor and Description |
|---|
JdbcArray(JdbcConnection conn,
Value value,
int id)
INTERNAL
|
| Modifier and Type | Method and Description |
|---|---|
void |
free()
Release all resources of this object.
|
java.lang.Object |
getArray()
Returns the value as a Java array.
|
java.lang.Object |
getArray(long index,
int count)
Returns the value as a Java array.
|
java.lang.Object |
getArray(long index,
int count,
java.util.Map<java.lang.String,java.lang.Class<?>> map)
Returns the value as a Java array.
|
java.lang.Object |
getArray(java.util.Map<java.lang.String,java.lang.Class<?>> map)
Returns the value as a Java array.
|
int |
getBaseType()
Returns the base type of the array.
|
java.lang.String |
getBaseTypeName()
Returns the base type name of the array.
|
java.sql.ResultSet |
getResultSet()
Returns the value as a result set.
|
java.sql.ResultSet |
getResultSet(long index,
int count)
Returns the value as a result set.
|
java.sql.ResultSet |
getResultSet(long index,
int count,
java.util.Map<java.lang.String,java.lang.Class<?>> map)
Returns the value as a result set.
|
java.sql.ResultSet |
getResultSet(java.util.Map<java.lang.String,java.lang.Class<?>> map)
Returns the value as a result set.
|
java.lang.String |
toString()
INTERNAL
|
debugCode, debugCodeAssign, debugCodeCall, debugCodeCall, debugCodeCall, getNextId, getTraceId, getTraceObjectName, isDebugEnabled, isInfoEnabled, logAndConvert, quote, quoteArray, quoteBigDecimal, quoteBytes, quoteDate, quoteIntArray, quoteMap, quoteTime, quoteTimestamp, setTrace, unsupportedpublic JdbcArray(JdbcConnection conn, Value value, int id)
public java.lang.Object getArray()
throws java.sql.SQLException
getArray in interface java.sql.Arrayjava.sql.SQLExceptionpublic java.lang.Object getArray(java.util.Map<java.lang.String,java.lang.Class<?>> map)
throws java.sql.SQLException
getArray in interface java.sql.Arraymap - is ignored. Only empty or null maps are supportedjava.sql.SQLExceptionpublic java.lang.Object getArray(long index,
int count)
throws java.sql.SQLException
getArray in interface java.sql.Arrayindex - the start index of the subset (starting with 1)count - the maximum number of valuesjava.sql.SQLExceptionpublic java.lang.Object getArray(long index,
int count,
java.util.Map<java.lang.String,java.lang.Class<?>> map)
throws java.sql.SQLException
getArray in interface java.sql.Arrayindex - the start index of the subset (starting with 1)count - the maximum number of valuesmap - is ignored. Only empty or null maps are supportedjava.sql.SQLExceptionpublic int getBaseType()
throws java.sql.SQLException
getBaseType in interface java.sql.Arrayjava.sql.SQLExceptionpublic java.lang.String getBaseTypeName()
throws java.sql.SQLException
getBaseTypeName in interface java.sql.Arrayjava.sql.SQLExceptionpublic java.sql.ResultSet getResultSet()
throws java.sql.SQLException
getResultSet in interface java.sql.Arrayjava.sql.SQLExceptionpublic java.sql.ResultSet getResultSet(java.util.Map<java.lang.String,java.lang.Class<?>> map)
throws java.sql.SQLException
getResultSet in interface java.sql.Arraymap - is ignored. Only empty or null maps are supportedjava.sql.SQLExceptionpublic java.sql.ResultSet getResultSet(long index,
int count)
throws java.sql.SQLException
getResultSet in interface java.sql.Arrayindex - the start index of the subset (starting with 1)count - the maximum number of valuesjava.sql.SQLExceptionpublic java.sql.ResultSet getResultSet(long index,
int count,
java.util.Map<java.lang.String,java.lang.Class<?>> map)
throws java.sql.SQLException
getResultSet in interface java.sql.Arrayindex - the start index of the subset (starting with 1)count - the maximum number of valuesmap - is ignored. Only empty or null maps are supportedjava.sql.SQLExceptionpublic void free()
free in interface java.sql.Arraypublic java.lang.String toString()
toString in class java.lang.Object