Package org.zalando.typemapper.postgres
Class PgArray<E>
java.lang.Object
org.zalando.typemapper.postgres.PgArray<E>
- All Implemented Interfaces:
Array
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> PgArray<T> ARRAY(Collection<T> collection) static <T> PgArray<T> ARRAY(T... array) asJdbcArray(String elementTypeName) Returns a java.sql.Array view with the specified element type name for the current PgArray object.asJdbcArray(String elementTypeName, Connection connection) booleanvoidfree()getArray()getArray(long index, int count) intgetResultSet(long index, int count) getResultSet(long index, int count, Map<String, Class<?>> map) getResultSet(Map<String, Class<?>> map) inthashCode()toString()toString(Connection connection)
-
Constructor Details
-
PgArray
-
-
Method Details
-
ARRAY
-
ARRAY
-
toString
-
toString
-
asJdbcArray
Returns a java.sql.Array view with the specified element type name for the current PgArray object.- Parameters:
elementTypeName-- Returns:
- java.sql.Array view with the specified element type name
-
asJdbcArray
-
getBaseTypeName
- Specified by:
getBaseTypeNamein interfaceArray- Throws:
SQLException
-
getBaseType
- Specified by:
getBaseTypein interfaceArray- Throws:
SQLException
-
getArray
- Specified by:
getArrayin interfaceArray- Throws:
SQLException
-
getArray
- Specified by:
getArrayin interfaceArray- Throws:
SQLException
-
getArray
- Specified by:
getArrayin interfaceArray- Throws:
SQLException
-
getArray
- Specified by:
getArrayin interfaceArray- Throws:
SQLException
-
getResultSet
- Specified by:
getResultSetin interfaceArray- Throws:
SQLException
-
getResultSet
- Specified by:
getResultSetin interfaceArray- Throws:
SQLException
-
getResultSet
- Specified by:
getResultSetin interfaceArray- Throws:
SQLException
-
getResultSet
- Specified by:
getResultSetin interfaceArray- Throws:
SQLException
-
free
- Specified by:
freein interfaceArray- Throws:
SQLException
-
hashCode
public int hashCode() -
equals
-