Class: Impala::Protocol::TFloatLiteral
- Inherits:
-
Object
- Object
- Impala::Protocol::TFloatLiteral
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/impala/protocol/exprs_types.rb
Constant Summary collapse
- VALUE =
1
- FIELDS =
{ VALUE => { :type => ::Thrift::Types::DOUBLE, :name => 'value' } }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
138 |
# File 'lib/impala/protocol/exprs_types.rb', line 138 def struct_fields; FIELDS; end |
#validate ⇒ Object
140 141 142 |
# File 'lib/impala/protocol/exprs_types.rb', line 140 def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field value is unset!') unless @value end |