Class: Impala::Protocol::TQueryGlobals
- Inherits:
-
Object
- Object
- Impala::Protocol::TQueryGlobals
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/impala/protocol/impala_internal_service_types.rb
Constant Summary collapse
- NOW_STRING =
1
- FIELDS =
{ NOW_STRING => { :type => ::Thrift::Types::STRING, :name => 'now_string' } }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
149 |
# File 'lib/impala/protocol/impala_internal_service_types.rb', line 149 def struct_fields; FIELDS; end |
#validate ⇒ Object
151 152 153 |
# File 'lib/impala/protocol/impala_internal_service_types.rb', line 151 def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field now_string is unset!') unless @now_string end |