Sha256: dcb015148786fc2c6b42e63130492371982c5f548a686706358c0b4f31f613cb

Contents?: true

Size: 381 Bytes

Versions: 28

Compression:

Stored size: 381 Bytes

Contents

module Vertica
  module Messages
    class Parse < FrontendMessage
      message_id 'P'

      def initialize(name, query, param_types)
        @name         = name
        @query        = query
        @param_types  = param_types
      end

      def to_bytes
        message_string([@name, @query, @param_types.length, *@param_types].pack('Z*Z*nN*'))
      end
    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
vertica-0.12.0 lib/vertica/messages/frontend_messages/parse.rb
vertica-0.11.4 lib/vertica/messages/frontend_messages/parse.rb
vertica-0.11.3 lib/vertica/messages/frontend_messages/parse.rb
vertica-0.11.2 lib/vertica/messages/frontend_messages/parse.rb
vertica-0.11.1 lib/vertica/messages/frontend_messages/parse.rb
vertica-0.11.0 lib/vertica/messages/frontend_messages/parse.rb
vertica-0.10.5 lib/vertica/messages/frontend_messages/parse.rb
vertica-0.10.4 lib/vertica/messages/frontend_messages/parse.rb
vertica-0.10.3 lib/vertica/messages/frontend_messages/parse.rb
vertica-0.10.2 lib/vertica/messages/frontend_messages/parse.rb
vertica-0.10.1 lib/vertica/messages/frontend_messages/parse.rb
vertica-0.10.0 lib/vertica/messages/frontend_messages/parse.rb
vertica-0.9.6 lib/vertica/messages/frontend_messages/parse.rb
vertica-0.9.5 lib/vertica/messages/frontend_messages/parse.rb
vertica-0.9.4 lib/vertica/messages/frontend_messages/parse.rb
vertica-0.9.3 lib/vertica/messages/frontend_messages/parse.rb
vertica-0.9.2 lib/vertica/messages/frontend_messages/parse.rb
vertica-0.9.1 lib/vertica/messages/frontend_messages/parse.rb
vertica-0.9.0 lib/vertica/messages/frontend_messages/parse.rb
vertica-0.9.0.beta9 lib/vertica/messages/frontend_messages/parse.rb