public interface Protocol
Modifier and Type | Method and Description |
---|---|
void |
abort(Executor executor) |
BindExecCommand |
createBindExec(String portalName,
String statementName,
List<Type> parameterTypes,
List<Object> parameterValues,
List<ResultField> resultFields,
Class<?> rowType) |
CloseCommand |
createClose(ServerObjectType objectType,
String objectName) |
FunctionCallCommand |
createFunctionCall(String functionName,
List<Type> parameterTypes,
List<Object> parameterValues) |
PrepareCommand |
createPrepare(String statementName,
String sqlText,
List<Type> parameterTypes) |
QueryCommand |
createQuery(String sqlText) |
SSLRequestCommand |
createSSLRequest() |
StartupCommand |
createStartup(Map<String,Object> parameters) |
void |
execute(Command cmd) |
TransactionStatus |
getTransactionStatus() |
boolean |
isConnected() |
void |
shutdown() |
boolean isConnected()
TransactionStatus getTransactionStatus()
SSLRequestCommand createSSLRequest()
StartupCommand createStartup(Map<String,Object> parameters)
PrepareCommand createPrepare(String statementName, String sqlText, List<Type> parameterTypes)
BindExecCommand createBindExec(String portalName, String statementName, List<Type> parameterTypes, List<Object> parameterValues, List<ResultField> resultFields, Class<?> rowType)
QueryCommand createQuery(String sqlText)
FunctionCallCommand createFunctionCall(String functionName, List<Type> parameterTypes, List<Object> parameterValues)
CloseCommand createClose(ServerObjectType objectType, String objectName)
void execute(Command cmd) throws IOException
IOException
void shutdown()
void abort(Executor executor)
Copyright © 2013-2015 impossibl.com. All Rights Reserved.