Class: Vertica::Messages::CopyInResponse
- Inherits:
-
BackendMessage
- Object
- Message
- BackendMessage
- Vertica::Messages::CopyInResponse
- Defined in:
- lib/vertica/messages/backend_messages/copy_in_response.rb
Constant Summary
Constants inherited from BackendMessage
Instance Method Summary collapse
-
#initialize(data) ⇒ CopyInResponse
constructor
A new instance of CopyInResponse.
Methods inherited from BackendMessage
Methods inherited from Message
Constructor Details
#initialize(data) ⇒ CopyInResponse
Returns a new instance of CopyInResponse.
6 7 8 9 10 |
# File 'lib/vertica/messages/backend_messages/copy_in_response.rb', line 6 def initialize(data) values = data.unpack('Cn*') @format = values[0] @column_formats = values.slice(2..-1) end |