org.teiid.transport.pg
Class PGbytea
java.lang.Object
org.teiid.transport.pg.PGbytea
public class PGbytea
- extends Object
Converts to and from the postgresql bytea datatype used by the backend.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PGbytea
public PGbytea()
toBytes
public static byte[] toBytes(byte[] s)
throws SQLException
- Throws:
SQLException
toPGString
public static String toPGString(byte[] p_buf)
throws SQLException
- Throws:
SQLException
Copyright © 2011. All Rights Reserved.