|
jxDBCon 0.9z | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface defines the requirements for a protocol implementation that talks to PostgreSQL.
Method Summary | |
void |
close()
Close the connection to the backend. |
void |
connect(Properties info)
Open a connection to the backend with the given parameters. |
PGExecResult |
exec(String sql)
Execute a SQL command. |
void |
requestCancel()
Request cancellation of current statement. |
void |
setCopyInStream(InputStream out)
Set the stream to read COPY IN data from. |
void |
setCopyOutStream(OutputStream out)
Set the stream to write COPY OUT data to. |
void |
setMessageEncoding(String messageEncoding)
Set the encoding to use for stringifying backend messages. |
Method Detail |
public void close() throws SQLException
SQLException
public void connect(Properties info) throws SQLException
SQLException
public PGExecResult exec(String sql)
public void requestCancel() throws SQLException
SQLException
public void setCopyInStream(InputStream out)
public void setCopyOutStream(OutputStream out)
public void setMessageEncoding(String messageEncoding)
|
jxDBCon 0.9z | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |