boolean |
Database.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.
|
boolean |
Database.canUserCompactTableObject(DatabaseQueryContext context,
User user,
TableName table) |
Returns true if the user can compact a table with the given name,
otherwise returns false.
|
boolean |
Database.canUserCreateAndDropSchema(DatabaseQueryContext context,
User user,
java.lang.String schema) |
Returns true if the user is permitted to create and drop schema's in the
database, otherwise returns false.
|
boolean |
Database.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.
|
boolean |
Database.canUserCreateProcedureObject(DatabaseQueryContext context,
User user,
TableName table) |
Returns true if the user can create a procedure with the given name,
otherwise returns false.
|
boolean |
Database.canUserCreateSequenceObject(DatabaseQueryContext context,
User user,
TableName table) |
Returns true if the user can create a sequence with the given name,
otherwise returns false.
|
boolean |
Database.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.
|
boolean |
Database.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.
|
boolean |
Database.canUserDropProcedureObject(DatabaseQueryContext context,
User user,
TableName table) |
Returns true if the user can drop a procedure with the given name,
otherwise returns false.
|
boolean |
Database.canUserDropSequenceObject(DatabaseQueryContext context,
User user,
TableName table) |
Returns true if the user can drop a sequence with the given name,
otherwise returns false.
|
boolean |
Database.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.
|
boolean |
Database.canUserExecuteStoredProcedure(DatabaseQueryContext context,
User user,
java.lang.String procedure_name) |
Returns true if the user is allowed to execute the given stored procedure.
|
boolean |
Database.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.
|
boolean |
Database.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.
|
boolean |
Database.canUserShutDown(DatabaseQueryContext context,
User user) |
Returns true if the user can shut down the database server.
|
boolean |
Database.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.
|
(package private) static java.sql.Connection |
InternalJDBCHelper.createJDBCConnection(User user,
DatabaseConnection connection) |
Returns a java.sql.Connection object that is bound to the given
DatabaseConnection object.
|
DatabaseConnection |
Database.createNewConnection(User user,
DatabaseConnection.CallBack call_back) |
Returns a new DatabaseConnection instance that is used against this
database.
|
(package private) ProcedureConnection |
DatabaseConnection.createProcedureConnection(User user) |
Creates an object that implements ProcedureConnection that provides access
to this connection.
|
void |
ViewManager.defineView(ViewDef view,
SQLQuery query,
User user) |
Defines a view.
|
void |
Database.execute(User user,
DatabaseConnection database,
java.lang.Runnable runner) |
Executes database functions from the 'run' method of the given runnable
instance on the first available worker thread.
|
Table |
DatabaseProcedure.execute(User user,
java.lang.Object[] args) |
Executes the procudure and returns the resultant table.
|
(package private) void |
DatabaseSystem.execute(User user,
DatabaseConnection database,
java.lang.Runnable runner) |
Executes database functions from the 'run' method of the given runnable
instance on the first available worker thread.
|
(package private) void |
WorkerPool.execute(User user,
DatabaseConnection database,
java.lang.Runnable runner) |
Executes database functions from the 'run' method of the given runnable
instance on a worker thread.
|
(package private) void |
WorkerThread.execute(User user,
DatabaseConnection database_connection,
java.lang.Runnable runner) |
Tells the worker thread that the user is executing the given command.
|
(package private) void |
DatabaseConnection.setUser(User user) |
Sets the User object for this connection.
|
void |
Database.setUserLock(DatabaseQueryContext context,
User user,
boolean lock_status) |
Sets the lock status for the given user.
|
private boolean |
Database.userHasSchemaGrant(DatabaseQueryContext context,
User user,
java.lang.String schema,
int grant) |
Returns true if the grant manager permits a schema operation (eg,
CREATE, ALTER and DROP table operations) for the given user.
|
private boolean |
Database.userHasSecureAccess(DatabaseQueryContext context,
User user) |
Returns true if the user belongs to the secure access priv group.
|
private boolean |
Database.userHasTableObjectGrant(DatabaseQueryContext context,
User user,
TableName table_name,
Variable[] columns,
int grant) |
Returns true if the grant manager permits a table object operation (eg,
SELECT, INSERT, UPDATE, DELETE and COMPACT table operations) for the given
user.
|
(package private) void |
UserManager.userLoggedIn(User user) |
Called when a new user connects to the engine.
|
(package private) void |
UserManager.userLoggedOut(User user) |
Called when the user logs out of the engine.
|