Uses of Class
org.h2.command.Prepared
-
Packages that use Prepared Package Description 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.constraint Database constraints such as check constraints, unique constraints, and referential constraints.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. -
-
Uses of Prepared in org.h2.command
Fields in org.h2.command declared as Prepared Modifier and Type Field Description private Prepared
Parser. currentPrepared
private Prepared
CommandContainer. prepared
Fields in org.h2.command with type parameters of type Prepared Modifier and Type Field Description private java.util.ArrayList<Prepared>
CommandList. commands
Methods in org.h2.command that return Prepared Modifier and Type Method Description private Prepared
Parser. commandIfTableExists(Schema schema, java.lang.String tableName, boolean ifTableExists, Prepared commandIfTableExists)
private Prepared
Parser. getAlterTableAlterColumnDropDefaultExpression(Schema schema, java.lang.String tableName, boolean ifTableExists, Column column, int type)
private Prepared
Parser. getCurrentPrepared()
private Prepared
Parser. parse(java.lang.String sql, boolean withExpectedList)
(package private) Prepared
Parser. parse(java.lang.String sql, java.util.ArrayList<Token> tokens)
Parse the statement, but don't prepare it for execution.private Prepared
Parser. parseAlter()
private Prepared
Parser. parseAlterSchema()
private Prepared
Parser. parseAlterTable()
private Prepared
Parser. parseAlterTableAlter(Schema schema, java.lang.String tableName, boolean ifTableExists)
private Prepared
Parser. parseAlterTableAlterColumnIdentity(Schema schema, java.lang.String tableName, boolean ifTableExists, Column column)
private Prepared
Parser. parseAlterTableAlterColumnSet(Schema schema, java.lang.String tableName, boolean ifTableExists, boolean ifExists, java.lang.String columnName, Column column)
private Prepared
Parser. parseAlterTableCompatibility(Schema schema, java.lang.String tableName, boolean ifTableExists, Mode mode)
private Prepared
Parser. parseAlterTableDrop(Schema schema, java.lang.String tableName, boolean ifTableExists)
private Prepared
Parser. parseAlterTableDropCompatibility(Schema schema, java.lang.String tableName, boolean ifTableExists)
private Prepared
Parser. parseAlterTableRename(Schema schema, java.lang.String tableName, boolean ifTableExists)
private Prepared
Parser. parseAlterTableSet(Schema schema, java.lang.String tableName, boolean ifTableExists)
private Prepared
Parser. parseAnalyze()
private Prepared
Parser. parseBackup()
private Prepared
Parser. parseComment()
private Prepared
Parser. parseCreate()
private Prepared
Parser. parseDrop()
private Prepared
Parser. parseExecutePostgre()
private Prepared
Parser. parseExecuteSQLServer()
private Prepared
Parser. parseHelp()
private Prepared
Parser. parseMerge(int start)
private Prepared
Parser. parseMergeInto(TableFilter targetTableFilter, int start)
private Prepared
Parser. parsePrepare()
private Prepared
Parser. parsePrepared()
private Prepared
Parser. parsePrepareProcedure()
private Prepared
Parser. parseReleaseSavepoint()
private Prepared
Parser. parseSet()
private Prepared
Parser. parseSetTransactionMode()
private Prepared
Parser. parseShow()
private Prepared
Parser. parseTruncate()
private Prepared
Parser. parseUse()
private Prepared
Parser. parseWith()
private Prepared
Parser. parseWith1(java.util.List<TableView> viewsCreated)
private Prepared
Parser. parseWithQuery()
private Prepared
Parser. parseWithStatementOrQuery(int start)
Prepared
Parser. prepare(java.lang.String sql)
Parse the statement and prepare it for execution.private static Prepared
Parser. prepare(SessionLocal s, java.lang.String sql, java.util.ArrayList<Value> paramValues)
private Prepared
Parser. readSetCompatibility(Mode.ModeEnum modeEnum)
Methods in org.h2.command with parameters of type Prepared Modifier and Type Method Description (package private) static void
CommandContainer. clearCTE(SessionLocal session, Prepared prepared)
Clears CTE views for a specified statement.private Prepared
Parser. commandIfTableExists(Schema schema, java.lang.String tableName, boolean ifTableExists, Prepared commandIfTableExists)
private CommandList
Parser. prepareCommandList(CommandContainer command, Prepared p, java.lang.String sql, java.lang.String remainingSql, java.util.ArrayList<Token> remainingTokens)
private void
Parser. setSQL(Prepared command, int start)
Constructors in org.h2.command with parameters of type Prepared Constructor Description CommandContainer(SessionLocal session, java.lang.String sql, Prepared prepared)
Constructor parameters in org.h2.command with type arguments of type Prepared Constructor Description CommandList(SessionLocal session, java.lang.String sql, CommandContainer command, java.util.ArrayList<Prepared> commands, java.util.ArrayList<Parameter> parameters, java.lang.String remaining)
-
Uses of Prepared in org.h2.command.ddl
Subclasses of Prepared in org.h2.command.ddl Modifier and Type Class Description class
AlterDomain
The base class for ALTER DOMAIN commands.class
AlterDomainAddConstraint
This class represents the statement ALTER DOMAIN ADD CONSTRAINTclass
AlterDomainDropConstraint
This class represents the statement ALTER DOMAIN DROP CONSTRAINTclass
AlterDomainExpressions
This class represents the statements ALTER DOMAIN SET DEFAULT ALTER DOMAIN DROP DEFAULT ALTER DOMAIN SET ON UPDATE ALTER DOMAIN DROP ON UPDATEclass
AlterDomainRename
This class represents the statement ALTER DOMAIN RENAMEclass
AlterDomainRenameConstraint
This class represents the statement ALTER DOMAIN RENAME CONSTRAINTclass
AlterIndexRename
This class represents the statement ALTER INDEX RENAMEclass
AlterSchemaRename
This class represents the statement ALTER SCHEMA RENAMEclass
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 CONSTRAINTclass
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 COLUMNclass
AlterTableDropConstraint
This class represents the statement ALTER TABLE DROP CONSTRAINTclass
AlterTableRename
This class represents the statement ALTER TABLE RENAMEclass
AlterTableRenameColumn
This class represents the statement ALTER TABLE ALTER COLUMN RENAMEclass
AlterTableRenameConstraint
This class represents the statement ALTER TABLE RENAME CONSTRAINTclass
AlterUser
This class represents the statements ALTER USER ADMIN, ALTER USER RENAME, ALTER USER SET PASSWORDclass
AlterView
This class represents the statement ALTER VIEWclass
Analyze
This class represents the statements ANALYZE and ANALYZE TABLEclass
CommandWithColumns
class
CreateAggregate
This class represents the statement CREATE AGGREGATEclass
CreateConstant
This class represents the statement CREATE CONSTANTclass
CreateDomain
This class represents the statement CREATE DOMAINclass
CreateFunctionAlias
This class represents the statement CREATE ALIASclass
CreateIndex
This class represents the statement CREATE INDEXclass
CreateLinkedTable
This class represents the statement CREATE LINKED TABLEclass
CreateRole
This class represents the statement CREATE ROLEclass
CreateSchema
This class represents the statement CREATE SCHEMAclass
CreateSequence
This class represents the statement CREATE SEQUENCE.class
CreateSynonym
This class represents the statement CREATE SYNONYMclass
CreateTable
This class represents the statement CREATE TABLEclass
CreateTrigger
This class represents the statement CREATE TRIGGERclass
CreateUser
This class represents the statement CREATE USERclass
CreateView
This class represents the statement CREATE VIEWclass
DeallocateProcedure
This class represents the statement DEALLOCATEclass
DefineCommand
This class represents a non-transaction statement, for example a CREATE or DROP.class
DropAggregate
This class represents the statement DROP AGGREGATEclass
DropConstant
This class represents the statement DROP CONSTANTclass
DropDatabase
This class represents the statement DROP ALL OBJECTSclass
DropDomain
This class represents the statement DROP DOMAINclass
DropFunctionAlias
This class represents the statement DROP ALIASclass
DropIndex
This class represents the statement DROP INDEXclass
DropRole
This class represents the statement DROP ROLEclass
DropSchema
This class represents the statement DROP SCHEMAclass
DropSequence
This class represents the statement DROP SEQUENCEclass
DropSynonym
This class represents the statement DROP SYNONYMclass
DropTable
This class represents the statement DROP TABLEclass
DropTrigger
This class represents the statement DROP TRIGGERclass
DropUser
This class represents the statement DROP USERclass
DropView
This class represents the statement DROP VIEWclass
GrantRevoke
This class represents the statements GRANT RIGHT, GRANT ROLE, REVOKE RIGHT, REVOKE ROLEclass
PrepareProcedure
This class represents the statement PREPAREclass
SchemaCommand
This class represents a non-transaction statement that involves a schema.(package private) class
SchemaOwnerCommand
This class represents a non-transaction statement that involves a schema and requires schema owner rights.class
SetComment
This class represents the statement COMMENTclass
TruncateTable
This class represents the statement TRUNCATE TABLEFields in org.h2.command.ddl declared as Prepared Modifier and Type Field Description private Prepared
PrepareProcedure. prepared
Methods in org.h2.command.ddl with parameters of type Prepared Modifier and Type Method Description void
PrepareProcedure. setPrepared(Prepared prep)
-
Uses of Prepared in org.h2.command.dml
Subclasses of Prepared in org.h2.command.dml Modifier and Type Class Description class
AlterTableSet
This class represents the statement ALTER TABLE SETclass
BackupCommand
This class represents the statement BACKUPclass
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 DELETEclass
ExecuteImmediate
This class represents the statement EXECUTE IMMEDIATE.class
ExecuteProcedure
This class represents the statement EXECUTEclass
Explain
This class represents the statement EXPLAIN(package private) class
FilteredDataChangeStatement
Data change statement with WHERE criteria and possibly limited number of rows.class
Help
This class represents the statement CALL.class
Insert
This class represents the statement INSERTclass
Merge
This class represents the statement MERGE or the MySQL compatibility statement REPLACEclass
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(package private) class
ScriptBase
This class is the base for RunScriptCommand and ScriptCommand.class
ScriptCommand
This class represents the statement SCRIPTclass
Set
This class represents the statement SETclass
SetSessionCharacteristics
This class represents the statement SET SESSION CHARACTERISTICSclass
TransactionCommand
Represents a transactional statement.class
Update
This class represents the statement UPDATEFields in org.h2.command.dml declared as Prepared Modifier and Type Field Description private Prepared
Explain. command
Methods in org.h2.command.dml that return Prepared Modifier and Type Method Description Prepared
Explain. getCommand()
Methods in org.h2.command.dml with parameters of type Prepared Modifier and Type Method Description (package private) static void
Update. doUpdate(Prepared prepared, SessionLocal session, Table table, LocalResult rows)
void
Explain. setCommand(Prepared command)
-
Uses of Prepared in org.h2.command.query
Subclasses of Prepared in org.h2.command.query Modifier and Type Class Description 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. -
Uses of Prepared in org.h2.constraint
Methods in org.h2.constraint that return Prepared Modifier and Type Method Description private Prepared
ConstraintReferential. getDelete(SessionLocal session)
private Prepared
ConstraintReferential. getUpdate(SessionLocal session)
private Prepared
ConstraintReferential. prepare(SessionLocal session, java.lang.String sql, ConstraintActionType action)
Methods in org.h2.constraint with parameters of type Prepared Modifier and Type Method Description private void
ConstraintReferential. setWhere(Prepared command, int pos, Row row)
private void
ConstraintReferential. updateWithSkipCheck(Prepared prep)
-
Uses of Prepared in org.h2.engine
Fields in org.h2.engine declared as Prepared Modifier and Type Field Description private Prepared
Procedure. prepared
private Prepared
SessionLocal.SequenceAndPrepared. prepared
Fields in org.h2.engine with type parameters of type Prepared Modifier and Type Field Description (package private) static java.util.Comparator<Prepared>
MetaRecord. CONSTRAINTS_COMPARATOR
Comparator for prepared constraints, sorts unique and primary key constraints first.Methods in org.h2.engine that return Prepared Modifier and Type Method Description Prepared
Procedure. getPrepared()
(package private) Prepared
MetaRecord. prepare(Database db, SessionLocal systemSession, DatabaseEventListener listener)
Prepares the meta data statement.Prepared
SessionLocal. prepare(java.lang.String sql)
Parse and prepare the given SQL statement.Prepared
SessionLocal. prepare(java.lang.String sql, boolean rightsChecked, boolean literalsChecked)
Parse and prepare the given SQL statement.Methods in org.h2.engine with parameters of type Prepared Modifier and Type Method Description (package private) static void
MetaRecord. execute(Database db, Prepared command, DatabaseEventListener listener, java.lang.String sql)
Execute the meta data statement.Value
SessionLocal. getNextValueFor(Sequence sequence, Prepared prepared)
Returns the next value of the sequence in this session.Constructors in org.h2.engine with parameters of type Prepared Constructor Description Procedure(java.lang.String name, Prepared prepared)
SequenceAndPrepared(Sequence sequence, Prepared prepared)
-
Uses of Prepared in org.h2.expression
Fields in org.h2.expression declared as Prepared Modifier and Type Field Description private Prepared
Rownum. prepared
private Prepared
SequenceValue. prepared
Constructors in org.h2.expression with parameters of type Prepared Constructor Description Rownum(Prepared prepared)
SequenceValue(Sequence sequence, Prepared prepared)
Creates new instance of NEXT VALUE FOR expression. -
Uses of Prepared in org.h2.table
Methods in org.h2.table with parameters of type Prepared Modifier and Type Method Description 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)
-