Class: Apache::Hadoop::Hbase::Thrift2::THBaseService::Get_args
- Inherits:
-
Object
- Object
- Apache::Hadoop::Hbase::Thrift2::THBaseService::Get_args
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/hbase/t_h_base_service.rb
Constant Summary collapse
- TABLE =
1
- TGET =
2
- FIELDS =
{ # the table to get from TABLE => {:type => ::Thrift::Types::STRING, :name => 'table', :binary => true}, # the TGet to fetch TGET => {:type => ::Thrift::Types::STRUCT, :name => 'tget', :class => ::Apache::Hadoop::Hbase::Thrift2::TGet} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
565 |
# File 'lib/hbase/t_h_base_service.rb', line 565 def struct_fields; FIELDS; end |
#validate ⇒ Object
567 568 569 570 |
# File 'lib/hbase/t_h_base_service.rb', line 567 def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field table is unset!') unless @table raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field tget is unset!') unless @tget end |