Package com.impossibl.postgres.jdbc
Class PGSQLXML
- java.lang.Object
-
- com.impossibl.postgres.jdbc.PGSQLXML
-
-
Constructor Summary
Constructors Constructor Description PGSQLXML(PGDirectConnection conn)PGSQLXML(PGDirectConnection conn, byte[] data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)voidfree()InputStreamgetBinaryStream()ReadergetCharacterStream()byte[]getData()<T extends Source>
TgetSource(Class<T> sourceClass)StringgetString()inthashCode()booleanisNull()com.impossibl.postgres.jdbc.PGSQLXML.OutputStreamsetBinaryStream()WritersetCharacterStream()<T extends Result>
TsetResult(Class<T> resultClassIn)voidsetString(String value)
-
-
-
Constructor Detail
-
PGSQLXML
public PGSQLXML(PGDirectConnection conn)
-
PGSQLXML
public PGSQLXML(PGDirectConnection conn, byte[] data)
-
-
Method Detail
-
isNull
public boolean isNull()
-
getData
public byte[] getData()
-
getBinaryStream
public InputStream getBinaryStream() throws SQLException
- Specified by:
getBinaryStreamin interfaceSQLXML- Throws:
SQLException
-
getCharacterStream
public Reader getCharacterStream() throws SQLException
- Specified by:
getCharacterStreamin interfaceSQLXML- Throws:
SQLException
-
getSource
public <T extends Source> T getSource(Class<T> sourceClass) throws SQLException
- Specified by:
getSourcein interfaceSQLXML- Throws:
SQLException
-
getString
public String getString() throws SQLException
- Specified by:
getStringin interfaceSQLXML- Throws:
SQLException
-
setBinaryStream
public com.impossibl.postgres.jdbc.PGSQLXML.OutputStream setBinaryStream() throws SQLException- Specified by:
setBinaryStreamin interfaceSQLXML- Throws:
SQLException
-
setCharacterStream
public Writer setCharacterStream() throws SQLException
- Specified by:
setCharacterStreamin interfaceSQLXML- Throws:
SQLException
-
setResult
public <T extends Result> T setResult(Class<T> resultClassIn) throws SQLException
- Specified by:
setResultin interfaceSQLXML- Throws:
SQLException
-
setString
public void setString(String value) throws SQLException
- Specified by:
setStringin interfaceSQLXML- Throws:
SQLException
-
-