|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.h2.message.TraceObject
org.h2.jdbc.JdbcArray
public class JdbcArray
Represents an ARRAY value.
Field Summary |
---|
Fields inherited from class org.h2.message.TraceObject |
---|
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, XA_DATA_SOURCE, XID |
Method Summary | |
---|---|
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 |
Methods inherited from class org.h2.message.TraceObject |
---|
debugCode, debugCodeAssign, debugCodeCall, debugCodeCall, debugCodeCall, getNextId, getTrace, getTraceId, getTraceObjectName, isDebugEnabled, isInfoEnabled, logAndConvert, quote, quoteArray, quoteBigDecimal, quoteBytes, quoteDate, quoteIntArray, quoteMap, quoteTime, quoteTimestamp, setTrace, setTrace, toString, unsupported |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public java.lang.Object getArray() throws java.sql.SQLException
getArray
in interface java.sql.Array
java.sql.SQLException
public java.lang.Object getArray(java.util.Map<java.lang.String,java.lang.Class<?>> map) throws java.sql.SQLException
getArray
in interface java.sql.Array
map
- is ignored. Only empty or null maps are supported
java.sql.SQLException
public java.lang.Object getArray(long index, int count) throws java.sql.SQLException
getArray
in interface java.sql.Array
index
- the start index of the subset (starting with 1)count
- the maximum number of values
java.sql.SQLException
public 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.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 supported
java.sql.SQLException
public int getBaseType() throws java.sql.SQLException
getBaseType
in interface java.sql.Array
java.sql.SQLException
public java.lang.String getBaseTypeName() throws java.sql.SQLException
getBaseTypeName
in interface java.sql.Array
java.sql.SQLException
public java.sql.ResultSet getResultSet() throws java.sql.SQLException
getResultSet
in interface java.sql.Array
java.sql.SQLException
public java.sql.ResultSet getResultSet(java.util.Map<java.lang.String,java.lang.Class<?>> map) throws java.sql.SQLException
getResultSet
in interface java.sql.Array
map
- is ignored. Only empty or null maps are supported
java.sql.SQLException
public java.sql.ResultSet getResultSet(long index, int count) throws java.sql.SQLException
getResultSet
in interface java.sql.Array
index
- the start index of the subset (starting with 1)count
- the maximum number of values
java.sql.SQLException
public 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.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 supported
java.sql.SQLException
public void free()
free
in interface java.sql.Array
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |