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 boolean
equals(Object obj)
void
free()
InputStream
getBinaryStream()
Reader
getCharacterStream()
byte[]
getData()
<T extends Source>
TgetSource(Class<T> sourceClass)
String
getString()
int
hashCode()
boolean
isNull()
com.impossibl.postgres.jdbc.PGSQLXML.OutputStream
setBinaryStream()
Writer
setCharacterStream()
<T extends Result>
TsetResult(Class<T> resultClassIn)
void
setString(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:
getBinaryStream
in interfaceSQLXML
- Throws:
SQLException
-
getCharacterStream
public Reader getCharacterStream() throws SQLException
- Specified by:
getCharacterStream
in interfaceSQLXML
- Throws:
SQLException
-
getSource
public <T extends Source> T getSource(Class<T> sourceClass) throws SQLException
- Specified by:
getSource
in interfaceSQLXML
- Throws:
SQLException
-
getString
public String getString() throws SQLException
- Specified by:
getString
in interfaceSQLXML
- Throws:
SQLException
-
setBinaryStream
public com.impossibl.postgres.jdbc.PGSQLXML.OutputStream setBinaryStream() throws SQLException
- Specified by:
setBinaryStream
in interfaceSQLXML
- Throws:
SQLException
-
setCharacterStream
public Writer setCharacterStream() throws SQLException
- Specified by:
setCharacterStream
in interfaceSQLXML
- Throws:
SQLException
-
setResult
public <T extends Result> T setResult(Class<T> resultClassIn) throws SQLException
- Specified by:
setResult
in interfaceSQLXML
- Throws:
SQLException
-
setString
public void setString(String value) throws SQLException
- Specified by:
setString
in interfaceSQLXML
- Throws:
SQLException
-
-