Parameters:
     - login
     - tableName
175889
def deleteTable(self, login, tableName):
    
    self.send_deleteTable(login, tableName)
    self.recv_deleteTable()
703529
def tableExists(self, login, tableName):
    
    self.send_tableExists(login, tableName)
    return self.recv_tableExists()
1369298
public void login(String username, String password) {
        Object[] methodArgs = new Object[1];
        if (username != null && username.indexOf('@') > 1) {
            EmailAuth emailpass = new EmailAuth(username, password);
            methodArgs[0] = emailpass;
        } else {
            UsernameAuth userpass = new UsernameAuth(username, password);
            methodArgs[0] = userpass;
        }
        
        getDDP().call("login", methodArgs, new DDPListener() {
            @Override
            public void onResult(Map<String, Object> jsonFields) {
                handleLoginResult(jsonFields);
            }
        });
    }
353107
def listConstraints(self, login, tableName):
    
    self.send_listConstraints(login, tableName)
    return self.recv_listConstraints()
882737
def writeTable(self, tableName):
        
        lock_and_call(
            lambda: self._impl.writeTable(tableName),
            self._lock
        )
144125
def get_login_credentials(args):
  
  if not args.username:
    args.username = raw_input("Enter Username: ")
  if not args.password:
    args.password = getpass.getpass("Enter Password: ")
892395
def importTable(self, login, tableName, importDir):
    
    self.send_importTable(login, tableName, importDir)
    self.recv_importTable()
869506
def login(ctx, host, scenario_name):  # pragma: no cover
    
    args = ctx.obj.get('args')
    subcommand = base._get_subcommand(__name__)
    command_args = {
        'subcommand': subcommand,
        'host': host,
    }

    s = scenarios.Scenarios(
        base.get_configs(args, command_args), scenario_name)
    for scenario in s.all:
        base.execute_subcommand(scenario.config, subcommand)
104542
def removeTableProperty(self, login, tableName, property):
    
    self.send_removeTableProperty(login, tableName, property)
    self.recv_removeTableProperty()
1019360
def get_number_of_rows(dbcon, tablename, uuid=None):
    
    dbcur = dbcon.cursor()
    if check_table_exists(dbcon, tablename):
        if uuid:
            dbcur.execute("SELECT COUNT(*) FROM '{name}' WHERE UUID='{uuid}'".format(name=tablename, uuid=uuid))
        else:
            dbcur.execute("SELECT COUNT(*) FROM '{name}'".format(name=tablename))
        try:
            result = dbcur.fetchone()[0]
        except (TypeError, IndexError) as e:
            logger.error(e)
            result = 0
        dbcur.close()
        return result if isinstance(result, (int, long, float)) else 0
    else:
        return 0
973200
def mergeTablets(self, login, tableName, startRow, endRow):
    
    self.send_mergeTablets(login, tableName, startRow, endRow)
    self.recv_mergeTablets()
1018180
def login(self, username=None, password=''):
        """"""
        self.username = username
        self.password = password
        return self._login()
1354275
def flushTable(self, login, tableName, startRow, endRow, wait):
    
    self.send_flushTable(login, tableName, startRow, endRow, wait)
    self.recv_flushTable()
1178486
def tablerename(tablename, newtablename):
    
    t = table(tablename, ack=False)
    t.rename(newtablename)
930230
def login_view(self):
        """"""

        # Authenticate username/email and login authenticated users.

        safe_next_url = self._get_safe_next_url('next', self.USER_AFTER_LOGIN_ENDPOINT)
        safe_reg_next = self._get_safe_next_url('reg_next', self.USER_AFTER_REGISTER_ENDPOINT)

        # Immediately redirect already logged in users
        if self.call_or_get(current_user.is_authenticated) and self.USER_AUTO_LOGIN_AT_LOGIN:
            return redirect(safe_next_url)

        # Initialize form
        login_form = self.LoginFormClass(request.form)  # for login.html
        register_form = self.RegisterFormClass()  # for login_or_register.html
        if request.method != 'POST':
            login_form.next.data = register_form.next.data = safe_next_url
            login_form.reg_next.data = register_form.reg_next.data = safe_reg_next

        # Process valid POST
        if request.method == 'POST' and login_form.validate():
            # Retrieve User
            user = None
            user_email = None
            if self.USER_ENABLE_USERNAME:
                # Find user record by username
                user = self.db_manager.find_user_by_username(login_form.username.data)

                # Find user record by email (with form.username)
                if not user and self.USER_ENABLE_EMAIL:
                    user, user_email = self.db_manager.get_user_and_user_email_by_email(login_form.username.data)
            else:
                # Find user by email (with form.email)
                user, user_email = self.db_manager.get_user_and_user_email_by_email(login_form.email.data)

            if user:
                # Log user in
                safe_next_url = self.make_safe_url(login_form.next.data)
                return self._do_login_user(user, safe_next_url, login_form.remember_me.data)

        # Render form
        self.prepare_domain_translations()
        template_filename = self.USER_LOGIN_AUTH0_TEMPLATE if self.USER_ENABLE_AUTH0 else self.USER_LOGIN_TEMPLATE
        return render_template(template_filename,
                      form=login_form,
                      login_form=login_form,
                      register_form=register_form)
1065253
def getIteratorSetting(self, login, tableName, iteratorName, scope):
    
    self.send_getIteratorSetting(login, tableName, iteratorName, scope)
    return self.recv_getIteratorSetting()
810245
def getTableProperties(self, login, tableName):
    
    self.send_getTableProperties(login, tableName)
    return self.recv_getTableProperties()