| 程序包 | 说明 |
|---|---|
| org.h2.command.ddl |
Contains DDL (data definition language) and related SQL statements.
|
| org.h2.engine |
Contains high level classes of the database and classes that don't fit in another sub-package.
|
| org.h2.mode |
Utility classes for compatibility with other database, for example MySQL.
|
| org.h2.schema |
Schema implementation and objects that are stored in a schema (for example, sequences and constants).
|
| org.h2.security.auth |
Authentication classes.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
AlterUser.setUser(User user) |
void |
AlterUser.setUser(User user) |
| 限定符和类型 | 方法和说明 |
|---|---|
static User |
UserBuilder.buildUser(AuthenticationInfo authenticationInfo,
Database database,
boolean persistent)
Build the database user starting from authentication informations.
|
static User |
UserBuilder.buildUser(AuthenticationInfo authenticationInfo,
Database database,
boolean persistent)
Build the database user starting from authentication informations.
|
User |
Database.findUser(String name)
Get the user if it exists, or null if not.
|
User |
Database.findUser(String name)
Get the user if it exists, or null if not.
|
User |
Database.getSystemUser()
Returns system user.
|
User |
Database.getSystemUser()
Returns system user.
|
User |
SessionLocal.getUser() |
User |
SessionLocal.getUser() |
User |
Database.getUser(String name)
Get user with the given name.
|
User |
Database.getUser(String name)
Get user with the given name.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Database.setMasterUser(User user) |
void |
Database.setMasterUser(User user) |
| 构造器和说明 |
|---|
SessionLocal(Database database,
User user,
int id) |
SessionLocal(Database database,
User user,
int id) |
| 构造器和说明 |
|---|
PgCatalogSchema(Database database,
User owner)
Creates new instance of
pg_catalog schema. |
PgCatalogSchema(Database database,
User owner)
Creates new instance of
pg_catalog schema. |
| 构造器和说明 |
|---|
InformationSchema(Database database,
User owner)
Creates new instance of information schema.
|
InformationSchema(Database database,
User owner)
Creates new instance of information schema.
|
MetaSchema(Database database,
int id,
String schemaName,
User owner)
Creates a new instance of meta data schema.
|
MetaSchema(Database database,
int id,
String schemaName,
User owner)
Creates a new instance of meta data schema.
|
| 限定符和类型 | 方法和说明 |
|---|---|
User |
Authenticator.authenticate(AuthenticationInfo authenticationInfo,
Database database)
Perform user authentication.
|
User |
DefaultAuthenticator.authenticate(AuthenticationInfo authenticationInfo,
Database database) |
User |
DefaultAuthenticator.authenticate(AuthenticationInfo authenticationInfo,
Database database) |
User |
Authenticator.authenticate(AuthenticationInfo authenticationInfo,
Database database)
Perform user authentication.
|
Copyright © 2022. All rights reserved.