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, unsupported
public Object getArray() throws SQLException
getArray
in interface Array
SQLException
public Object getArray(Map<String,Class<?>> map) throws SQLException
getArray
in interface Array
map
- is ignored. Only empty or null maps are supportedSQLException
public Object getArray(long index, int count) throws SQLException
getArray
in interface Array
index
- the start index of the subset (starting with 1)count
- the maximum number of valuesSQLException
public Object getArray(long index, int count, Map<String,Class<?>> map) throws SQLException
getArray
in interface Array
index
- the start index of the subset (starting with 1)count
- the maximum number of valuesmap
- is ignored. Only empty or null maps are supportedSQLException
public int getBaseType() throws SQLException
getBaseType
in interface Array
SQLException
public String getBaseTypeName() throws SQLException
getBaseTypeName
in interface Array
SQLException
public ResultSet getResultSet() throws SQLException
getResultSet
in interface Array
SQLException
public ResultSet getResultSet(Map<String,Class<?>> map) throws SQLException
getResultSet
in interface Array
map
- is ignored. Only empty or null maps are supportedSQLException
public ResultSet getResultSet(long index, int count) throws SQLException
getResultSet
in interface Array
index
- the start index of the subset (starting with 1)count
- the maximum number of valuesSQLException
public ResultSet getResultSet(long index, int count, Map<String,Class<?>> map) throws SQLException
getResultSet
in interface Array
index
- the start index of the subset (starting with 1)count
- the maximum number of valuesmap
- is ignored. Only empty or null maps are supportedSQLException
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.