Class: Impala::Protocol::TInsertResult
- Inherits:
-
Object
- Object
- Impala::Protocol::TInsertResult
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/impala/protocol/impala_service_types.rb
Constant Summary collapse
- ROWS_APPENDED =
1
- FIELDS =
{ ROWS_APPENDED => {:type => ::Thrift::Types::MAP, :name => 'rows_appended', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::I64}} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
44 |
# File 'lib/impala/protocol/impala_service_types.rb', line 44 def struct_fields; FIELDS; end |
#validate ⇒ Object
46 47 48 |
# File 'lib/impala/protocol/impala_service_types.rb', line 46 def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field rows_appended is unset!') unless @rows_appended end |