Sha256: b3308c9d0353f898d0022d51347790b97f87be0f25f03d7221b78bdbb1136c36

Contents?: true

Size: 321 Bytes

Versions: 28

Compression:

Stored size: 321 Bytes

Contents

module Vertica
  module Messages
    class Execute < FrontendMessage
      message_id 'E'

      def initialize(portal_name, max_rows)
        @portal_name = portal_name
        @max_rows    = max_rows
      end

      def to_bytes
        message_string [@portal_name, @max_rows].pack('Z*N')
      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/execute.rb
vertica-0.11.4 lib/vertica/messages/frontend_messages/execute.rb
vertica-0.11.3 lib/vertica/messages/frontend_messages/execute.rb
vertica-0.11.2 lib/vertica/messages/frontend_messages/execute.rb
vertica-0.11.1 lib/vertica/messages/frontend_messages/execute.rb
vertica-0.11.0 lib/vertica/messages/frontend_messages/execute.rb
vertica-0.10.5 lib/vertica/messages/frontend_messages/execute.rb
vertica-0.10.4 lib/vertica/messages/frontend_messages/execute.rb
vertica-0.10.3 lib/vertica/messages/frontend_messages/execute.rb
vertica-0.10.2 lib/vertica/messages/frontend_messages/execute.rb
vertica-0.10.1 lib/vertica/messages/frontend_messages/execute.rb
vertica-0.10.0 lib/vertica/messages/frontend_messages/execute.rb
vertica-0.9.6 lib/vertica/messages/frontend_messages/execute.rb
vertica-0.9.5 lib/vertica/messages/frontend_messages/execute.rb
vertica-0.9.4 lib/vertica/messages/frontend_messages/execute.rb
vertica-0.9.3 lib/vertica/messages/frontend_messages/execute.rb
vertica-0.9.2 lib/vertica/messages/frontend_messages/execute.rb
vertica-0.9.1 lib/vertica/messages/frontend_messages/execute.rb
vertica-0.9.0 lib/vertica/messages/frontend_messages/execute.rb
vertica-0.9.0.beta9 lib/vertica/messages/frontend_messages/execute.rb