Class: Apache::Hadoop::Hbase::Thrift2::THBaseService::GetRegionLocation_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
ROW =
2
RELOAD =
3
FIELDS =
{
  TABLE => {:type => ::Thrift::Types::STRING, :name => 'table', :binary => true},
  ROW => {:type => ::Thrift::Types::STRING, :name => 'row', :binary => true},
  RELOAD => {:type => ::Thrift::Types::BOOL, :name => 'reload'}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject

Raises:

  • (::Thrift::ProtocolException)


1197
1198
1199
1200
# File 'lib/hbase/t_h_base_service.rb', line 1197

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