Class LazyQueryRequest
- java.lang.Object
-
- com.impossibl.postgres.protocol.v30.LazyQueryRequest
-
- All Implemented Interfaces:
ServerRequest
public class LazyQueryRequest extends Object implements ServerRequest
Generates a query request (usually "BEGIN"). Commands are not sync'ed and errors/notices are passed to the following protocol handler. This allows it to prefix whatever command comes next without waiting for completion.
-
-
Constructor Summary
Constructors Constructor Description LazyQueryRequest(String query)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.impossibl.postgres.protocol.v30.LazyQueryRequest.Handler
createHandler()
void
execute(ProtocolChannel channel)
-
-
-
Constructor Detail
-
LazyQueryRequest
public LazyQueryRequest(String query)
-
-
Method Detail
-
createHandler
public com.impossibl.postgres.protocol.v30.LazyQueryRequest.Handler createHandler()
- Specified by:
createHandler
in interfaceServerRequest
-
execute
public void execute(ProtocolChannel channel) throws IOException
- Specified by:
execute
in interfaceServerRequest
- Throws:
IOException
-
-