Class: Apache::Hadoop::Hbase::Thrift2::THBaseService::Put_args
- Inherits:
-
Object
- Object
- Apache::Hadoop::Hbase::Thrift2::THBaseService::Put_args
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/hbase/t_h_base_service.rb
Constant Summary collapse
- TABLE =
1
- TPUT =
2
- FIELDS =
{ # the table to put data in TABLE => {:type => ::Thrift::Types::STRING, :name => 'table', :binary => true}, # the TPut to put TPUT => {:type => ::Thrift::Types::STRUCT, :name => 'tput', :class => ::Apache::Hadoop::Hbase::Thrift2::TPut} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
647 |
# File 'lib/hbase/t_h_base_service.rb', line 647 def struct_fields; FIELDS; end |
#validate ⇒ Object
649 650 651 652 |
# File 'lib/hbase/t_h_base_service.rb', line 649 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 tput is unset!') unless @tput end |