Package org.postgresql.util
Class HStoreConverter
- java.lang.Object
-
- org.postgresql.util.HStoreConverter
-
public class HStoreConverter extends Object
-
-
Constructor Summary
Constructors Constructor Description HStoreConverter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Map<String,String>
fromBytes(byte[] b, Encoding encoding)
static Map<String,String>
fromString(String s)
static byte[]
toBytes(Map<?,?> m, Encoding encoding)
static String
toString(Map<?,?> map)
-
-
-
Method Detail
-
fromBytes
public static Map<String,String> fromBytes(byte[] b, Encoding encoding) throws SQLException
- Throws:
SQLException
-
toBytes
public static byte[] toBytes(Map<?,?> m, Encoding encoding) throws SQLException
- Throws:
SQLException
-
-