Class: Impala::Protocol::TResetTableReq
- Inherits:
-
Object
- Object
- Impala::Protocol::TResetTableReq
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/impala/protocol/impala_service_types.rb
Constant Summary collapse
- DB_NAME =
1
- TABLE_NAME =
2
- FIELDS =
{ DB_NAME => {:type => ::Thrift::Types::STRING, :name => 'db_name'}, TABLE_NAME => {:type => ::Thrift::Types::STRING, :name => 'table_name'} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
79 |
# File 'lib/impala/protocol/impala_service_types.rb', line 79 def struct_fields; FIELDS; end |
#validate ⇒ Object
81 82 83 84 |
# File 'lib/impala/protocol/impala_service_types.rb', line 81 def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field db_name is unset!') unless @db_name raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field table_name is unset!') unless @table_name end |