Class: Apache::Hadoop::Hbase::Thrift2::THBaseService::CloseScanner_args

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

Constant Summary collapse

SCANNERID =
1
FIELDS =
{
  # the Id of the Scanner to close *
  SCANNERID => {:type => ::Thrift::Types::I32, :name => 'scannerId'}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject

Raises:

  • (::Thrift::ProtocolException)


1076
1077
1078
# File 'lib/hbase/t_h_base_service.rb', line 1076

def validate
  raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field scannerId is unset!') unless @scannerId
end