org.teiid.transport.pg
Class PGbytea

java.lang.Object
  extended by org.teiid.transport.pg.PGbytea

public class PGbytea
extends Object

Converts to and from the postgresql bytea datatype used by the backend.


Constructor Summary
PGbytea()
           
 
Method Summary
static byte[] toBytes(byte[] s)
           
static String toPGString(byte[] p_buf)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PGbytea

public PGbytea()
Method Detail

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.