Class: Impala::Protocol::TByteColumn
- Inherits:
-
Object
- Object
- Impala::Protocol::TByteColumn
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/impala/protocol/t_c_l_i_service_types.rb
Constant Summary collapse
- VALUES =
1- NULLS =
2- FIELDS =
{ VALUES => {:type => ::Thrift::Types::LIST, :name => 'values', :element => {:type => ::Thrift::Types::BYTE}}, NULLS => {:type => ::Thrift::Types::STRING, :name => 'nulls', :binary => true} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
636 |
# File 'lib/impala/protocol/t_c_l_i_service_types.rb', line 636 def struct_fields; FIELDS; end |
#validate ⇒ Object
638 639 640 641 |
# File 'lib/impala/protocol/t_c_l_i_service_types.rb', line 638 def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field values is unset!') unless @values raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field nulls is unset!') unless @nulls end |