Class: Vertica::Protocol::Execute
- Inherits:
-
FrontendMessage
- Object
- Message
- FrontendMessage
- Vertica::Protocol::Execute
- Defined in:
- lib/vertica/protocol/frontend/execute.rb
Instance Method Summary collapse
-
#initialize(portal_name, max_rows) ⇒ Execute
constructor
A new instance of Execute.
- #message_body ⇒ Object
Methods inherited from FrontendMessage
Methods inherited from Message
Constructor Details
#initialize(portal_name, max_rows) ⇒ Execute
Returns a new instance of Execute.
6 7 8 9 |
# File 'lib/vertica/protocol/frontend/execute.rb', line 6 def initialize(portal_name, max_rows) @portal_name = portal_name @max_rows = max_rows end |
Instance Method Details
#message_body ⇒ Object
11 12 13 |
# File 'lib/vertica/protocol/frontend/execute.rb', line 11 def [@portal_name, @max_rows].pack('Z*N') end |