Uses of Class
com.mckoi.database.DatabaseQueryContext
Packages that use DatabaseQueryContext
-
Uses of DatabaseQueryContext in com.mckoi.database
Methods in com.mckoi.database with parameters of type DatabaseQueryContextModifier and TypeMethodDescriptionvoidDatabase.addUserToGroup(DatabaseQueryContext context, String username, String group) Adds the user to the given group.voidDatabase.alterUserPassword(DatabaseQueryContext context, String username, String password) Alters the password of the user but otherwise does not change any information about the user.booleanDatabase.canUserAlterTableObject(DatabaseQueryContext context, User user, TableName table) Returns true if the user can alter a table or view with the given name, otherwise returns false.booleanDatabase.canUserCompactTableObject(DatabaseQueryContext context, User user, TableName table) Returns true if the user can compact a table with the given name, otherwise returns false.booleanDatabase.canUserCreateAndDropSchema(DatabaseQueryContext context, User user, String schema) Returns true if the user is permitted to create and drop schema's in the database, otherwise returns false.booleanDatabase.canUserCreateAndDropUsers(DatabaseQueryContext context, User user) Returns true if the user is permitted to create, alter and drop user information from the database, otherwise returns false.booleanDatabase.canUserCreateProcedureObject(DatabaseQueryContext context, User user, TableName table) Returns true if the user can create a procedure with the given name, otherwise returns false.booleanDatabase.canUserCreateSequenceObject(DatabaseQueryContext context, User user, TableName table) Returns true if the user can create a sequence with the given name, otherwise returns false.booleanDatabase.canUserCreateTableObject(DatabaseQueryContext context, User user, TableName table) Returns true if the user can create a table or view with the given name, otherwise returns false.booleanDatabase.canUserDeleteFromTableObject(DatabaseQueryContext context, User user, TableName table) Returns true if the user can delete from a table or view with the given name and given columns, otherwise returns false.booleanDatabase.canUserDropProcedureObject(DatabaseQueryContext context, User user, TableName table) Returns true if the user can drop a procedure with the given name, otherwise returns false.booleanDatabase.canUserDropSequenceObject(DatabaseQueryContext context, User user, TableName table) Returns true if the user can drop a sequence with the given name, otherwise returns false.booleanDatabase.canUserDropTableObject(DatabaseQueryContext context, User user, TableName table) Returns true if the user can drop a table or view with the given name, otherwise returns false.booleanDatabase.canUserExecuteStoredProcedure(DatabaseQueryContext context, User user, String procedure_name) Returns true if the user is allowed to execute the given stored procedure.booleanDatabase.canUserInsertIntoTableObject(DatabaseQueryContext context, User user, TableName table, Variable[] columns) Returns true if the user can insert into a table or view with the given name and given columns, otherwise returns false.booleanDatabase.canUserSelectFromTableObject(DatabaseQueryContext context, User user, TableName table, Variable[] columns) Returns true if the user can select from a table or view with the given name and given columns, otherwise returns false.booleanDatabase.canUserShutDown(DatabaseQueryContext context, User user) Returns true if the user can shut down the database server.booleanDatabase.canUserUpdateTableObject(DatabaseQueryContext context, User user, TableName table, Variable[] columns) Returns true if the user can update a table or view with the given name and given columns, otherwise returns false.voidDatabase.createUser(DatabaseQueryContext context, String username, String password) Creates and adds a new user to this database.voidDatabase.deleteAllUserGroups(DatabaseQueryContext context, String username) Deletes all the groups the user belongs to.voidDatabase.deleteUser(DatabaseQueryContext context, String username) Deletes the user from the system.voidDatabase.grantHostAccessToUser(DatabaseQueryContext context, String user, String protocol, String host) Grants the given user access to connect to the database from the given host address.String[]Database.groupsUserBelongsTo(DatabaseQueryContext context, String username) Returns the list of all user groups the user belongs to.static TableFunctionTable.resultTable(DatabaseQueryContext context, int result_val) Returns a FunctionTable that has an int value made into a BigDecimal.static TableFunctionTable.resultTable(DatabaseQueryContext context, Expression expression) Returns a FunctionTable that has a single Expression evaluated in it.static TableFunctionTable.resultTable(DatabaseQueryContext context, TObject ob) Returns a FunctionTable that has a single TObject in it.static TableFunctionTable.resultTable(DatabaseQueryContext context, Object ob) Returns a FunctionTable that has a single Object in it.voidDatabase.setUserLock(DatabaseQueryContext context, User user, boolean lock_status) Sets the lock status for the given user.booleanDatabase.userBelongsToGroup(DatabaseQueryContext context, String username, String group) Returns true if the given user belongs to the given group otherwise returns false.booleanDatabase.userExists(DatabaseQueryContext context, String username) Returns true if a user exists in this database, otherwise returns false.Constructors in com.mckoi.database with parameters of type DatabaseQueryContextModifierConstructorDescriptionFunctionTable(Expression[] exp_list, String[] col_names, DatabaseQueryContext context) FunctionTable(Table cross_ref_table, Expression[] in_exp_list, String[] col_names, DatabaseQueryContext context) Constructs the FunctionTable.