Class LazyQueryRequest

  • All Implemented Interfaces:
    ServerRequest

    public class LazyQueryRequest
    extends java.lang.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​(java.lang.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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LazyQueryRequest

        public LazyQueryRequest​(java.lang.String query)
    • Method Detail

      • createHandler

        public com.impossibl.postgres.protocol.v30.LazyQueryRequest.Handler createHandler()
        Specified by:
        createHandler in interface ServerRequest