| 程序包 | 说明 |
|---|---|
| org.h2.command |
This package contains the parser and the base classes for prepared SQL statements.
|
| org.h2.command.ddl |
Contains DDL (data definition language) and related SQL statements.
|
| org.h2.command.dml |
Contains DML (data manipulation language) and related SQL statements.
|
| org.h2.command.query |
Contains queries.
|
| org.h2.engine |
Contains high level classes of the database and classes that don't fit in another sub-package.
|
| org.h2.expression |
Expressions include mathematical operations, simple values, and others.
|
| org.h2.table |
Classes related to a table and table meta data.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Prepared |
Parser.prepare(String sql)
Parse the statement and prepare it for execution.
|
Prepared |
Parser.prepare(String sql)
Parse the statement and prepare it for execution.
|
| 构造器和说明 |
|---|
CommandContainer(SessionLocal session,
String sql,
Prepared prepared) |
CommandContainer(SessionLocal session,
String sql,
Prepared prepared) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
AlterDomain
The base class for ALTER DOMAIN commands.
|
class |
AlterDomainAddConstraint
This class represents the statement ALTER DOMAIN ADD CONSTRAINT
|
class |
AlterDomainDropConstraint
This class represents the statement ALTER DOMAIN DROP CONSTRAINT
|
class |
AlterDomainExpressions
This class represents the statements
ALTER DOMAIN SET DEFAULT
ALTER DOMAIN DROP DEFAULT
ALTER DOMAIN SET ON UPDATE
ALTER DOMAIN DROP ON UPDATE
|
class |
AlterDomainRename
This class represents the statement
ALTER DOMAIN RENAME
|
class |
AlterDomainRenameConstraint
This class represents the statement
ALTER DOMAIN RENAME CONSTRAINT
|
class |
AlterIndexRename
This class represents the statement
ALTER INDEX RENAME
|
class |
AlterSchemaRename
This class represents the statement
ALTER SCHEMA RENAME
|
class |
AlterSequence
This class represents the statement ALTER SEQUENCE.
|
class |
AlterTable
The base class for ALTER TABLE commands.
|
class |
AlterTableAddConstraint
This class represents the statement
ALTER TABLE ADD CONSTRAINT
|
class |
AlterTableAlterColumn
This class represents the statements
ALTER TABLE ADD,
ALTER TABLE ADD IF NOT EXISTS,
ALTER TABLE ALTER COLUMN,
ALTER TABLE ALTER COLUMN SELECTIVITY,
ALTER TABLE ALTER COLUMN SET DEFAULT,
ALTER TABLE ALTER COLUMN DROP DEFAULT,
ALTER TABLE ALTER COLUMN DROP EXPRESSION,
ALTER TABLE ALTER COLUMN SET NULL,
ALTER TABLE ALTER COLUMN DROP NULL,
ALTER TABLE ALTER COLUMN SET VISIBLE,
ALTER TABLE ALTER COLUMN SET INVISIBLE,
ALTER TABLE DROP COLUMN
|
class |
AlterTableDropConstraint
This class represents the statement
ALTER TABLE DROP CONSTRAINT
|
class |
AlterTableRename
This class represents the statement
ALTER TABLE RENAME
|
class |
AlterTableRenameColumn
This class represents the statement
ALTER TABLE ALTER COLUMN RENAME
|
class |
AlterTableRenameConstraint
This class represents the statement
ALTER TABLE RENAME CONSTRAINT
|
class |
AlterUser
This class represents the statements
ALTER USER ADMIN,
ALTER USER RENAME,
ALTER USER SET PASSWORD
|
class |
AlterView
This class represents the statement
ALTER VIEW
|
class |
Analyze
This class represents the statements
ANALYZE and ANALYZE TABLE
|
class |
CommandWithColumns |
class |
CreateAggregate
This class represents the statement
CREATE AGGREGATE
|
class |
CreateConstant
This class represents the statement
CREATE CONSTANT
|
class |
CreateDomain
This class represents the statement
CREATE DOMAIN
|
class |
CreateFunctionAlias
This class represents the statement
CREATE ALIAS
|
class |
CreateIndex
This class represents the statement
CREATE INDEX
|
class |
CreateLinkedTable
This class represents the statement
CREATE LINKED TABLE
|
class |
CreateRole
This class represents the statement
CREATE ROLE
|
class |
CreateSchema
This class represents the statement
CREATE SCHEMA
|
class |
CreateSequence
This class represents the statement CREATE SEQUENCE.
|
class |
CreateSynonym
This class represents the statement
CREATE SYNONYM
|
class |
CreateTable
This class represents the statement
CREATE TABLE
|
class |
CreateTrigger
This class represents the statement
CREATE TRIGGER
|
class |
CreateUser
This class represents the statement
CREATE USER
|
class |
CreateView
This class represents the statement
CREATE VIEW
|
class |
DeallocateProcedure
This class represents the statement
DEALLOCATE
|
class |
DefineCommand
This class represents a non-transaction statement, for example a CREATE or
DROP.
|
class |
DropAggregate
This class represents the statement
DROP AGGREGATE
|
class |
DropConstant
This class represents the statement
DROP CONSTANT
|
class |
DropDatabase
This class represents the statement
DROP ALL OBJECTS
|
class |
DropDomain
This class represents the statement DROP DOMAIN
|
class |
DropFunctionAlias
This class represents the statement
DROP ALIAS
|
class |
DropIndex
This class represents the statement
DROP INDEX
|
class |
DropRole
This class represents the statement
DROP ROLE
|
class |
DropSchema
This class represents the statement
DROP SCHEMA
|
class |
DropSequence
This class represents the statement
DROP SEQUENCE
|
class |
DropSynonym
This class represents the statement
DROP SYNONYM
|
class |
DropTable
This class represents the statement
DROP TABLE
|
class |
DropTrigger
This class represents the statement
DROP TRIGGER
|
class |
DropUser
This class represents the statement
DROP USER
|
class |
DropView
This class represents the statement
DROP VIEW
|
class |
GrantRevoke
This class represents the statements
GRANT RIGHT,
GRANT ROLE,
REVOKE RIGHT,
REVOKE ROLE
|
class |
PrepareProcedure
This class represents the statement
PREPARE
|
class |
SchemaCommand
This class represents a non-transaction statement that involves a schema.
|
class |
SetComment
This class represents the statement
COMMENT
|
class |
TruncateTable
This class represents the statement
TRUNCATE TABLE
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
PrepareProcedure.setPrepared(Prepared prep) |
void |
PrepareProcedure.setPrepared(Prepared prep) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
AlterTableSet
This class represents the statement
ALTER TABLE SET
|
class |
BackupCommand
This class represents the statement
BACKUP
|
class |
Call
This class represents the statement
CALL.
|
class |
CommandWithValues
Command that supports VALUES clause.
|
class |
DataChangeStatement
Data change statement.
|
class |
Delete
This class represents the statement
DELETE
|
class |
ExecuteImmediate
This class represents the statement
EXECUTE IMMEDIATE.
|
class |
ExecuteProcedure
This class represents the statement
EXECUTE
|
class |
Explain
This class represents the statement
EXPLAIN
|
class |
Help
This class represents the statement CALL.
|
class |
Insert
This class represents the statement
INSERT
|
class |
Merge
This class represents the statement
MERGE
or the MySQL compatibility statement
REPLACE
|
class |
MergeUsing
This class represents the statement syntax
MERGE INTO table alias USING...
|
class |
NoOperation
Represents an empty statement or a statement that has no effect.
|
class |
RunScriptCommand
This class represents the statement
RUNSCRIPT
|
class |
ScriptCommand
This class represents the statement
SCRIPT
|
class |
Set
This class represents the statement
SET
|
class |
SetSessionCharacteristics
This class represents the statement SET SESSION CHARACTERISTICS
|
class |
TransactionCommand
Represents a transactional statement.
|
class |
Update
This class represents the statement
UPDATE
|
| 限定符和类型 | 方法和说明 |
|---|---|
Prepared |
Explain.getCommand() |
Prepared |
Explain.getCommand() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Explain.setCommand(Prepared command) |
void |
Explain.setCommand(Prepared command) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
Query
Represents a SELECT statement (simple, or union).
|
class |
Select
This class represents a simple SELECT statement.
|
class |
SelectUnion
Represents a union SELECT statement.
|
class |
TableValueConstructor
Table value constructor.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Prepared |
Procedure.getPrepared() |
Prepared |
Procedure.getPrepared() |
Prepared |
SessionLocal.prepare(String sql)
Parse and prepare the given SQL statement.
|
Prepared |
SessionLocal.prepare(String sql)
Parse and prepare the given SQL statement.
|
Prepared |
SessionLocal.prepare(String sql,
boolean rightsChecked,
boolean literalsChecked)
Parse and prepare the given SQL statement.
|
Prepared |
SessionLocal.prepare(String sql,
boolean rightsChecked,
boolean literalsChecked)
Parse and prepare the given SQL statement.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Value |
SessionLocal.getNextValueFor(Sequence sequence,
Prepared prepared)
Returns the next value of the sequence in this session.
|
Value |
SessionLocal.getNextValueFor(Sequence sequence,
Prepared prepared)
Returns the next value of the sequence in this session.
|
| 构造器和说明 |
|---|
Procedure(String name,
Prepared prepared) |
Procedure(String name,
Prepared prepared) |
| 构造器和说明 |
|---|
Rownum(Prepared prepared) |
Rownum(Prepared prepared) |
SequenceValue(Sequence sequence,
Prepared prepared)
Creates new instance of NEXT VALUE FOR expression.
|
SequenceValue(Sequence sequence,
Prepared prepared)
Creates new instance of NEXT VALUE FOR expression.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Table.updateRows(Prepared prepared,
SessionLocal session,
LocalResult rows)
Update a list of rows in this table.
|
void |
TableLink.updateRows(Prepared prepared,
SessionLocal session,
LocalResult rows) |
void |
TableLink.updateRows(Prepared prepared,
SessionLocal session,
LocalResult rows) |
void |
Table.updateRows(Prepared prepared,
SessionLocal session,
LocalResult rows)
Update a list of rows in this table.
|
Copyright © 2022. All rights reserved.