Class: Apache::Hadoop::Hbase::Thrift2::THBaseService::DeleteMultiple_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
TDELETES =
2
FIELDS =
{
  # the table to delete from
  TABLE => {:type => ::Thrift::Types::STRING, :name => 'table', :binary => true},
  # list of TDeletes to delete
  TDELETES => {:type => ::Thrift::Types::LIST, :name => 'tdeletes', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Apache::Hadoop::Hbase::Thrift2::TDelete}}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject

Raises:

  • (::Thrift::ProtocolException)


820
821
822
823
# File 'lib/hbase/t_h_base_service.rb', line 820

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