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