Package org.zalando.typemapper.postgres
Class PgRow
- java.lang.Object
-
- org.postgresql.util.PGobject
-
- org.zalando.typemapper.postgres.PgRow
-
- All Implemented Interfaces:
Serializable,Cloneable
public final class PgRow extends org.postgresql.util.PGobject- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPgRow(String recordTypeName, Collection<Object> c)PgRow(PgTypeHelper.PgTypeDataHolder typeDataHolder)PgRow(PgTypeHelper.PgTypeDataHolder typeDataHolder, Connection connection)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.postgresql.util.PGobjectasPGobject(String recordTypeName)static PgRowROW(Object... array)static PgRowROW(Collection<?> collection)StringtoString()
-
-
-
Constructor Detail
-
PgRow
protected PgRow(String recordTypeName, Collection<Object> c) throws SQLException
- Throws:
SQLException
-
PgRow
public PgRow(PgTypeHelper.PgTypeDataHolder typeDataHolder) throws SQLException
- Throws:
SQLException
-
PgRow
public PgRow(PgTypeHelper.PgTypeDataHolder typeDataHolder, Connection connection) throws SQLException
- Throws:
SQLException
-
-
Method Detail
-
ROW
public static PgRow ROW(Object... array) throws SQLException
- Throws:
SQLException
-
ROW
public static PgRow ROW(Collection<?> collection) throws SQLException
- Throws:
SQLException
-
toString
public String toString()
- Overrides:
toStringin classorg.postgresql.util.PGobject
-
asPGobject
public org.postgresql.util.PGobject asPGobject(String recordTypeName) throws SQLException
- Throws:
SQLException
-
-