Package io.ebeaninternal.server.type
Class PostgresHelper
- java.lang.Object
-
- io.ebeaninternal.server.type.PostgresHelper
-
public class PostgresHelper extends Object
-
-
Constructor Summary
Constructors Constructor Description PostgresHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Object
asInet(String value)
static Object
asObject(String pgType, String rawJson)
Construct and return Postgres specific PG object.
-
-
-
Field Detail
-
JSON_TYPE
public static final String JSON_TYPE
The Postgres JSON DB type.- See Also:
- Constant Field Values
-
JSONB_TYPE
public static final String JSONB_TYPE
The Postgres JSONB DB type.- See Also:
- Constant Field Values
-
INET_TYPE
public static final String INET_TYPE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PostgresHelper
public PostgresHelper()
-
-
Method Detail
-
asInet
public static Object asInet(String value) throws SQLException
- Throws:
SQLException
-
asObject
public static Object asObject(String pgType, String rawJson) throws SQLException
Construct and return Postgres specific PG object.- Throws:
SQLException
-
-