Class: Apache::Hadoop::Hbase::Thrift2::THBaseService::MutateRow_args
- Inherits:
-
Object
- Object
- Apache::Hadoop::Hbase::Thrift2::THBaseService::MutateRow_args
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/hbase/t_h_base_service.rb
Constant Summary collapse
- TABLE =
1
- TROWMUTATIONS =
2
- FIELDS =
{ # table to apply the mutations TABLE => {:type => ::Thrift::Types::STRING, :name => 'table', :binary => true}, # mutations to apply TROWMUTATIONS => {:type => ::Thrift::Types::STRUCT, :name => 'trowMutations', :class => ::Apache::Hadoop::Hbase::Thrift2::TRowMutations} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
1114 |
# File 'lib/hbase/t_h_base_service.rb', line 1114 def struct_fields; FIELDS; end |
#validate ⇒ Object
1116 1117 1118 1119 |
# File 'lib/hbase/t_h_base_service.rb', line 1116 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 trowMutations is unset!') unless @trowMutations end |