Class: Impala::Protocol::TBoolLiteral
- Inherits:
-
Object
- Object
- Impala::Protocol::TBoolLiteral
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/impala/protocol/exprs_types.rb
Constant Summary collapse
- VALUE =
1
- FIELDS =
{ VALUE => { :type => ::Thrift::Types::BOOL, :name => 'value' } }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
84 |
# File 'lib/impala/protocol/exprs_types.rb', line 84 def struct_fields; FIELDS; end |
#validate ⇒ Object
86 87 88 |
# File 'lib/impala/protocol/exprs_types.rb', line 86 def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field value is unset!') if @value.nil? end |