lib/aerospike/client.rb in aerospike-1.0.6 vs lib/aerospike/client.rb in aerospike-1.0.7

- old
+ new

@@ -373,26 +373,29 @@ # Initialize large map operator. This operator can be used to create and manage a map # within a single bin. # # This method is only supported by Aerospike 3 servers. + # DEPRECATED. This method will be removed from the client in the future. def get_large_map(key, bin_name, user_module=nil, options={}) LargeMap.new(self, opt_to_write_policy(options), key, bin_name, user_module) end # Initialize large set operator. This operator can be used to create and manage a set # within a single bin. # # This method is only supported by Aerospike 3 servers. + # DEPRECATED. This method will be removed from the client in the future. def get_large_set(key, bin_name, user_module=nil, options={}) LargeSet.new(self, opt_to_write_policy(options), key, bin_name, user_module) end # Initialize large stack operator. This operator can be used to create and manage a stack # within a single bin. # # This method is only supported by Aerospike 3 servers. + # DEPRECATED. This method will be removed from the client in the future. def get_large_stack(key, bin_name, user_module=nil, options={}) LargeStack.new(self, opt_to_write_policy(options), key, bin_name, user_module) end #--------------------------------------------------------------- @@ -802,16 +805,9 @@ # Remove roles from user's list of roles. def revoke_roles(user, roles, options={}) policy = opt_to_admin_policy(options) command = AdminCommand.new command.revoke_roles(@cluster, policy, user, roles) - end - - # Replace user's list of roles. - def replace_roles(user, roles, options={}) - policy = opt_to_admin_policy(options) - command = AdminCommand.new - command.replace_roles(@cluster, policy, user, roles) end # Retrieve roles for a given user. def query_user(user, options={}) policy = opt_to_admin_policy(options)