Class: Apache::Hadoop::Hbase::Thrift2::THBaseService::Append_args

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/hbase/t_h_base_service.rb

Constant Summary collapse

TABLE =
1
TAPPEND =
2
FIELDS =
{
  # the table to append the value on
  TABLE => {:type => ::Thrift::Types::STRING, :name => 'table', :binary => true},
  # the TAppend to append
  TAPPEND => {:type => ::Thrift::Types::STRUCT, :name => 'tappend', :class => ::Apache::Hadoop::Hbase::Thrift2::TAppend}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



955
# File 'lib/hbase/t_h_base_service.rb', line 955

def struct_fields; FIELDS; end

#validateObject

Raises:

  • (::Thrift::ProtocolException)


957
958
959
960
# File 'lib/hbase/t_h_base_service.rb', line 957

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 tappend is unset!') unless @tappend
end