| Modifier | Constructor and Description |
|---|---|
protected |
PgArray(String elementTypeName,
Collection<E> c) |
| Modifier and Type | Method and Description |
|---|---|
static <T> PgArray<T> |
ARRAY(Collection<T> collection) |
static <T> PgArray<T> |
ARRAY(T... array) |
Array |
asJdbcArray(String elementTypeName)
Returns a java.sql.Array view with the specified element type name for the current PgArray object.
|
Array |
asJdbcArray(String elementTypeName,
Connection connection) |
boolean |
equals(Object obj) |
void |
free() |
Object |
getArray() |
Object |
getArray(long index,
int count) |
Object |
getArray(long index,
int count,
Map<String,Class<?>> map) |
Object |
getArray(Map<String,Class<?>> map) |
int |
getBaseType() |
String |
getBaseTypeName() |
ResultSet |
getResultSet() |
ResultSet |
getResultSet(long index,
int count) |
ResultSet |
getResultSet(long index,
int count,
Map<String,Class<?>> map) |
ResultSet |
getResultSet(Map<String,Class<?>> map) |
int |
hashCode() |
String |
toString() |
String |
toString(Connection connection) |
protected PgArray(String elementTypeName, Collection<E> c)
@SafeVarargs public static <T> PgArray<T> ARRAY(T... array)
public static <T> PgArray<T> ARRAY(Collection<T> collection)
public String toString(Connection connection)
public Array asJdbcArray(String elementTypeName)
elementTypeName - public Array asJdbcArray(String elementTypeName, Connection connection)
public String getBaseTypeName() throws SQLException
getBaseTypeName in interface ArraySQLExceptionpublic int getBaseType()
throws SQLException
getBaseType in interface ArraySQLExceptionpublic Object getArray() throws SQLException
getArray in interface ArraySQLExceptionpublic Object getArray(Map<String,Class<?>> map) throws SQLException
getArray in interface ArraySQLExceptionpublic Object getArray(long index, int count) throws SQLException
getArray in interface ArraySQLExceptionpublic Object getArray(long index, int count, Map<String,Class<?>> map) throws SQLException
getArray in interface ArraySQLExceptionpublic ResultSet getResultSet() throws SQLException
getResultSet in interface ArraySQLExceptionpublic ResultSet getResultSet(Map<String,Class<?>> map) throws SQLException
getResultSet in interface ArraySQLExceptionpublic ResultSet getResultSet(long index, int count) throws SQLException
getResultSet in interface ArraySQLExceptionpublic ResultSet getResultSet(long index, int count, Map<String,Class<?>> map) throws SQLException
getResultSet in interface ArraySQLExceptionpublic void free()
throws SQLException
free in interface ArraySQLExceptionCopyright © 2012–2022 Zalando SE. All rights reserved.