Class: Apache::Hadoop::Hbase::Thrift2::THBaseService::Increment_args
- Inherits:
-
Object
- Object
- Apache::Hadoop::Hbase::Thrift2::THBaseService::Increment_args
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/hbase/t_h_base_service.rb
Constant Summary collapse
- TABLE =
1
- TINCREMENT =
2
- FIELDS =
{ # the table to increment the value on TABLE => {:type => ::Thrift::Types::STRING, :name => 'table', :binary => true}, # the TIncrement to increment TINCREMENT => {:type => ::Thrift::Types::STRUCT, :name => 'tincrement', :class => ::Apache::Hadoop::Hbase::Thrift2::TIncrement} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
915 |
# File 'lib/hbase/t_h_base_service.rb', line 915 def struct_fields; FIELDS; end |
#validate ⇒ Object
917 918 919 920 |
# File 'lib/hbase/t_h_base_service.rb', line 917 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 tincrement is unset!') unless @tincrement end |