Sha256: ddf313096ea087ac7616daa6fb09ce771f306ca69dfee2f8d4e2d4f67c6552db

Contents?: true

Size: 270 Bytes

Versions: 28

Compression:

Stored size: 270 Bytes

Contents

module Vertica
  module Messages

    class Query < FrontendMessage
      message_id 'Q'

      def initialize(query_string)
        @query_string = query_string
      end

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