Uses of Class
org.h2.engine.SessionLocal
Packages that use SessionLocal
Package
Description
This package contains the parser and the base classes for prepared SQL statements.
Contains DDL (data definition language) and related SQL statements.
Contains DML (data manipulation language) and related SQL statements.
Contains queries.
Database constraints such as check constraints, unique constraints, and referential constraints.
Contains high level classes of the database and classes that don't fit in another sub-package.
Expressions include mathematical operations, simple values, and others.
Aggregate functions.
Base classes for data analysis operations and implementations of window functions.
Condition expressions.
Functions.
Table value functions.
The native full text search implementation, and the wrapper for the Lucene full text search implementation.
Various table index implementations, as well as cursors to navigate in an index.
Implementation of the JDBC database metadata API (package java.sql).
Utility classes for compatibility with other database, for example MySQL.
Helper classes to use the MVStore in the H2 database.
Implementation of row and internal result sets.
Schema implementation and objects that are stored in a schema (for example, sequences and constants).
A small FTP server.
PostgreSQL server implementation of this database.
Classes related to a table and table meta data.
-
Uses of SessionLocal in org.h2.command
Fields in org.h2.command declared as SessionLocalModifier and TypeFieldDescriptionprotected final SessionLocal
Command.session
The session.private final SessionLocal
Parser.session
protected SessionLocal
Prepared.session
The session.Methods in org.h2.command that return SessionLocalMethods in org.h2.command with parameters of type SessionLocalModifier and TypeMethodDescription(package private) static void
CommandContainer.clearCTE
(SessionLocal session, List<TableView> views) Clears CTE views.(package private) static void
CommandContainer.clearCTE
(SessionLocal session, Prepared prepared) Clears CTE views for a specified statement.static AlterTableAddConstraint
Parser.newPrimaryKeyConstraintCommand
(SessionLocal session, Schema schema, String tableName, Column column) Create a new alter table command.private static Prepared
Parser.prepare
(SessionLocal s, String sql, ArrayList<Value> paramValues) void
Prepared.setSession
(SessionLocal currentSession) Set the session for this statement.Constructors in org.h2.command with parameters of type SessionLocalModifierConstructorDescription(package private)
Command
(SessionLocal session, String sql) CommandContainer
(SessionLocal session, String sql, Prepared prepared) (package private)
CommandList
(SessionLocal session, String sql, CommandContainer command, ArrayList<Prepared> commands, ArrayList<Parameter> parameters, String remaining) Parser
(SessionLocal session) Creates a new instance of parser.Prepared
(SessionLocal session) Create a new object. -
Uses of SessionLocal in org.h2.command.ddl
Fields in org.h2.command.ddl declared as SessionLocalModifier and TypeFieldDescriptionCreateSynonymData.session
The session.CreateTableData.session
The session.Methods in org.h2.command.ddl with parameters of type SessionLocalModifier and TypeMethodDescriptionstatic void
Analyze.analyzeTable
(SessionLocal session, Table table, int sample, boolean manual) Analyze this table.private boolean
AlterDomainExpressions.copyExpressions
(SessionLocal session, Domain domain, ColumnTemplate targetColumn) private static boolean
DropDomain.copyExpressions
(SessionLocal session, Domain domain, ColumnTemplate targetColumn) static void
AlterDomain.forAllDependencies
(SessionLocal session, Domain domain, BiPredicate<Domain, Column> columnProcessor, BiPredicate<Domain, Domain> domainProcessor, boolean recompileExpressions) Processes all columns and domains that use the specified domain.private static boolean
AlterDomain.forTable
(SessionLocal session, Domain domain, BiPredicate<Domain, Column> columnProcessor, boolean recompileExpressions, Table t) private static byte[]
CreateUser.getByteArray
(SessionLocal session, Expression e) SequenceOptions.getCacheSize
(SessionLocal session) Gets cache size.private long
SequenceOptions.getCurrentStart
(Sequence sequence, SessionLocal session) SequenceOptions.getIncrement
(SessionLocal session) Gets increment value.private static Long
SequenceOptions.getLong
(SessionLocal session, Expression expr) SequenceOptions.getMaxValue
(Sequence sequence, SessionLocal session) Gets max value.SequenceOptions.getMinValue
(Sequence sequence, SessionLocal session) Gets min value.SequenceOptions.getRestartValue
(SessionLocal session, long startValue) Gets restart value.SequenceOptions.getStartValue
(SessionLocal session) Gets start value.(package private) static void
CreateUser.setPassword
(User user, SessionLocal session, Expression password) Set the password for the given user.(package private) static void
CreateUser.setSaltAndHash
(User user, SessionLocal session, Expression salt, Expression hash) Set the salt and hash for the given user.Constructors in org.h2.command.ddl with parameters of type SessionLocalModifierConstructorDescription(package private)
AlterDomain
(SessionLocal session, Schema schema) AlterDomainAddConstraint
(SessionLocal session, Schema schema, boolean ifNotExists) AlterDomainDropConstraint
(SessionLocal session, Schema schema, boolean ifConstraintExists) AlterDomainExpressions
(SessionLocal session, Schema schema, int type) AlterDomainRename
(SessionLocal session, Schema schema) AlterDomainRenameConstraint
(SessionLocal session, Schema schema) AlterIndexRename
(SessionLocal session) AlterSchemaRename
(SessionLocal session) AlterSequence
(SessionLocal session, Schema schema) (package private)
AlterTable
(SessionLocal session, Schema schema) AlterTableAddConstraint
(SessionLocal session, Schema schema, int type, boolean ifNotExists) AlterTableAlterColumn
(SessionLocal session, Schema schema) AlterTableDropConstraint
(SessionLocal session, Schema schema, boolean ifExists) AlterTableRename
(SessionLocal session, Schema schema) AlterTableRenameColumn
(SessionLocal session, Schema schema) AlterTableRenameConstraint
(SessionLocal session, Schema schema) AlterUser
(SessionLocal session) AlterView
(SessionLocal session) Analyze
(SessionLocal session) protected
CommandWithColumns
(SessionLocal session, Schema schema) CreateAggregate
(SessionLocal session, Schema schema) CreateConstant
(SessionLocal session, Schema schema) CreateDomain
(SessionLocal session, Schema schema) CreateFunctionAlias
(SessionLocal session, Schema schema) CreateIndex
(SessionLocal session, Schema schema) CreateLinkedTable
(SessionLocal session, Schema schema) CreateRole
(SessionLocal session) CreateSchema
(SessionLocal session) CreateSequence
(SessionLocal session, Schema schema) CreateSynonym
(SessionLocal session, Schema schema) CreateTable
(SessionLocal session, Schema schema) CreateTrigger
(SessionLocal session, Schema schema) CreateUser
(SessionLocal session) CreateView
(SessionLocal session, Schema schema) DeallocateProcedure
(SessionLocal session) (package private)
DefineCommand
(SessionLocal session) Create a new command for the given session.DropAggregate
(SessionLocal session, Schema schema) DropConstant
(SessionLocal session, Schema schema) DropDatabase
(SessionLocal session) DropDomain
(SessionLocal session, Schema schema) DropFunctionAlias
(SessionLocal session, Schema schema) DropIndex
(SessionLocal session, Schema schema) DropRole
(SessionLocal session) DropSchema
(SessionLocal session) DropSequence
(SessionLocal session, Schema schema) DropSynonym
(SessionLocal session, Schema schema) DropTable
(SessionLocal session) DropTrigger
(SessionLocal session, Schema schema) DropUser
(SessionLocal session) DropView
(SessionLocal session, Schema schema) GrantRevoke
(SessionLocal session) PrepareProcedure
(SessionLocal session) SchemaCommand
(SessionLocal session, Schema schema) Create a new command.(package private)
SchemaOwnerCommand
(SessionLocal session, Schema schema) Create a new command.SetComment
(SessionLocal session) TruncateTable
(SessionLocal session) -
Uses of SessionLocal in org.h2.command.dml
Methods in org.h2.command.dml with parameters of type SessionLocalModifier and TypeMethodDescriptionprivate void
Set.addOrUpdateSetting
(SessionLocal session, String name, String s, int v) (package private) static void
Update.doUpdate
(Prepared prepared, SessionLocal session, Table table, LocalResult rows) (package private) void
SetClauseList.mapAndOptimize
(SessionLocal session, ColumnResolver resolver1, ColumnResolver resolver2) Map the columns and optimize expressions.(package private) void
SetClauseList.RowExpression.mapAndOptimize
(SessionLocal session, ColumnResolver resolver1, ColumnResolver resolver2) (package private) void
SetClauseList.SetMultiple.mapAndOptimize
(SessionLocal session, ColumnResolver resolver1, ColumnResolver resolver2) (package private) void
SetClauseList.SetSimple.mapAndOptimize
(SessionLocal session, ColumnResolver resolver1, ColumnResolver resolver2) (package private) void
SetClauseList.UpdateAction.mapAndOptimize
(SessionLocal session, ColumnResolver resolver1, ColumnResolver resolver2) (package private) abstract void
MergeUsing.When.merge
(SessionLocal session, ResultTarget deltaChangeCollector, DataChangeDeltaTable.ResultOption deltaChangeCollectionMode) Merges rows.(package private) void
MergeUsing.WhenMatchedThenDelete.merge
(SessionLocal session, ResultTarget deltaChangeCollector, DataChangeDeltaTable.ResultOption deltaChangeCollectionMode) (package private) void
MergeUsing.WhenMatchedThenUpdate.merge
(SessionLocal session, ResultTarget deltaChangeCollector, DataChangeDeltaTable.ResultOption deltaChangeCollectionMode) (package private) void
MergeUsing.WhenNotMatched.merge
(SessionLocal session, ResultTarget deltaChangeCollector, DataChangeDeltaTable.ResultOption deltaChangeCollectionMode) (package private) boolean
MergeUsing.When.prepare
(SessionLocal session) Prepares WHEN command.(package private) boolean
MergeUsing.WhenMatchedThenUpdate.prepare
(SessionLocal session) (package private) boolean
MergeUsing.WhenNotMatched.prepare
(SessionLocal session) (package private) boolean
SetClauseList.prepareUpdate
(Table table, SessionLocal session, ResultTarget deltaChangeCollector, DataChangeDeltaTable.ResultOption deltaChangeCollectionMode, LocalResult rows, Row oldRow, boolean updateToCurrentValuesReturnsZero) (package private) Value
SetClauseList.SetMultiple.update
(SessionLocal session) (package private) Value
SetClauseList.SetSimple.update
(SessionLocal session) (package private) Value
SetClauseList.UpdateAction.update
(SessionLocal session) Constructors in org.h2.command.dml with parameters of type SessionLocalModifierConstructorDescriptionAlterTableSet
(SessionLocal session, Schema schema, int type, boolean value) BackupCommand
(SessionLocal session) Call
(SessionLocal session) protected
CommandWithValues
(SessionLocal session) Creates new instance of command with VALUES clause.protected
DataChangeStatement
(SessionLocal session) Creates new instance of DataChangeStatement.Delete
(SessionLocal session) ExecuteImmediate
(SessionLocal session, Expression statement) ExecuteProcedure
(SessionLocal session) Explain
(SessionLocal session) (package private)
FilteredDataChangeStatement
(SessionLocal session) Creates new instance of FilteredDataChangeStatement.Help
(SessionLocal session, String[] conditions) Insert
(SessionLocal session) Merge
(SessionLocal session, boolean isReplace) MergeUsing
(SessionLocal session, TableFilter targetTableFilter) NoOperation
(SessionLocal session) RunScriptCommand
(SessionLocal session) (package private)
ScriptBase
(SessionLocal session) ScriptCommand
(SessionLocal session) Set
(SessionLocal session, int type) SetSessionCharacteristics
(SessionLocal session, IsolationLevel isolationLevel) TransactionCommand
(SessionLocal session, int type) Update
(SessionLocal session) -
Uses of SessionLocal in org.h2.command.query
Fields in org.h2.command.query declared as SessionLocalModifier and TypeFieldDescriptionprivate final SessionLocal
Optimizer.session
(package private) final SessionLocal
SelectGroups.session
The database session.Methods in org.h2.command.query with parameters of type SessionLocalModifier and TypeMethodDescriptionprivate static boolean
Query.checkOrderOther
(SessionLocal session, Expression expr, ArrayList<String> expressionSQL) An additional check for expression in ORDER BY list for DISTINCT selects that was not matched with selected expressions in regular way.static SelectGroups
SelectGroups.getInstance
(SessionLocal session, ArrayList<Expression> expressions, boolean isGroupQuery, int[] groupIndex) Creates new instance of grouped data.static void
TableValueConstructor.getVisibleResult
(SessionLocal session, ResultTarget result, Column[] columns, ArrayList<ArrayList<Expression>> rows) Appends visible columns of all rows to the specified result.abstract void
Query.updateAggregate
(SessionLocal s, int stage) Update all aggregate function values.void
Select.updateAggregate
(SessionLocal s, int stage) void
SelectUnion.updateAggregate
(SessionLocal s, int stage) void
TableValueConstructor.updateAggregate
(SessionLocal s, int stage) Constructors in org.h2.command.query with parameters of type SessionLocalModifierConstructorDescription(package private)
Grouped
(SessionLocal session, ArrayList<Expression> expressions, int[] groupIndex) (package private)
Optimizer
(TableFilter[] filters, Expression condition, SessionLocal session) (package private)
Plain
(SessionLocal session, ArrayList<Expression> expressions) (package private)
Query
(SessionLocal session) Select
(SessionLocal session, Select parentSelect) (package private)
SelectGroups
(SessionLocal session, ArrayList<Expression> expressions) SelectUnion
(SessionLocal session, SelectUnion.UnionType unionType, Query query, Query right) TableValueConstructor
(SessionLocal session, ArrayList<ArrayList<Expression>> rows) Creates new instance of table value constructor. -
Uses of SessionLocal in org.h2.constraint
Fields in org.h2.constraint declared as SessionLocalModifier and TypeFieldDescriptionprivate final SessionLocal
ConstraintDomain.CheckExistingData.session
Methods in org.h2.constraint with parameters of type SessionLocalModifier and TypeMethodDescriptionvoid
ConstraintDomain.check
(SessionLocal session, Value value) Check the specified value.abstract void
Constraint.checkExistingData
(SessionLocal session) Check the existing data.void
ConstraintCheck.checkExistingData
(SessionLocal session) void
ConstraintDomain.checkExistingData
(SessionLocal session) void
ConstraintReferential.checkExistingData
(SessionLocal session) void
ConstraintUnique.checkExistingData
(SessionLocal session) abstract void
Constraint.checkRow
(SessionLocal session, Table t, Row oldRow, Row newRow) Check if this row fulfils the constraint.void
ConstraintCheck.checkRow
(SessionLocal session, Table t, Row oldRow, Row newRow) void
ConstraintDomain.checkRow
(SessionLocal session, Table t, Row oldRow, Row newRow) private void
ConstraintReferential.checkRow
(SessionLocal session, Row oldRow) void
ConstraintReferential.checkRow
(SessionLocal session, Table t, Row oldRow, Row newRow) void
ConstraintUnique.checkRow
(SessionLocal session, Table t, Row oldRow, Row newRow) private void
ConstraintReferential.checkRowOwnTable
(SessionLocal session, Row oldRow, Row newRow) private void
ConstraintReferential.checkRowRefTable
(SessionLocal session, Row oldRow, Row newRow) private boolean
ConstraintReferential.existsRow
(SessionLocal session, Index searchIndex, SearchRow check, Row excluding) ConstraintDomain.getCheckConstraint
(SessionLocal session, String columnName) Get the check constraint expression for this column.private Prepared
ConstraintReferential.getDelete
(SessionLocal session) private Prepared
ConstraintReferential.getUpdate
(SessionLocal session) private Prepared
ConstraintReferential.prepare
(SessionLocal session, String sql, ConstraintActionType action) void
ConstraintCheck.removeChildrenAndResources
(SessionLocal session) void
ConstraintDomain.removeChildrenAndResources
(SessionLocal session) void
ConstraintReferential.removeChildrenAndResources
(SessionLocal session) void
ConstraintUnique.removeChildrenAndResources
(SessionLocal session) void
ConstraintDomain.setExpression
(SessionLocal session, Expression expr) Set the expression.Constructors in org.h2.constraint with parameters of type SessionLocalModifierConstructorDescription(package private)
CheckExistingData
(SessionLocal session, Domain domain) -
Uses of SessionLocal in org.h2.engine
Fields in org.h2.engine declared as SessionLocalModifier and TypeFieldDescriptionprivate static final SessionLocal[]
Database.EMPTY_SESSION_ARRAY
private SessionLocal
Database.lobSession
private SessionLocal
Database.systemSession
Fields in org.h2.engine with type parameters of type SessionLocalModifier and TypeFieldDescriptionprivate final AtomicReference
<SessionLocal> Database.exclusiveSession
private static final ThreadLocal
<SessionLocal> Database.META_LOCK_DEBUGGING
private final Set
<SessionLocal> Database.userSessions
Methods in org.h2.engine that return SessionLocalModifier and TypeMethodDescriptionprivate SessionLocal
Database.createSession
(User user) (package private) SessionLocal
Database.createSession
(User user, NetworkConnectionInfo networkConnectionInfo) Create a session for the given user.static SessionLocal
Engine.createSession
(ConnectionInfo ci) Open a database connection with the given connection information.Database.getExclusiveSession()
Database.getLobSession()
Database.getSessions
(boolean includingSystemSession) Get all sessions that are currently connected to the database.Database.getSystemSession()
private static SessionLocal
Engine.openSession
(ConnectionInfo ci) private static SessionLocal
Engine.openSession
(ConnectionInfo ci, boolean ifExists, boolean forbidCreation, String cipher) Methods in org.h2.engine with parameters of type SessionLocalModifier and TypeMethodDescriptionvoid
Database.addDatabaseObject
(SessionLocal session, DbObject obj) Add an object to the database.private void
Database.addMeta
(SessionLocal session, DbObject obj) void
Database.addSchemaObject
(SessionLocal session, SchemaObject obj) Add a schema object to the database.private void
Database.checkMetaFree
(SessionLocal session, int id) private void
Database.closeAllSessionsExcept
(SessionLocal except) Database.getTempTableName
(String baseName, SessionLocal session) Get a unique temporary table name.boolean
Database.isSysTableLockedBy
(SessionLocal session) Checks if the system table (containing the catalog) is locked by the given session.(package private) boolean
Database.isUserSession
(SessionLocal session) boolean
Database.lockMeta
(SessionLocal session) Lock the metadata table for updates.private void
Database.lockMetaAssertion
(SessionLocal session) (package private) Prepared
MetaRecord.prepare
(Database db, SessionLocal systemSession, DatabaseEventListener listener) Prepares the meta data statement.(package private) void
MetaRecord.prepareAndExecute
(Database db, SessionLocal systemSession, DatabaseEventListener listener) Execute the meta data statement.(package private) void
Database.prepareCommit
(SessionLocal session, String transaction) Prepare a transaction.void
Comment.removeChildrenAndResources
(SessionLocal session) abstract void
DbObject.removeChildrenAndResources
(SessionLocal session) Delete all dependent children objects and resources of this object.void
Right.removeChildrenAndResources
(SessionLocal session) void
Role.removeChildrenAndResources
(SessionLocal session) void
Setting.removeChildrenAndResources
(SessionLocal session) void
User.removeChildrenAndResources
(SessionLocal session) void
Database.removeDatabaseObject
(SessionLocal session, DbObject obj) Remove the object from the database.void
Database.removeMeta
(SessionLocal session, int id) Remove the given object from the meta data.void
Database.removeSchemaObject
(SessionLocal session, SchemaObject obj) Remove an object from the system table.void
Database.removeSession
(SessionLocal session) Remove a session.void
Database.renameDatabaseObject
(SessionLocal session, DbObject obj, String newName) Rename a database object.void
Database.renameSchemaObject
(SessionLocal session, SchemaObject obj, String newName) Rename a schema object.boolean
Database.setExclusiveSession
(SessionLocal session, boolean closeOthers) Set the session that can exclusively access the database.void
Database.unlockMeta
(SessionLocal session) Unlock the metadata table.(package private) static void
Database.unlockMetaDebug
(SessionLocal session) This method doesn't actually unlock the metadata table, all it does it reset the debugging flags.boolean
Database.unsetExclusiveSession
(SessionLocal session) Stop exclusive access the database by provided session.void
Database.updateMeta
(SessionLocal session, DbObject obj) Update an object in the system table.private void
Database.updateMetaAndFirstLevelChildren
(SessionLocal session, DbObject obj) void
Database.verifyMetaLocked
(SessionLocal session) Verify the meta table is locked. -
Uses of SessionLocal in org.h2.expression
Methods in org.h2.expression with parameters of type SessionLocalModifier and TypeMethodDescriptionvoid
Expression.createIndexConditions
(SessionLocal session, TableFilter filter) Create index conditions if possible and attach them to the table filter.void
ExpressionColumn.createIndexConditions
(SessionLocal session, TableFilter filter) void
ValueExpression.createIndexConditions
(SessionLocal session, TableFilter filter) private void
ConcatenationOperation.determineType
(SessionLocal session) Alias.getAlias
(SessionLocal session, int columnIndex) Expression.getAlias
(SessionLocal session, int columnIndex) Get the alias name of a column or SQL expression if it is not an aliased expression.ExpressionColumn.getAlias
(SessionLocal session, int columnIndex) Subquery.getAllRows
(SessionLocal session) Evaluates and returns all rows of the subquery.boolean
Expression.getBooleanValue
(SessionLocal session) Get the value in form of a boolean expression.Alias.getColumnName
(SessionLocal session, int columnIndex) Expression.getColumnName
(SessionLocal session, int columnIndex) Get the column name or alias name of this expression.ExpressionColumn.getColumnName
(SessionLocal session, int columnIndex) Format.getColumnName
(SessionLocal session, int columnIndex) Alias.getColumnNameForView
(SessionLocal session, int columnIndex) Expression.getColumnNameForView
(SessionLocal session, int columnIndex) Get the column name of this expression for a view.ExpressionColumn.getColumnNameForView
(SessionLocal session, int columnIndex) private Value
IntervalOperation.getDateTimeWithInterval
(SessionLocal session, Value l, Value r, int lType, int rType) Expression.getNotIfPossible
(SessionLocal session) If it is possible, return the negated expression.ExpressionColumn.getNotIfPossible
(SessionLocal session) Parameter.getNotIfPossible
(SessionLocal session) ValueExpression.getNotIfPossible
(SessionLocal session) Alias.getValue
(SessionLocal session) ArrayConstructorByQuery.getValue
(SessionLocal session) ArrayElementReference.getValue
(SessionLocal session) BinaryOperation.getValue
(SessionLocal session) CompatibilityDatePlusTimeOperation.getValue
(SessionLocal session) ConcatenationOperation.getValue
(SessionLocal session) private Value
ConcatenationOperation.getValue
(SessionLocal session, int l) private Value
ConcatenationOperation.getValue
(SessionLocal session, Value l, Value r) DomainValueExpression.getValue
(SessionLocal session) abstract Value
Expression.getValue
(SessionLocal session) Return the resulting value for the current row.ExpressionColumn.getValue
(SessionLocal session) ExpressionList.getValue
(SessionLocal session) FieldReference.getValue
(SessionLocal session) Format.getValue
(SessionLocal session) IntervalOperation.getValue
(SessionLocal session) Parameter.getValue
(SessionLocal session) Rownum.getValue
(SessionLocal session) SearchedCase.getValue
(SessionLocal session) SequenceValue.getValue
(SessionLocal session) SimpleCase.getValue
(SessionLocal session) Subquery.getValue
(SessionLocal session) TimeZoneOperation.getValue
(SessionLocal session) UnaryOperation.getValue
(SessionLocal session) ValueExpression.getValue
(SessionLocal session) Variable.getValue
(SessionLocal session) Wildcard.getValue
(SessionLocal session) boolean
Expression.getWhenValue
(SessionLocal session, Value left) Return the resulting value of when operand for the current row.private static BigInteger
IntervalOperation.nanosFromValue
(SessionLocal session, Value v) Alias.optimize
(SessionLocal session) ArrayConstructorByQuery.optimize
(SessionLocal session) ArrayElementReference.optimize
(SessionLocal session) BinaryOperation.optimize
(SessionLocal session) CompatibilityDatePlusTimeOperation.optimize
(SessionLocal session) ConcatenationOperation.optimize
(SessionLocal session) DomainValueExpression.optimize
(SessionLocal session) abstract Expression
Expression.optimize
(SessionLocal session) Try to optimize the expression.ExpressionColumn.optimize
(SessionLocal session) ExpressionList.optimize
(SessionLocal session) FieldReference.optimize
(SessionLocal session) Format.optimize
(SessionLocal session) IntervalOperation.optimize
(SessionLocal session) Operation0.optimize
(SessionLocal session) Parameter.optimize
(SessionLocal session) Rownum.optimize
(SessionLocal session) SearchedCase.optimize
(SessionLocal session) SimpleCase.optimize
(SessionLocal session) Subquery.optimize
(SessionLocal session) TimeZoneOperation.optimize
(SessionLocal session) UnaryOperation.optimize
(SessionLocal session) Wildcard.optimize
(SessionLocal session) protected boolean
OperationN.optimizeArguments
(SessionLocal session, boolean allConst) Optimizes arguments.final Expression
Expression.optimizeCondition
(SessionLocal session) Try to optimize or remove the condition.private Expression
BinaryOperation.optimizeDateTime
(SessionLocal session, int l, int r) void
Alias.updateAggregate
(SessionLocal session, int stage) void
ArrayConstructorByQuery.updateAggregate
(SessionLocal session, int stage) abstract void
Expression.updateAggregate
(SessionLocal session, int stage) Update an aggregate value.void
ExpressionColumn.updateAggregate
(SessionLocal session, int stage) void
ExpressionList.updateAggregate
(SessionLocal session, int stage) void
Operation0.updateAggregate
(SessionLocal session, int stage) void
Operation1_2.updateAggregate
(SessionLocal session, int stage) void
Operation1.updateAggregate
(SessionLocal session, int stage) void
Operation2.updateAggregate
(SessionLocal session, int stage) void
OperationN.updateAggregate
(SessionLocal session, int stage) void
SimpleCase.updateAggregate
(SessionLocal session, int stage) void
Subquery.updateAggregate
(SessionLocal session, int stage) void
Wildcard.updateAggregate
(SessionLocal session, int stage) Constructors in org.h2.expression with parameters of type SessionLocal -
Uses of SessionLocal in org.h2.expression.aggregate
Methods in org.h2.expression.aggregate with parameters of type SessionLocalModifier and TypeMethodDescription(package private) abstract void
AggregateData.add
(SessionLocal session, Value v) Add a value to this aggregate.(package private) void
AggregateDataAvg.add
(SessionLocal session, Value v) (package private) final void
AggregateDataBinarySet.add
(SessionLocal session, Value v) (package private) abstract void
AggregateDataBinarySet.add
(SessionLocal session, Value yValue, Value xValue) (package private) void
AggregateDataCollecting.add
(SessionLocal session, Value v) (package private) void
AggregateDataCorr.add
(SessionLocal session, Value yValue, Value xValue) (package private) void
AggregateDataCount.add
(SessionLocal session, Value v) (package private) void
AggregateDataCovar.add
(SessionLocal session, Value yValue, Value xValue) (package private) void
AggregateDataDefault.add
(SessionLocal session, Value v) (package private) void
AggregateDataDistinctWithCounts.add
(SessionLocal session, Value v) (package private) void
AggregateDataEnvelope.add
(SessionLocal session, Value v) (package private) void
AggregateDataStdVar.add
(SessionLocal session, Value v) private void
AbstractAggregate.aggregateFastPartition
(SessionLocal session, HashMap<Integer, Value> result, ArrayList<Value[]> ordered, int rowIdColumn, boolean grouped) private void
AbstractAggregate.aggregateFastPartitionInReverse
(SessionLocal session, HashMap<Integer, Value> result, ArrayList<Value[]> ordered, int rowIdColumn, boolean grouped) private void
AbstractAggregate.aggregateWholePartition
(SessionLocal session, HashMap<Integer, Value> result, ArrayList<Value[]> ordered, int rowIdColumn) private static Value
Aggregate.collect
(SessionLocal session, AggregateDataCollecting c, AggregateData d) Aggregate.getAggregatedValue
(SessionLocal session, Object aggregateData) JavaAggregate.getAggregatedValue
(SessionLocal session, Object aggregateData) (package private) static Value
Percentile.getFromIndex
(SessionLocal session, Expression expression, int dataType, ArrayList<QueryOrderBy> orderByList, BigDecimal percentile, boolean interpolate) Get the result from the index.private Value
Aggregate.getHistogram
(SessionLocal session, AggregateData data) private Value
Aggregate.getHypotheticalSet
(SessionLocal session, AggregateData data) private Value
Aggregate.getListagg
(SessionLocal session, AggregateData data) private Value
Aggregate.getMode
(SessionLocal session, AggregateData data) protected void
AbstractAggregate.getOrderedResultLoop
(SessionLocal session, HashMap<Integer, Value> result, ArrayList<Value[]> ordered, int rowIdColumn) private Value
Aggregate.getSecondValue
(SessionLocal session, Value[] remembered) Aggregate.getValue
(SessionLocal session) (package private) abstract Value
AggregateData.getValue
(SessionLocal session) Get the aggregate result.(package private) Value
AggregateDataAvg.getValue
(SessionLocal session) (package private) Value
AggregateDataCollecting.getValue
(SessionLocal session) (package private) Value
AggregateDataCorr.getValue
(SessionLocal session) (package private) Value
AggregateDataCount.getValue
(SessionLocal session) (package private) Value
AggregateDataCovar.getValue
(SessionLocal session) (package private) Value
AggregateDataDefault.getValue
(SessionLocal session) (package private) Value
AggregateDataDistinctWithCounts.getValue
(SessionLocal session) (package private) Value
AggregateDataEnvelope.getValue
(SessionLocal session) (package private) Value
AggregateDataStdVar.getValue
(SessionLocal session) (package private) static Value
Percentile.getValue
(SessionLocal session, Value[] array, int dataType, ArrayList<QueryOrderBy> orderByList, BigDecimal percentile, boolean interpolate) Get the result from the array of values.private Value
Aggregate.getValueQuick
(SessionLocal session) private static Value
Percentile.interpolate
(Value v0, Value v1, BigDecimal factor, int dataType, SessionLocal session, CompareMode compareMode) AbstractAggregate.optimize
(SessionLocal session) Aggregate.optimize
(SessionLocal session) JavaAggregate.optimize
(SessionLocal session) protected void
Aggregate.rememberExpressions
(SessionLocal session, Value[] array) protected void
JavaAggregate.rememberExpressions
(SessionLocal session, Value[] array) protected abstract void
AbstractAggregate.updateAggregate
(SessionLocal session, Object aggregateData) Updates an aggregate value.protected void
AbstractAggregate.updateAggregate
(SessionLocal session, SelectGroups groupData, int groupRowId) protected void
Aggregate.updateAggregate
(SessionLocal session, Object aggregateData) protected void
JavaAggregate.updateAggregate
(SessionLocal session, Object aggregateData) private Value
Aggregate.updateCollecting
(SessionLocal session, Value v, Value[] remembered) private void
Aggregate.updateData
(SessionLocal session, AggregateData data, Value v, Value[] remembered) private void
JavaAggregate.updateData
(SessionLocal session, Object aggregateData, Value[] remembered) protected abstract void
AbstractAggregate.updateFromExpressions
(SessionLocal session, Object aggregateData, Value[] array) Updates the provided aggregate data from the remembered expressions.protected void
Aggregate.updateFromExpressions
(SessionLocal session, Object aggregateData, Value[] array) protected void
JavaAggregate.updateFromExpressions
(SessionLocal session, Object aggregateData, Value[] array) protected void
AbstractAggregate.updateGroupAggregates
(SessionLocal session, int stage) protected void
Aggregate.updateGroupAggregates
(SessionLocal session, int stage) protected void
JavaAggregate.updateGroupAggregates
(SessionLocal session, int stage) -
Uses of SessionLocal in org.h2.expression.analysis
Methods in org.h2.expression.analysis with parameters of type SessionLocalModifier and TypeMethodDescriptionprotected static SortOrder
DataAnalysisOperation.createOrder
(SessionLocal session, ArrayList<QueryOrderBy> orderBy, int offset) Create sort order.protected abstract Value
DataAnalysisOperation.getAggregatedValue
(SessionLocal session, Object aggregateData) Returns aggregated value.protected Value
WindowFunction.getAggregatedValue
(SessionLocal session, Object aggregateData) private static Value[]
WindowFrame.getCompareRow
(SessionLocal session, ArrayList<Value[]> orderedRows, SortOrder sortOrder, int currentRow, WindowFrameBound bound, boolean add) Appends bound value to the current row and produces row for comparison operations.Window.getCurrentKey
(SessionLocal session) Returns the key for the current group.private int
WindowFrame.getEndIndex
(SessionLocal session, ArrayList<Value[]> orderedRows, SortOrder sortOrder, int currentRow) Returns end index of this frame,static int
WindowFrame.getEndIndex
(Window over, SessionLocal session, ArrayList<Value[]> orderedRows, SortOrder sortOrder, int currentRow) Returns end index for the specified frame, or default end index if frame is null.private int
WindowFrame.getIndex
(SessionLocal session, ArrayList<Value[]> orderedRows, SortOrder sortOrder, int currentRow, WindowFrameBound bound, boolean forFollowing) Returns starting or ending index of a window frame.private static int
WindowFrame.getIntOffset
(WindowFrameBound bound, Value[] values, SessionLocal session) private void
WindowFunction.getLeadLag
(HashMap<Integer, Value> result, ArrayList<Value[]> ordered, int rowIdColumn, SessionLocal session) private void
WindowFunction.getNth
(SessionLocal session, HashMap<Integer, Value> result, ArrayList<Value[]> ordered, int rowIdColumn) private Value
DataAnalysisOperation.getOrderedResult
(SessionLocal session, SelectGroups groupData, PartitionData partition, Object data) protected abstract void
DataAnalysisOperation.getOrderedResultLoop
(SessionLocal session, HashMap<Integer, Value> result, ArrayList<Value[]> ordered, int rowIdColumn) Returns result of this window function or window aggregate.protected void
WindowFunction.getOrderedResultLoop
(SessionLocal session, HashMap<Integer, Value> result, ArrayList<Value[]> ordered, int rowIdColumn) int
WindowFrame.getStartIndex
(SessionLocal session, ArrayList<Value[]> orderedRows, SortOrder sortOrder, int currentRow) Returns start index of this frame,DataAnalysisOperation.getValue
(SessionLocal session) private static Value
WindowFrame.getValueOffset
(WindowFrameBound bound, Value[] values, SessionLocal session) protected Object
DataAnalysisOperation.getWindowData
(SessionLocal session, SelectGroups groupData, boolean forOrderBy) Get the aggregate data for a window clause.private Value
DataAnalysisOperation.getWindowResult
(SessionLocal session, SelectGroups groupData) Returns result of this window function or window aggregate.WindowFrame.iterator
(SessionLocal session, ArrayList<Value[]> orderedRows, SortOrder sortOrder, int currentRow, boolean reverse) Returns iterator.WindowFrame.iterator
(Window over, SessionLocal session, ArrayList<Value[]> orderedRows, SortOrder sortOrder, int currentRow, boolean reverse) Returns iterator for the specified frame, or default iterator if frame is null.DataAnalysisOperation.optimize
(SessionLocal session) void
Window.optimize
(SessionLocal session) Try to optimize the window conditions.(package private) void
WindowFrame.optimize
(SessionLocal session) Try to optimize bound expressions.(package private) void
WindowFrameBound.optimize
(SessionLocal session) Try to optimize bound expression.WindowFunction.optimize
(SessionLocal session) protected abstract void
DataAnalysisOperation.rememberExpressions
(SessionLocal session, Value[] array) Stores current values of expressions into the specified array.protected void
WindowFunction.rememberExpressions
(SessionLocal session, Value[] array) final void
DataAnalysisOperation.updateAggregate
(SessionLocal session, int stage) protected abstract void
DataAnalysisOperation.updateAggregate
(SessionLocal session, SelectGroups groupData, int groupRowId) Update a row of an aggregate.void
Window.updateAggregate
(SessionLocal session, int stage) Update an aggregate value.(package private) void
WindowFrame.updateAggregate
(SessionLocal session, int stage) Update an aggregate value.(package private) void
WindowFrameBound.updateAggregate
(SessionLocal session, int stage) Update an aggregate value.protected void
WindowFunction.updateAggregate
(SessionLocal session, SelectGroups groupData, int groupRowId) protected void
DataAnalysisOperation.updateGroupAggregates
(SessionLocal session, int stage) Invoked when processing group stage of grouped window queries to update arguments of this aggregate.protected void
WindowFunction.updateGroupAggregates
(SessionLocal session, int stage) protected void
DataAnalysisOperation.updateOrderedAggregate
(SessionLocal session, SelectGroups groupData, int groupRowId, ArrayList<QueryOrderBy> orderBy) Update a row of an ordered aggregate. -
Uses of SessionLocal in org.h2.expression.condition
Methods in org.h2.expression.condition with parameters of type SessionLocalModifier and TypeMethodDescriptionprivate void
ConditionInConstantSet.add
(Value v, SessionLocal session) (package private) static Expression
Condition.castToBoolean
(SessionLocal session, Expression expression) Add a cast around the expression (if necessary) so that the type is boolean.(package private) static Value
Comparison.compare
(SessionLocal session, Value l, Value r, int compareType) Compare two values.void
BetweenPredicate.createIndexConditions
(SessionLocal session, TableFilter filter) void
BooleanTest.createIndexConditions
(SessionLocal session, TableFilter filter) void
CompareLike.createIndexConditions
(SessionLocal session, TableFilter filter) void
Comparison.createIndexConditions
(SessionLocal session, TableFilter filter) void
ConditionAndOr.createIndexConditions
(SessionLocal session, TableFilter filter) void
ConditionAndOrN.createIndexConditions
(SessionLocal session, TableFilter filter) void
ConditionIn.createIndexConditions
(SessionLocal session, TableFilter filter) void
ConditionInConstantSet.createIndexConditions
(SessionLocal session, TableFilter filter) void
ConditionInParameter.createIndexConditions
(SessionLocal session, TableFilter filter) void
ConditionInQuery.createIndexConditions
(SessionLocal session, TableFilter filter) void
ConditionLocalAndGlobal.createIndexConditions
(SessionLocal session, TableFilter filter) void
NullPredicate.createIndexConditions
(SessionLocal session, TableFilter filter) (package private) Expression
ConditionInConstantSet.getAdditional
(SessionLocal session, Comparison other) Add an additional element if possible.(package private) Expression
Comparison.getAdditionalAnd
(SessionLocal session, Comparison other) Get an additional condition if possible.BetweenPredicate.getNotIfPossible
(SessionLocal session) BooleanTest.getNotIfPossible
(SessionLocal session) CompareLike.getNotIfPossible
(SessionLocal session) Comparison.getNotIfPossible
(SessionLocal session) ConditionAndOr.getNotIfPossible
(SessionLocal session) ConditionAndOrN.getNotIfPossible
(SessionLocal session) ConditionIn.getNotIfPossible
(SessionLocal session) ConditionInConstantSet.getNotIfPossible
(SessionLocal session) ConditionInParameter.getNotIfPossible
(SessionLocal session) ConditionInQuery.getNotIfPossible
(SessionLocal session) ConditionNot.getNotIfPossible
(SessionLocal session) IsJsonPredicate.getNotIfPossible
(SessionLocal session) NullPredicate.getNotIfPossible
(SessionLocal session) TypePredicate.getNotIfPossible
(SessionLocal session) private Value
ConditionInQuery.getNullSafeValueSlow
(SessionLocal session, ResultInterface rows, Value l) BetweenPredicate.getValue
(SessionLocal session) private Value
BetweenPredicate.getValue
(SessionLocal session, Value value, Value aValue, Value bValue) BooleanTest.getValue
(SessionLocal session) CompareLike.getValue
(SessionLocal session) private Value
CompareLike.getValue
(SessionLocal session, Value left) Comparison.getValue
(SessionLocal session) ConditionAndOr.getValue
(SessionLocal session) ConditionAndOrN.getValue
(SessionLocal session) ConditionIn.getValue
(SessionLocal session) private Value
ConditionIn.getValue
(SessionLocal session, Value left) ConditionInConstantSet.getValue
(SessionLocal session) private Value
ConditionInConstantSet.getValue
(Value left, SessionLocal session) ConditionInParameter.getValue
(SessionLocal session) (package private) static Value
ConditionInParameter.getValue
(SessionLocal session, Value l, boolean not, Value value) Gets evaluated condition value.ConditionInQuery.getValue
(SessionLocal session) private Value
ConditionInQuery.getValue
(SessionLocal session, Value left) ConditionLocalAndGlobal.getValue
(SessionLocal session) ConditionNot.getValue
(SessionLocal session) ExistsPredicate.getValue
(SessionLocal session) IsJsonPredicate.getValue
(SessionLocal session) NullPredicate.getValue
(SessionLocal session) TypePredicate.getValue
(SessionLocal session) UniquePredicate.getValue
(SessionLocal session) private Value
ConditionInQuery.getValueSlow
(SessionLocal session, ResultInterface rows, Value l) boolean
BetweenPredicate.getWhenValue
(SessionLocal session, Value left) boolean
BooleanTest.getWhenValue
(SessionLocal session, Value left) boolean
CompareLike.getWhenValue
(SessionLocal session, Value left) boolean
Comparison.getWhenValue
(SessionLocal session, Value left) boolean
ConditionIn.getWhenValue
(SessionLocal session, Value left) boolean
ConditionInConstantSet.getWhenValue
(SessionLocal session, Value left) boolean
ConditionInParameter.getWhenValue
(SessionLocal session, Value left) boolean
ConditionInQuery.getWhenValue
(SessionLocal session, Value left) boolean
IsJsonPredicate.getWhenValue
(SessionLocal session, Value left) boolean
NullPredicate.getWhenValue
(SessionLocal session, Value left) boolean
TypePredicate.getWhenValue
(SessionLocal session, Value left) BetweenPredicate.optimize
(SessionLocal session) CompareLike.optimize
(SessionLocal session) Comparison.optimize
(SessionLocal session) ConditionAndOr.optimize
(SessionLocal session) ConditionAndOrN.optimize
(SessionLocal session) ConditionIn.optimize
(SessionLocal session) ConditionInConstantSet.optimize
(SessionLocal session) ConditionInParameter.optimize
(SessionLocal session) ConditionInQuery.optimize
(SessionLocal session) ConditionLocalAndGlobal.optimize
(SessionLocal session) ConditionNot.optimize
(SessionLocal session) IsJsonPredicate.optimize
(SessionLocal session) NullPredicate.optimize
(SessionLocal session) PredicateWithSubquery.optimize
(SessionLocal session) SimplePredicate.optimize
(SessionLocal session) TypePredicate.optimize
(SessionLocal session) UniquePredicate.optimize
(SessionLocal session) private Expression
ConditionIn.optimize2
(SessionLocal session, boolean constant, boolean allValuesConstant, boolean allValuesNull, ArrayList<Expression> values) private static Expression
ConditionAndOr.optimizeConstant
(SessionLocal session, int andOrType, Value l, Expression right) (package private) static Expression
ConditionAndOr.optimizeIfConstant
(SessionLocal session, int andOrType, Expression left, Expression right) Optimize the condition if at least one part is constant.(package private) Expression
Comparison.optimizeOr
(SessionLocal session, Comparison other) Replace the OR condition with IN condition if possible.void
BetweenPredicate.updateAggregate
(SessionLocal session, int stage) void
CompareLike.updateAggregate
(SessionLocal session, int stage) void
Comparison.updateAggregate
(SessionLocal session, int stage) void
ConditionAndOr.updateAggregate
(SessionLocal session, int stage) void
ConditionAndOrN.updateAggregate
(SessionLocal session, int stage) void
ConditionIn.updateAggregate
(SessionLocal session, int stage) void
ConditionInConstantSet.updateAggregate
(SessionLocal session, int stage) void
ConditionInParameter.updateAggregate
(SessionLocal session, int stage) void
ConditionInQuery.updateAggregate
(SessionLocal session, int stage) void
ConditionLocalAndGlobal.updateAggregate
(SessionLocal session, int stage) void
ConditionNot.updateAggregate
(SessionLocal session, int stage) void
IsJsonPredicate.updateAggregate
(SessionLocal session, int stage) void
PredicateWithSubquery.updateAggregate
(SessionLocal session, int stage) void
SimplePredicate.updateAggregate
(SessionLocal session, int stage) Constructors in org.h2.expression.condition with parameters of type SessionLocalModifierConstructorDescription(package private)
ConditionInConstantSet
(SessionLocal session, Expression left, boolean not, boolean whenOperand, ArrayList<Expression> valueList) Create a new IN(..) condition. -
Uses of SessionLocal in org.h2.expression.function
Methods in org.h2.expression.function with parameters of type SessionLocalModifier and TypeMethodDescriptionstatic Value
DateTimeFunction.dateadd
(SessionLocal session, int field, long count, Value v) DATEADD function.private static long
DateTimeFunction.datediff
(SessionLocal session, int field, Value v1, Value v2) Calculate the number of crossed unit boundaries between two timestamps.(package private) static int
DateTimeFunction.extractDateTime
(SessionLocal session, Value date, int field) private static ValueNumeric
DateTimeFunction.extractEpoch
(SessionLocal session, Value value) private static int
DateTimeFunction.extractInteger
(SessionLocal session, Value date, int field) Get the specified field of a date, however with years normalized to positive or negative, and month starting with 1.static String
DateTimeFormatFunction.formatDateTime
(SessionLocal session, Value date, String format, String locale, String timeZone) Formats a date using a format string.private static String
ToCharFunction.getTimeZone
(SessionLocal session, Value value, boolean tzd) Returns time zone display name or ID for the specified date-time value.ArrayFunction.getValue
(SessionLocal session) BitFunction.getValue
(SessionLocal session, Value v1, Value v2) CardinalityExpression.getValue
(SessionLocal session) CastSpecification.getValue
(SessionLocal session) CoalesceFunction.getValue
(SessionLocal session) CompatibilitySequenceValueFunction.getValue
(SessionLocal session, Value v1, Value v2) CompressFunction.getValue
(SessionLocal session, Value v1, Value v2) ConcatFunction.getValue
(SessionLocal session) CryptFunction.getValue
(SessionLocal session, Value v1, Value v2, Value v3) CSVWriteFunction.getValue
(SessionLocal session) private String
CSVWriteFunction.getValue
(SessionLocal session, int index) CurrentDateTimeValueFunction.getValue
(SessionLocal session) CurrentGeneralValueSpecification.getValue
(SessionLocal session) DataTypeSQLFunction.getValue
(SessionLocal session, Value v1, Value v2, Value v3) DateTimeFormatFunction.getValue
(SessionLocal session, Value v1, Value v2, Value v3) DateTimeFunction.getValue
(SessionLocal session, Value v1, Value v2) DayMonthNameFunction.getValue
(SessionLocal session) DBObjectFunction.getValue
(SessionLocal session, Value v1, Value v2, Value v3) FileFunction.getValue
(SessionLocal session) Function1_2.getValue
(SessionLocal session) protected Value
Function1_2.getValue
(SessionLocal session, Value v1, Value v2) Returns the value of this function.Function2.getValue
(SessionLocal session) protected Value
Function2.getValue
(SessionLocal session, Value v1, Value v2) Returns the value of this function.FunctionN.getValue
(SessionLocal session) protected Value
FunctionN.getValue
(SessionLocal session, Value v1, Value v2, Value v3) Returns the value of this function.HashFunction.getValue
(SessionLocal session, Value v1, Value v2, Value v3) JavaFunction.getValue
(SessionLocal session) JsonConstructorFunction.getValue
(SessionLocal session) LengthFunction.getValue
(SessionLocal session) MathFunction.getValue
(SessionLocal session, Value v1, Value v2) MathFunction1.getValue
(SessionLocal session) MathFunction2.getValue
(SessionLocal session, Value v1, Value v2) NullIfFunction.getValue
(SessionLocal session) RandFunction.getValue
(SessionLocal session) RegexpFunction.getValue
(SessionLocal session) SessionControlFunction.getValue
(SessionLocal session) SetFunction.getValue
(SessionLocal session) SignalFunction.getValue
(SessionLocal session, Value v1, Value v2) SoundexFunction.getValue
(SessionLocal session, Value v1, Value v2) StringFunction.getValue
(SessionLocal session) StringFunction1.getValue
(SessionLocal session) StringFunction2.getValue
(SessionLocal session, Value v1, Value v2) SubstringFunction.getValue
(SessionLocal session, Value v1, Value v2, Value v3) SysInfoFunction.getValue
(SessionLocal session) TableInfoFunction.getValue
(SessionLocal session, Value v1, Value v2) ToCharFunction.getValue
(SessionLocal session, Value v1, Value v2, Value v3) TrimFunction.getValue
(SessionLocal session, Value v1, Value v2) TruncateValueFunction.getValue
(SessionLocal session, Value v1, Value v2, Value v3) XMLFunction.getValue
(SessionLocal session) protected Value
XMLFunction.getValue
(SessionLocal session, Value v1, Value v2, Value v3) private static Value
StringFunction1.hexToRaw
(String s, SessionLocal session) private Value
JsonConstructorFunction.jsonArray
(SessionLocal session, Expression[] args) private Value
JsonConstructorFunction.jsonObject
(SessionLocal session, Expression[] args) ArrayFunction.optimize
(SessionLocal session) BitFunction.optimize
(SessionLocal session) CardinalityExpression.optimize
(SessionLocal session) CastSpecification.optimize
(SessionLocal session) CoalesceFunction.optimize
(SessionLocal session) CompatibilitySequenceValueFunction.optimize
(SessionLocal session) CompressFunction.optimize
(SessionLocal session) ConcatFunction.optimize
(SessionLocal session) CryptFunction.optimize
(SessionLocal session) CSVWriteFunction.optimize
(SessionLocal session) DataTypeSQLFunction.optimize
(SessionLocal session) DateTimeFormatFunction.optimize
(SessionLocal session) DateTimeFunction.optimize
(SessionLocal session) DayMonthNameFunction.optimize
(SessionLocal session) DBObjectFunction.optimize
(SessionLocal session) FileFunction.optimize
(SessionLocal session) HashFunction.optimize
(SessionLocal session) JavaFunction.optimize
(SessionLocal session) JsonConstructorFunction.optimize
(SessionLocal session) LengthFunction.optimize
(SessionLocal session) MathFunction.optimize
(SessionLocal session) MathFunction1.optimize
(SessionLocal session) MathFunction2.optimize
(SessionLocal session) NullIfFunction.optimize
(SessionLocal session) RandFunction.optimize
(SessionLocal session) RegexpFunction.optimize
(SessionLocal session) SessionControlFunction.optimize
(SessionLocal session) SetFunction.optimize
(SessionLocal session) SignalFunction.optimize
(SessionLocal session) SoundexFunction.optimize
(SessionLocal session) StringFunction.optimize
(SessionLocal session) StringFunction1.optimize
(SessionLocal session) StringFunction2.optimize
(SessionLocal session) SubstringFunction.optimize
(SessionLocal session) TableInfoFunction.optimize
(SessionLocal session) ToCharFunction.optimize
(SessionLocal session) TrimFunction.optimize
(SessionLocal session) TruncateValueFunction.optimize
(SessionLocal session) XMLFunction.optimize
(SessionLocal session) private Expression
BitFunction.optimizeNot
(SessionLocal session) private Expression
MathFunction.optimizeRoundWithScale
(SessionLocal session, boolean possibleRoundUp) static ValueTimestampTimeZone
DateTimeFormatFunction.parseDateTime
(SessionLocal session, String date, String format, String locale, String timeZone) Parses a date using a format string.private static Value
RegexpFunction.regexpReplace
(SessionLocal session, String input, String regexp, String replacement, int position, int occurrence, String regexpMode) private static Value
RegexpFunction.regexpSubstr
(Value inputString, Value regexpArg, Value positionArg, Value occurrenceArg, Value regexpModeArg, Value subexpressionArg, SessionLocal session) static String
ToCharFunction.toCharDateTime
(SessionLocal session, Value value, String format, String nlsParam) Emulates Oracle's TO_CHAR(datetime) function.private static Value
DateTimeFunction.truncateDate
(SessionLocal session, int field, Value value) Truncate the given date-time value to the specified field.void
Function0_1.updateAggregate
(SessionLocal session, int stage) void
JavaFunction.updateAggregate
(SessionLocal session, int stage) private Value
XMLFunction.xmlNode
(SessionLocal session) -
Uses of SessionLocal in org.h2.expression.function.table
Methods in org.h2.expression.function.table with parameters of type SessionLocalModifier and TypeMethodDescriptionprivate ResultInterface
ArrayTableFunction.getTable
(SessionLocal session, boolean onlyColumnList) ArrayTableFunction.getValue
(SessionLocal session) CSVReadFunction.getValue
(SessionLocal session) private String
CSVReadFunction.getValue
(SessionLocal session, int index) private static String
CSVReadFunction.getValue
(SessionLocal session, Expression[] args, int index) JavaTableFunction.getValue
(SessionLocal session) LinkSchemaFunction.getValue
(SessionLocal session) private String
LinkSchemaFunction.getValue
(SessionLocal session, int index) abstract ResultInterface
TableFunction.getValue
(SessionLocal session) Get a result with.ArrayTableFunction.getValueTemplate
(SessionLocal session) CSVReadFunction.getValueTemplate
(SessionLocal session) JavaTableFunction.getValueTemplate
(SessionLocal session) LinkSchemaFunction.getValueTemplate
(SessionLocal session) abstract ResultInterface
TableFunction.getValueTemplate
(SessionLocal session) Get an empty result with the column names set.void
ArrayTableFunction.optimize
(SessionLocal session) void
CSVReadFunction.optimize
(SessionLocal session) void
JavaTableFunction.optimize
(SessionLocal session) void
LinkSchemaFunction.optimize
(SessionLocal session) void
TableFunction.optimize
(SessionLocal session) Try to optimize this table function -
Uses of SessionLocal in org.h2.fulltext
Methods in org.h2.fulltext with parameters of type SessionLocalModifier and TypeMethodDescriptionprivate static void
FullText.addColumnData
(SessionLocal session, ArrayList<String> columns, ArrayList<String> data, Expression expr) -
Uses of SessionLocal in org.h2.index
Fields in org.h2.index declared as SessionLocalModifier and TypeFieldDescriptionprivate final SessionLocal
ViewIndex.createSession
private SessionLocal
IndexCursor.session
private final SessionLocal
LinkedCursor.session
Methods in org.h2.index that return SessionLocalMethods in org.h2.index with parameters of type SessionLocalModifier and TypeMethodDescriptionabstract void
Index.add
(SessionLocal session, Row row) Add a row to the index.void
LinkedIndex.add
(SessionLocal session, Row row) void
MetaIndex.add
(SessionLocal session, Row row) void
ViewIndex.add
(SessionLocal session, Row row) void
VirtualTableIndex.add
(SessionLocal session, Row row) abstract void
Index.close
(SessionLocal session) Close this index.void
LinkedIndex.close
(SessionLocal session) void
MetaIndex.close
(SessionLocal session) void
ViewIndex.close
(SessionLocal session) void
VirtualTableIndex.close
(SessionLocal session) DualIndex.find
(SessionLocal session, SearchRow first, SearchRow last) abstract Cursor
Index.find
(SessionLocal session, SearchRow first, SearchRow last) Find a row or a list of rows and create a cursor to iterate over the result.void
IndexCursor.find
(SessionLocal s, ArrayList<IndexCondition> indexConditions) Re-evaluate the start and end values of the index search for rows.LinkedIndex.find
(SessionLocal session, SearchRow first, SearchRow last) MetaIndex.find
(SessionLocal session, SearchRow first, SearchRow last) RangeIndex.find
(SessionLocal session, SearchRow first, SearchRow last) ViewIndex.find
(SessionLocal session, SearchRow first, SearchRow last) private Cursor
ViewIndex.find
(SessionLocal session, SearchRow first, SearchRow last, SearchRow intersection) VirtualConstructedTableIndex.find
(SessionLocal session, SearchRow first, SearchRow last) SpatialIndex.findByGeometry
(SessionLocal session, SearchRow first, SearchRow last, SearchRow intersection) Find a row or a list of rows and create a cursor to iterate over the result.ViewIndex.findByGeometry
(SessionLocal session, SearchRow first, SearchRow last, SearchRow intersection) DualIndex.findFirstOrLast
(SessionLocal session, boolean first) Index.findFirstOrLast
(SessionLocal session, boolean first) Find the first (or last) value of this index.RangeIndex.findFirstOrLast
(SessionLocal session, boolean first) Index.findNext
(SessionLocal session, SearchRow higherThan, SearchRow last) Find a row or a list of rows that is larger and create a cursor to iterate over the result.double
DualIndex.getCost
(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet) abstract double
Index.getCost
(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet) Estimate the cost to search for rows given the search mask.double
LinkedIndex.getCost
(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet) double
MetaIndex.getCost
(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet) double
RangeIndex.getCost
(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet) double
ViewIndex.getCost
(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet) double
VirtualConstructedTableIndex.getCost
(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet) IndexCondition.getCurrentValue
(SessionLocal session) Get the current value of the expression.Value[]
IndexCondition.getCurrentValueList
(SessionLocal session) Get the current value list of the expression.private Query
ViewIndex.getQuery
(SessionLocal session, int[] masks) Index.getRow
(SessionLocal session, long key) Get the row with the given key.abstract long
Index.getRowCount
(SessionLocal session) Get the row count of this table, for the given session.long
LinkedIndex.getRowCount
(SessionLocal session) long
MetaIndex.getRowCount
(SessionLocal session) long
ViewIndex.getRowCount
(SessionLocal session) long
VirtualTableIndex.getRowCount
(SessionLocal session) abstract long
Index.getRowCountApproximation
(SessionLocal session) Get the approximated row count for this table.long
LinkedIndex.getRowCountApproximation
(SessionLocal session) long
MetaIndex.getRowCountApproximation
(SessionLocal session) long
ViewIndex.getRowCountApproximation
(SessionLocal session) long
VirtualTableIndex.getRowCountApproximation
(SessionLocal session) void
IndexCursor.prepare
(SessionLocal s, ArrayList<IndexCondition> indexConditions) Prepare this index cursor to make a lookup in index.abstract void
Index.remove
(SessionLocal session) Remove the index.abstract void
Index.remove
(SessionLocal session, Row row) Remove a row from the index.void
LinkedIndex.remove
(SessionLocal session) void
LinkedIndex.remove
(SessionLocal session, Row row) void
MetaIndex.remove
(SessionLocal session) void
MetaIndex.remove
(SessionLocal session, Row row) void
ViewIndex.remove
(SessionLocal session) void
ViewIndex.remove
(SessionLocal session, Row row) void
VirtualTableIndex.remove
(SessionLocal session) void
VirtualTableIndex.remove
(SessionLocal session, Row row) void
Index.removeChildrenAndResources
(SessionLocal session) void
ViewIndex.setupQueryParameters
(SessionLocal session, SearchRow first, SearchRow last, SearchRow intersection) Set the query parameters.abstract void
Index.truncate
(SessionLocal session) Remove all rows from the index.void
LinkedIndex.truncate
(SessionLocal session) void
MetaIndex.truncate
(SessionLocal session) void
ViewIndex.truncate
(SessionLocal session) void
VirtualTableIndex.truncate
(SessionLocal session) void
Index.update
(SessionLocal session, Row oldRow, Row newRow) Update index after row change.void
LinkedIndex.update
(Row oldRow, Row newRow, SessionLocal session) Update a row using a UPDATE statement.Constructors in org.h2.index with parameters of type SessionLocalModifierConstructorDescription(package private)
LinkedCursor
(TableLink tableLink, ResultSet rs, SessionLocal session, String sql, PreparedStatement prep) ViewIndex
(TableView view, ViewIndex index, SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder) Constructor for plan item generation. -
Uses of SessionLocal in org.h2.jdbc.meta
Fields in org.h2.jdbc.meta declared as SessionLocalMethods in org.h2.jdbc.meta with parameters of type SessionLocalModifier and TypeMethodDescriptionstatic ResultInterface
DatabaseMetaServer.process
(SessionLocal session, int code, Value[] args) Process a database meta data request.private static ResultInterface
DatabaseMetaServer.result
(SessionLocal session, String value) Constructors in org.h2.jdbc.meta with parameters of type SessionLocal -
Uses of SessionLocal in org.h2.mode
Fields in org.h2.mode declared as SessionLocalMethods in org.h2.mode with parameters of type SessionLocalModifier and TypeMethodDescriptionprivate void
PgCatalogTable.addAttribute
(SessionLocal session, ArrayList<Row> rows, int id, int relId, Table table, Column column, int ordinal) private void
PgCatalogTable.addClass
(SessionLocal session, ArrayList<Row> rows, int id, String name, int schema, String kind, boolean index, int triggers) PgCatalogTable.generateRows
(SessionLocal session, SearchRow first, SearchRow last) (package private) final Value[]
ModeFunction.getArgumentsValues
(SessionLocal session, Expression[] args) Gets values of arguments and checks them for NULL values if function returns NULL on NULL argument.private static Value
FunctionsPostgreSQL.getIndexdef
(SessionLocal session, int indexId, Value ordinalPosition, Value pretty) PgCatalogSchema.getMap
(SessionLocal session) (package private) static Value
ModeFunction.getNullOrValue
(SessionLocal session, Expression[] args, Value[] values, int i) Get value transformed by expression, or null if i is out of range or the input value is null.private static ToDateParser
ToDateParser.getTimestampParser
(SessionLocal session, ToDateParser.ConfigParam param, String input, String format) private static String
FunctionsPostgreSQL.getUserbyid
(SessionLocal session, int uid) FunctionsDB2Derby.getValue
(SessionLocal session) FunctionsLegacy.getValue
(SessionLocal session) FunctionsMSSQLServer.getValue
(SessionLocal session) FunctionsMySQL.getValue
(SessionLocal session) FunctionsOracle.getValue
(SessionLocal session) FunctionsPostgreSQL.getValue
(SessionLocal session) OnDuplicateKeyValues.getValue
(SessionLocal session) Regclass.getValue
(SessionLocal session) FunctionsDB2Derby.optimize
(SessionLocal session) FunctionsLegacy.optimize
(SessionLocal session) FunctionsMSSQLServer.optimize
(SessionLocal session) FunctionsMySQL.optimize
(SessionLocal session) FunctionsOracle.optimize
(SessionLocal session) FunctionsPostgreSQL.optimize
(SessionLocal session) Regclass.optimize
(SessionLocal session) (package private) final boolean
ModeFunction.optimizeArguments
(SessionLocal session) Optimizes arguments.private void
PgCatalogTable.pgAttribute
(SessionLocal session, ArrayList<Row> rows, Table table) private void
PgCatalogTable.pgClass
(SessionLocal session, ArrayList<Row> rows, Table table) private void
PgCatalogTable.pgConstraint
(SessionLocal session, ArrayList<Row> rows) private static Value
FunctionsPostgreSQL.relationSize
(SessionLocal session, Value tableOidOrName) static ValueTimestamp
ToDateParser.toDate
(SessionLocal session, String input, String format) Parse a string as a date with the given format.static ValueTimestamp
ToDateParser.toTimestamp
(SessionLocal session, String input, String format) Parse a string as a timestamp with the given format.static ValueTimestampTimeZone
ToDateParser.toTimestampTz
(SessionLocal session, String input, String format) Parse a string as a timestamp with the given format.static int
FunctionsMySQL.unixTimestamp
(SessionLocal session, Value value) Get the seconds since 1970-01-01 00:00:00 UTC of the given timestamp.Constructors in org.h2.mode with parameters of type SessionLocalModifierConstructorDescriptionprivate
ToDateParser
(SessionLocal session, ToDateParser.ConfigParam functionName, String input, String format) -
Uses of SessionLocal in org.h2.mvstore.db
Fields in org.h2.mvstore.db declared as SessionLocalModifier and TypeFieldDescriptionprivate SessionLocal
MVTable.lockExclusiveSession
The session (if any) that has exclusively locked this table.private final SessionLocal
MVSecondaryIndex.MVStoreCursor.session
private final SessionLocal
MVSpatialIndex.FindBoundsCursor.session
private final SessionLocal
MVSpatialIndex.MVStoreCursor.session
Fields in org.h2.mvstore.db with type parameters of type SessionLocalModifier and TypeFieldDescriptionprivate final ConcurrentHashMap
<SessionLocal, SessionLocal> MVTable.lockSharedSessions
The set of sessions (if any) that have a shared lock on the table.private final ConcurrentHashMap
<SessionLocal, SessionLocal> MVTable.lockSharedSessions
The set of sessions (if any) that have a shared lock on the table.private final ArrayDeque
<SessionLocal> MVTable.waitingSessions
The queue of sessions waiting to lock the table.Methods in org.h2.mvstore.db that return types with arguments of type SessionLocalModifier and TypeMethodDescriptionMVTable.checkDeadlock
(SessionLocal session, SessionLocal clash, Set<SessionLocal> visited) Methods in org.h2.mvstore.db with parameters of type SessionLocalModifier and TypeMethodDescriptionvoid
MVDelegateIndex.add
(SessionLocal session, Row row) void
MVPrimaryIndex.add
(SessionLocal session, Row row) void
MVSecondaryIndex.add
(SessionLocal session, Row row) void
MVSpatialIndex.add
(SessionLocal session, Row row) MVTable.addIndex
(SessionLocal session, String indexName, int indexId, IndexColumn[] cols, int uniqueColumnCount, IndexType indexType, boolean create, String indexComment) void
MVTable.addRow
(SessionLocal session, Row row) private static void
MVTable.addRowsToIndex
(SessionLocal session, ArrayList<Row> list, Index index) Appends the specified rows to the specified index.private void
MVTable.analyzeIfRequired
(SessionLocal session) boolean
MVTable.canGetRowCount
(SessionLocal session) MVTable.checkDeadlock
(SessionLocal session, SessionLocal clash, Set<SessionLocal> visited) void
MVDelegateIndex.close
(SessionLocal session) void
MVPrimaryIndex.close
(SessionLocal session) void
MVSecondaryIndex.close
(SessionLocal session) void
MVSpatialIndex.close
(SessionLocal session) void
MVTable.close
(SessionLocal session) private void
MVTable.doLock1
(SessionLocal session, int lockType) private boolean
MVTable.doLock2
(SessionLocal session, int lockType) MVDelegateIndex.find
(SessionLocal session, SearchRow first, SearchRow last) private Cursor
MVPrimaryIndex.find
(SessionLocal session, Long first, Long last) MVPrimaryIndex.find
(SessionLocal session, SearchRow first, SearchRow last) private Cursor
MVSecondaryIndex.find
(SessionLocal session, SearchRow first, boolean bigger, SearchRow last) MVSecondaryIndex.find
(SessionLocal session, SearchRow first, SearchRow last) MVSpatialIndex.find
(SessionLocal session, SearchRow first, SearchRow last) MVSpatialIndex.findByGeometry
(SessionLocal session, SearchRow first, SearchRow last, SearchRow intersection) MVDelegateIndex.findFirstOrLast
(SessionLocal session, boolean first) MVPrimaryIndex.findFirstOrLast
(SessionLocal session, boolean first) MVSecondaryIndex.findFirstOrLast
(SessionLocal session, boolean first) MVSecondaryIndex.findNext
(SessionLocal session, SearchRow higherThan, SearchRow last) MVSpatialIndex.getBounds
(SessionLocal session) Returns the minimum bounding box that encloses all keys.double
MVDelegateIndex.getCost
(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet) double
MVPrimaryIndex.getCost
(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet) double
MVSecondaryIndex.getCost
(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet) double
MVSpatialIndex.getCost
(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet) MVSpatialIndex.getEstimatedBounds
(SessionLocal session) Returns the estimated minimum bounding box that encloses all keys.(package private) TransactionMap
<Long, SearchRow> MVPrimaryIndex.getMap
(SessionLocal session) Get the map to store the data.private TransactionMap
<SearchRow, Value> MVSecondaryIndex.getMap
(SessionLocal session) Get the map to store the data.private TransactionMap
<Spatial, Value> MVSpatialIndex.getMap
(SessionLocal session) Get the map to store the data.MVDelegateIndex.getRow
(SessionLocal session, long key) MVPrimaryIndex.getRow
(SessionLocal session, long key) MVTable.getRow
(SessionLocal session, long key) long
MVDelegateIndex.getRowCount
(SessionLocal session) long
MVPrimaryIndex.getRowCount
(SessionLocal session) long
MVSecondaryIndex.getRowCount
(SessionLocal session) long
MVSpatialIndex.getRowCount
(SessionLocal session) long
MVTable.getRowCount
(SessionLocal session) long
MVDelegateIndex.getRowCountApproximation
(SessionLocal session) long
MVPrimaryIndex.getRowCountApproximation
(SessionLocal session) long
MVSecondaryIndex.getRowCountApproximation
(SessionLocal session) long
MVSpatialIndex.getRowCountApproximation
(SessionLocal session) long
MVTable.getRowCountApproximation
(SessionLocal session) MVTable.getScanIndex
(SessionLocal session) boolean
MVTable.isLockedExclusivelyBy
(SessionLocal session) boolean
MVTable.lock
(SessionLocal session, int lockType) (package private) Row
MVPrimaryIndex.lockRow
(SessionLocal session, Row row) Lock a single row.MVTable.lockRow
(SessionLocal session, Row row) void
Store.prepareCommit
(SessionLocal session, String transactionName) Prepare a transaction.private void
MVTable.rebuildIndex
(SessionLocal session, MVIndex<?, ?> index, String indexName) private void
MVTable.rebuildIndexBlockMerge
(SessionLocal session, MVIndex<?, ?> index) private void
MVTable.rebuildIndexBuffered
(SessionLocal session, Index index) void
MVDelegateIndex.remove
(SessionLocal session) void
MVDelegateIndex.remove
(SessionLocal session, Row row) void
MVPrimaryIndex.remove
(SessionLocal session) void
MVPrimaryIndex.remove
(SessionLocal session, Row row) void
MVSecondaryIndex.remove
(SessionLocal session) void
MVSecondaryIndex.remove
(SessionLocal session, Row row) void
MVSpatialIndex.remove
(SessionLocal session) void
MVSpatialIndex.remove
(SessionLocal session, Row row) void
MVTable.removeChildrenAndResources
(SessionLocal session) void
MVTable.removeRow
(SessionLocal session, Row row) private void
MVTable.traceLock
(SessionLocal session, int lockType, MVTable.TraceLockEvent eventEnum, String extraInfo) void
MVDelegateIndex.truncate
(SessionLocal session) void
MVPrimaryIndex.truncate
(SessionLocal session) void
MVSecondaryIndex.truncate
(SessionLocal session) void
MVSpatialIndex.truncate
(SessionLocal session) long
MVTable.truncate
(SessionLocal session) void
MVTable.unlock
(SessionLocal s) void
MVDelegateIndex.update
(SessionLocal session, Row oldRow, Row newRow) void
MVPrimaryIndex.update
(SessionLocal session, Row oldRow, Row newRow) void
MVSecondaryIndex.update
(SessionLocal session, Row oldRow, Row newRow) void
MVTable.updateRow
(SessionLocal session, Row oldRow, Row newRow) Method parameters in org.h2.mvstore.db with type arguments of type SessionLocalModifier and TypeMethodDescriptionMVTable.checkDeadlock
(SessionLocal session, SessionLocal clash, Set<SessionLocal> visited) private static String
MVTable.getDeadlockDetails
(ArrayList<SessionLocal> sessions, int lockType) Formats details of a deadlock.Constructors in org.h2.mvstore.db with parameters of type SessionLocalModifierConstructorDescription(package private)
FindBoundsCursor
(Page<Spatial, VersionedValue<Value>> root, Spatial filter, SessionLocal session, TransactionMap<Spatial, Value> map, int columnId) (package private)
MVStoreCursor
(SessionLocal session, TransactionMap.TMIterator<SearchRow, Value, SearchRow> it, MVTable mvTable) (package private)
MVStoreCursor
(SessionLocal session, Iterator<Spatial> it, MVTable mvTable) -
Uses of SessionLocal in org.h2.result
Fields in org.h2.result declared as SessionLocalModifier and TypeFieldDescriptionprivate final SessionLocal
LazyResult.session
private final SessionLocal
LocalResult.session
private final SessionLocal
SortOrder.session
Methods in org.h2.result with parameters of type SessionLocalModifier and TypeMethodDescriptionstatic LocalResult
LocalResult.forTable
(SessionLocal session, Table table) Constructs a new local result object for the specified table.Constructors in org.h2.result with parameters of type SessionLocalModifierConstructorDescriptionLazyResult
(SessionLocal session, Expression[] expressions) private
LocalResult
(SessionLocal session) LocalResult
(SessionLocal session, Expression[] expressions, int visibleColumnCount, int resultColumnCount) Construct a local result object.SortOrder
(SessionLocal session, int[] queryColumnIndexes) Construct a new sort order object with default sort directions.SortOrder
(SessionLocal session, int[] queryColumnIndexes, int[] sortType, ArrayList<QueryOrderBy> orderList) Construct a new sort order object. -
Uses of SessionLocal in org.h2.schema
Methods in org.h2.schema with parameters of type SessionLocalModifier and TypeMethodDescriptionvoid
Domain.checkConstraints
(SessionLocal session, Value value) Check the specified value.private Object
FunctionAlias.JavaMethod.execute
(SessionLocal session, Expression[] args, boolean columnList) Schema.findConstraint
(SessionLocal session, String name) Try to find a constraint with this name.Schema.findIndex
(SessionLocal session, String name) Try to find an index with this name.MetaSchema.findTableOrView
(SessionLocal session, String name) Schema.findTableOrView
(SessionLocal session, String name) Try to find a table or view with this name.void
TriggerObject.fire
(SessionLocal session, int type, boolean beforeAction) Call the trigger class if required.boolean
TriggerObject.fireRow
(SessionLocal session, Table table, Row oldRow, Row newRow, boolean beforeAction, boolean rollback) Call the fire method of the user-defined trigger class if required.void
Sequence.flush
(SessionLocal session) Flush the current value, including the margin, to disk.private void
Sequence.flushInternal
(SessionLocal session) MetaSchema.getAllTablesAndViews
(SessionLocal session) Schema.getAllTablesAndViews
(SessionLocal session) Get all tables and views.InformationSchema.getMap
(SessionLocal session) MetaSchema.getMap
(SessionLocal session) Returns map of tables in this schema.Sequence.getNext
(SessionLocal session) Get the next value for this sequence.MetaSchema.getTableOrView
(SessionLocal session, String name) Schema.getTableOrView
(SessionLocal session, String name) Get the table or view with the given name.MetaSchema.getTableOrViewByName
(SessionLocal session, String name) Schema.getTableOrViewByName
(SessionLocal session, String name) Get the table with the given name, if any.FunctionAlias.JavaMethod.getTableValue
(SessionLocal session, Expression[] args, boolean columnList) Call the table user-defined function and return the value.Schema.getUniqueConstraintName
(SessionLocal session, Table table) Create a unique constraint name.Schema.getUniqueDomainConstraintName
(SessionLocal session, Domain domain) Create a unique constraint name.Schema.getUniqueIndexName
(SessionLocal session, Table table, String prefix) Create a unique index name.FunctionAlias.JavaMethod.getValue
(SessionLocal session, Expression[] args, boolean columnList) Call the user-defined function and return the value.void
Domain.prepareExpressions
(SessionLocal session) void
Constant.removeChildrenAndResources
(SessionLocal session) void
Domain.removeChildrenAndResources
(SessionLocal session) void
FunctionAlias.removeChildrenAndResources
(SessionLocal session) void
Schema.removeChildrenAndResources
(SessionLocal session) void
Sequence.removeChildrenAndResources
(SessionLocal session) void
TriggerObject.removeChildrenAndResources
(SessionLocal session) void
UserAggregate.removeChildrenAndResources
(SessionLocal session) private void
Schema.removeChildrenFromMap
(SessionLocal session, ConcurrentHashMap<String, ? extends SchemaObject> map) Schema.resolveTableOrView
(SessionLocal session, String name) Try to find a table or view with this name.static ResultInterface
FunctionAlias.JavaMethod.resultSetToResult
(SessionLocal session, ResultSet rs, int maxrows) Create a result for the given result set.void
Domain.setDefaultExpression
(SessionLocal session, Expression defaultExpression) void
Domain.setOnUpdateExpression
(SessionLocal session, Expression onUpdateExpression) Constructors in org.h2.schema with parameters of type SessionLocalModifierConstructorDescriptionSequence
(SessionLocal session, Schema schema, int id, String name, SequenceOptions options, boolean belongsToTable) Creates a new sequence. -
Uses of SessionLocal in org.h2.server
Fields in org.h2.server declared as SessionLocal -
Uses of SessionLocal in org.h2.server.pg
Fields in org.h2.server.pg declared as SessionLocal -
Uses of SessionLocal in org.h2.table
Fields in org.h2.table declared as SessionLocalMethods in org.h2.table that return SessionLocalMethods in org.h2.table that return types with arguments of type SessionLocalModifier and TypeMethodDescriptionTable.checkDeadlock
(SessionLocal session, SessionLocal clash, Set<SessionLocal> visited) Check if a deadlock occurred.Methods in org.h2.table with parameters of type SessionLocalModifier and TypeMethodDescriptionprotected final void
MetaTable.add
(SessionLocal session, ArrayList<Row> rows, Object... stringsOrValues) Add a row to a list.private void
InformationSchemaTable.addConstraintColumnUsage
(SessionLocal session, ArrayList<Row> rows, String catalog, Constraint constraint, Column column) private void
InformationSchemaTableLegacy.addConstraintColumnUsage
(SessionLocal session, ArrayList<Row> rows, String catalog, Constraint constraint, Column column) final Index
MetaTable.addIndex
(SessionLocal session, String indexName, int indexId, IndexColumn[] cols, int uniqueColumnCount, IndexType indexType, boolean create, String indexComment) abstract Index
Table.addIndex
(SessionLocal session, String indexName, int indexId, IndexColumn[] cols, int uniqueColumnCount, IndexType indexType, boolean create, String indexComment) Create an index for this tableTableLink.addIndex
(SessionLocal session, String indexName, int indexId, IndexColumn[] cols, int uniqueColumnCount, IndexType indexType, boolean create, String indexComment) TableView.addIndex
(SessionLocal session, String indexName, int indexId, IndexColumn[] cols, int uniqueColumnCount, IndexType indexType, boolean create, String indexComment) VirtualTable.addIndex
(SessionLocal session, String indexName, int indexId, IndexColumn[] cols, int uniqueColumnCount, IndexType indexType, boolean create, String indexComment) private void
InformationSchemaTable.addPrivilege
(SessionLocal session, ArrayList<Row> rows, DbObject grantee, String catalog, Table table, String column, String right) private void
InformationSchemaTableLegacy.addPrivilege
(SessionLocal session, ArrayList<Row> rows, DbObject grantee, String catalog, Table table, String column, String right) private void
InformationSchemaTable.addPrivileges
(SessionLocal session, ArrayList<Row> rows, DbObject grantee, String catalog, Table table, String column, int rightMask) private void
InformationSchemaTableLegacy.addPrivileges
(SessionLocal session, ArrayList<Row> rows, DbObject grantee, String catalog, Table table, String column, int rightMask) final void
MetaTable.addRow
(SessionLocal session, Row row) abstract void
Table.addRow
(SessionLocal session, Row row) Add a row to the table and all indexes.void
TableLink.addRow
(SessionLocal session, Row row) void
TableView.addRow
(SessionLocal session, Row row) void
VirtualTable.addRow
(SessionLocal session, Row row) double
Plan.calculateCost
(SessionLocal session, AllColumnsForPlan allColumnsSet) Calculate the cost of this query plan.boolean
DataChangeDeltaTable.canGetRowCount
(SessionLocal session) boolean
DualTable.canGetRowCount
(SessionLocal session) boolean
FunctionTable.canGetRowCount
(SessionLocal session) boolean
InformationSchemaTable.canGetRowCount
(SessionLocal session) boolean
MetaTable.canGetRowCount
(SessionLocal session) boolean
RangeTable.canGetRowCount
(SessionLocal session) abstract boolean
Table.canGetRowCount
(SessionLocal session) Check if the row count can be retrieved quickly.boolean
TableLink.canGetRowCount
(SessionLocal session) boolean
TableValueConstructorTable.canGetRowCount
(SessionLocal session) boolean
TableView.canGetRowCount
(SessionLocal session) private void
InformationSchemaTable.checkConstraints
(SessionLocal session, ArrayList<Row> rows, String catalog, Constraint constraint, String constraintName) private void
InformationSchemaTable.checkConstraints
(SessionLocal session, Value indexFrom, Value indexTo, ArrayList<Row> rows, String catalog) Table.checkDeadlock
(SessionLocal session, SessionLocal clash, Set<SessionLocal> visited) Check if a deadlock occurred.protected final boolean
MetaTable.checkIndex
(SessionLocal session, String value, Value indexFrom, Value indexTo) Checks index conditions.final void
MetaTable.close
(SessionLocal session) abstract void
Table.close
(SessionLocal session) Close the table object and flush changes.void
TableLink.close
(SessionLocal session) void
TableView.close
(SessionLocal session) void
VirtualTable.close
(SessionLocal session) private void
InformationSchemaTable.collations
(SessionLocal session, ArrayList<Row> rows, String catalog) private void
InformationSchemaTable.collations
(SessionLocal session, ArrayList<Row> rows, String catalog, String mainSchemaName, String name, String languageTag) static void
DataChangeDeltaTable.collectInsertedFinalRow
(SessionLocal session, Table table, ResultTarget deltaChangeCollector, DataChangeDeltaTable.ResultOption deltaChangeCollectionMode, Row newRow) Collects final row for INSERT operations.private void
InformationSchemaTable.columnPrivileges
(SessionLocal session, Value indexFrom, Value indexTo, ArrayList<Row> rows, String catalog) private void
InformationSchemaTable.columns
(SessionLocal session, ArrayList<Row> rows, String catalog, String mainSchemaName, String collation, Table table, String tableName) private void
InformationSchemaTable.columns
(SessionLocal session, ArrayList<Row> rows, String catalog, String mainSchemaName, String collation, Table table, String tableName, Column c, int ordinalPosition) private void
InformationSchemaTable.columns
(SessionLocal session, Value indexFrom, Value indexTo, ArrayList<Row> rows, String catalog) private Query
TableView.compileViewQuery
(SessionLocal session, String sql, boolean literalsChecked) private void
InformationSchemaTable.constants
(SessionLocal session, ArrayList<Row> rows, String catalog, String mainSchemaName, String collation, Constant constant, String constantName) private void
InformationSchemaTable.constants
(SessionLocal session, Value indexFrom, Value indexTo, ArrayList<Row> rows, String catalog) private void
InformationSchemaTable.constraintColumnUsage
(SessionLocal session, Value indexFrom, Value indexTo, ArrayList<Row> rows, String catalog) private void
InformationSchemaTable.constraintColumnUsage
(SessionLocal session, Value indexFrom, Value indexTo, ArrayList<Row> rows, String catalog, Constraint constraint) void
Table.convertInsertRow
(SessionLocal session, Row row, Boolean overridingSystem) Prepares the specified row for INSERT operation.void
TableLink.convertInsertRow
(SessionLocal session, Row row, Boolean overridingSystem) private void
TableLink.convertRow
(SessionLocal session, Row row) void
Table.convertUpdateRow
(SessionLocal session, Row row, boolean fromTrigger) Prepares the specified row for UPDATE operation.void
TableLink.convertUpdateRow
(SessionLocal session, Row row, boolean fromTrigger) static Table
TableView.createShadowTableForRecursiveTableExpression
(boolean isTemporary, SessionLocal targetSession, String cteViewName, Schema schema, List<Column> columns, Database db) Create a table for a recursive query.static TableView
TableView.createTableViewMaybeRecursive
(Schema schema, int id, String name, String querySQL, ArrayList<Parameter> parameters, Column[] columnTemplates, SessionLocal session, boolean literalsChecked, boolean isTableExpression, boolean isTemporary, Database db) Create a view.static TableView
TableView.createTempView
(SessionLocal session, User owner, String name, Column[] columnTemplates, Query query, Query topQuery) Create a temporary view out of the given query.static void
TableView.destroyShadowTableForRecursiveExpression
(boolean isTemporary, SessionLocal targetSession, Table recursiveTable) Remove a table for a recursive query.private void
InformationSchemaTable.domainConstraints
(SessionLocal session, ArrayList<Row> rows, String catalog, ConstraintDomain constraint, Domain domain, String domainName) private void
InformationSchemaTable.domainConstraints
(SessionLocal session, Value indexFrom, Value indexTo, ArrayList<Row> rows, String catalog) private void
InformationSchemaTable.domains
(SessionLocal session, ArrayList<Row> rows, String catalog, String mainSchemaName, String collation, Domain domain, String domainName) private void
InformationSchemaTable.domains
(SessionLocal session, Value indexFrom, Value indexTo, ArrayList<Row> rows, String catalog) void
Table.dropMultipleColumnsConstraintsAndIndexes
(SessionLocal session, ArrayList<Column> columnsToDrop) Check that these columns are not referenced by a multi-column constraint or multi-column index.private void
InformationSchemaTable.elementTypes
(SessionLocal session, ArrayList<Row> rows, String catalog, String mainSchemaName, String collation, String objectSchema, String objectName, String objectType, String collectionIdentifier, String dtdIdentifier, TypeInfo typeInfo) private void
InformationSchemaTable.elementTypesFields
(SessionLocal session, ArrayList<Row> rows, String catalog, int type) private void
InformationSchemaTable.elementTypesFieldsForTable
(SessionLocal session, ArrayList<Row> rows, String catalog, int type, String mainSchemaName, String collation, String schemaName, Table table) private void
InformationSchemaTable.elementTypesFieldsRow
(SessionLocal session, ArrayList<Row> rows, String catalog, int type, String mainSchemaName, String collation, String objectSchema, String objectName, String objectType, String identifier, TypeInfo typeInfo) private void
InformationSchemaTable.enumValues
(SessionLocal session, ArrayList<Row> rows, String catalog, String objectSchema, String objectName, String objectType, String enumIdentifier, TypeInfo typeInfo) TableLink.execute
(String sql, ArrayList<Value> params, boolean reusePrepared, SessionLocal session) Execute a SQL statement using the given parameters.private void
InformationSchemaTable.fields
(SessionLocal session, ArrayList<Row> rows, String catalog, String mainSchemaName, String collation, String objectSchema, String objectName, String objectType, String rowIdentifier, String fieldName, int ordinalPosition, String dtdIdentifier, TypeInfo typeInfo) void
Table.fire
(SessionLocal session, int type, boolean beforeAction) Fire the triggers for this table.void
Table.fireAfterRow
(SessionLocal session, Row oldRow, Row newRow, boolean rollback) Fire all triggers that need to be called after a row is updated.boolean
Table.fireBeforeRow
(SessionLocal session, Row oldRow, Row newRow) Fire all triggers that need to be called before a row is updated.private void
Table.fireConstraints
(SessionLocal session, Row oldRow, Row newRow, boolean before) private boolean
Table.fireRow
(SessionLocal session, Row oldRow, Row newRow, boolean beforeAction, boolean rollback) InformationSchemaTable.generateRows
(SessionLocal session, SearchRow first, SearchRow last) InformationSchemaTableLegacy.generateRows
(SessionLocal session, SearchRow first, SearchRow last) MetaTable.generateRows
(SessionLocal session, SearchRow first, SearchRow last) Generate the data for the given metadata table using the given first and last row filters.InformationSchemaTableLegacy.getAllTables
(SessionLocal session) Get all tables of this database, including local temporary tables for the session.Table.getBestPlanItem
(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet) Get the best plan for the given search mask.TableFilter.getBestPlanItem
(SessionLocal s, TableFilter[] filters, int filter, AllColumnsForPlan allColumnsSet) Get the best plan item (index, cost) to use for the current join order.TableView.getBestPlanItem
(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet) private Value
Column.getDefaultOrGenerated
(SessionLocal session, Row row) long
RangeTable.getMax
(SessionLocal session) Calculate and get the end value of this range.long
RangeTable.getMin
(SessionLocal session) Calculate and get the start value of this range.DataChangeDeltaTable.getResult
(SessionLocal session) FunctionTable.getResult
(SessionLocal session) TableValueConstructorTable.getResult
(SessionLocal session) abstract ResultInterface
VirtualConstructedTable.getResult
(SessionLocal session) Read the rows from the table.Table.getRow
(SessionLocal session, long key) Get the given row.long
DataChangeDeltaTable.getRowCount
(SessionLocal session) long
DualTable.getRowCount
(SessionLocal session) long
FunctionTable.getRowCount
(SessionLocal session) long
InformationSchemaTable.getRowCount
(SessionLocal session) private long
InformationSchemaTable.getRowCount
(SessionLocal session, boolean approximation) long
MetaTable.getRowCount
(SessionLocal session) long
RangeTable.getRowCount
(SessionLocal session) abstract long
Table.getRowCount
(SessionLocal session) Get the row count for this table.long
TableLink.getRowCount
(SessionLocal session) long
TableValueConstructorTable.getRowCount
(SessionLocal session) long
TableView.getRowCount
(SessionLocal session) long
DataChangeDeltaTable.getRowCountApproximation
(SessionLocal session) long
DualTable.getRowCountApproximation
(SessionLocal session) long
FunctionTable.getRowCountApproximation
(SessionLocal session) long
InformationSchemaTable.getRowCountApproximation
(SessionLocal session) long
MetaTable.getRowCountApproximation
(SessionLocal session) long
RangeTable.getRowCountApproximation
(SessionLocal session) abstract long
Table.getRowCountApproximation
(SessionLocal session) Get the approximated row count for this table.long
TableLink.getRowCountApproximation
(SessionLocal session) long
TableValueConstructorTable.getRowCountApproximation
(SessionLocal session) long
TableView.getRowCountApproximation
(SessionLocal session) DualTable.getScanIndex
(SessionLocal session) final Index
MetaTable.getScanIndex
(SessionLocal session) RangeTable.getScanIndex
(SessionLocal session) abstract Index
Table.getScanIndex
(SessionLocal session) Get the scan index to iterate through all rows.Table.getScanIndex
(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet) Get the scan index for this table.TableLink.getScanIndex
(SessionLocal session) TableView.getScanIndex
(SessionLocal session) TableView.getScanIndex
(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet) VirtualConstructedTable.getScanIndex
(SessionLocal session) long
RangeTable.getStep
(SessionLocal session) Get the increment.InformationSchemaTableLegacy.getTablesByName
(SessionLocal session, String tableName) protected final boolean
MetaTable.hideTable
(Table table, SessionLocal session) Check whether to hide the table.private void
InformationSchemaTable.indexColumns
(SessionLocal session, ArrayList<Row> rows, String catalog, Table table, String tableName, Index index) private void
InformationSchemaTable.indexes
(SessionLocal session, ArrayList<Row> rows, String catalog, boolean columns, Table table, String tableName) private void
InformationSchemaTable.indexes
(SessionLocal session, ArrayList<Row> rows, String catalog, Table table, String tableName, Index index) private void
InformationSchemaTable.indexes
(SessionLocal session, Value indexFrom, Value indexTo, ArrayList<Row> rows, String catalog, boolean columns) private void
InformationSchemaTable.inDoubt
(SessionLocal session, ArrayList<Row> rows) private void
InformationSchemaTable.informationSchemaCatalogName
(SessionLocal session, ArrayList<Row> rows, String catalog) private void
TableView.init
(String querySQL, ArrayList<Parameter> params, Column[] columnTemplates, SessionLocal session, boolean allowRecursive, boolean literalsChecked, boolean isTableExpression) private void
TableView.initColumnsAndTables
(SessionLocal session, boolean literalsChecked) void
Column.initializeSequence
(SessionLocal session, Schema schema, int id, boolean temporary) Initialize the sequence for this column.boolean
Table.isLockedExclusivelyBy
(SessionLocal session) Check if the table is exclusively locked by this session.private void
InformationSchemaTable.keyColumnUsage
(SessionLocal session, ArrayList<Row> rows, String catalog, Constraint constraint, Constraint.Type constraintType, IndexColumn[] indexColumns, Table table, String tableName) private void
InformationSchemaTable.keyColumnUsage
(SessionLocal session, Value indexFrom, Value indexTo, ArrayList<Row> rows, String catalog) boolean
Table.lock
(SessionLocal session, int lockType) Lock the table for the given session.void
TableFilter.lock
(SessionLocal s) Lock the table.Table.lockRow
(SessionLocal session, Row row) Locks row, preventing any updated to it, except from the session specified.private void
InformationSchemaTable.locks
(SessionLocal session, ArrayList<Row> rows) private void
InformationSchemaTable.locks
(SessionLocal session, ArrayList<Row> rows, SessionLocal sessionWithLocks) private void
RangeTable.optimize
(SessionLocal s) private void
InformationSchemaTable.parameters
(SessionLocal session, ArrayList<Row> rows, String catalog) private void
InformationSchemaTable.parameters
(SessionLocal session, ArrayList<Row> rows, String catalog, String mainSchemaName, String collation, String schema, String specificName, TypeInfo typeInfo, int pos) void
Column.prepareExpressions
(SessionLocal session) void
ColumnTemplate.prepareExpressions
(SessionLocal session) Prepare all expressions of this column or domain.private void
InformationSchemaTable.queryStatistics
(SessionLocal session, ArrayList<Row> rows) TableView.recompile
(SessionLocal session, boolean force, boolean clearIndexCache) Re-compile the view query and all views that depend on this object.private void
InformationSchemaTable.referentialConstraints
(SessionLocal session, ArrayList<Row> rows, String catalog, ConstraintReferential constraint, String constraintName) private void
InformationSchemaTable.referentialConstraints
(SessionLocal session, Value indexFrom, Value indexTo, ArrayList<Row> rows, String catalog) final void
MetaTable.removeChildrenAndResources
(SessionLocal session) void
Table.removeChildrenAndResources
(SessionLocal session) void
TableLink.removeChildrenAndResources
(SessionLocal session) void
TableSynonym.removeChildrenAndResources
(SessionLocal session) void
TableView.removeChildrenAndResources
(SessionLocal session) void
Table.removeColumnExpressionsDependencies
(SessionLocal session) Removes dependencies of column expressions, used for tables with circular dependencies.void
Table.removeIndexOrTransferOwnership
(SessionLocal session, Index index) If the index is still required by a constraint, transfer the ownership to it.final void
MetaTable.removeRow
(SessionLocal session, Row row) abstract void
Table.removeRow
(SessionLocal session, Row row) Remove a row from the table and all indexes.void
TableLink.removeRow
(SessionLocal session, Row row) void
TableView.removeRow
(SessionLocal session, Row row) void
VirtualTable.removeRow
(SessionLocal session, Row row) void
TableView.replace
(String querySQL, Column[] newColumnTemplates, SessionLocal session, boolean recursive, boolean force, boolean literalsChecked) Try to replace the SQL statement of the view and re-compile this and all dependent views.private void
InformationSchemaTable.rights
(SessionLocal session, Value indexFrom, Value indexTo, ArrayList<Row> rows) private void
InformationSchemaTable.roles
(SessionLocal session, ArrayList<Row> rows) private void
InformationSchemaTable.routines
(SessionLocal session, ArrayList<Row> rows, String catalog) private void
InformationSchemaTable.routines
(SessionLocal session, ArrayList<Row> rows, String catalog, String mainSchemaName, String collation, String schema, String name, String specificName, String routineType, String definition, String externalName, TypeInfo typeInfo, boolean deterministic, String remarks) private void
InformationSchemaTable.schemata
(SessionLocal session, ArrayList<Row> rows, String catalog) private void
InformationSchemaTable.sequences
(SessionLocal session, ArrayList<Row> rows, String catalog, Sequence sequence, String sequenceName) private void
InformationSchemaTable.sequences
(SessionLocal session, Value indexFrom, Value indexTo, ArrayList<Row> rows, String catalog) private void
InformationSchemaTable.sessions
(SessionLocal session, ArrayList<Row> rows) private void
InformationSchemaTable.sessions
(SessionLocal session, ArrayList<Row> rows, SessionLocal s) private void
InformationSchemaTable.sessionState
(SessionLocal session, ArrayList<Row> rows) void
Table.setCheckForeignKeyConstraints
(SessionLocal session, boolean enabled, boolean checkExisting) Enable or disable foreign key constraint checking for this table.void
Column.setDefaultExpression
(SessionLocal session, Expression defaultExpression) void
ColumnTemplate.setDefaultExpression
(SessionLocal session, Expression defaultExpression) Set the default expression.void
Column.setOnUpdateExpression
(SessionLocal session, Expression onUpdateExpression) void
ColumnTemplate.setOnUpdateExpression
(SessionLocal session, Expression onUpdateExpression) Set the on update expression.private void
InformationSchemaTable.settings
(SessionLocal session, ArrayList<Row> rows) void
TableFilter.startQuery
(SessionLocal s) Start the query.private void
InformationSchemaTable.synonyms
(SessionLocal session, ArrayList<Row> rows, String catalog) private void
InformationSchemaTable.tableConstraints
(SessionLocal session, ArrayList<Row> rows, String catalog, Constraint constraint, Constraint.Type constraintType, Table table, String tableName) private void
InformationSchemaTable.tableConstraints
(SessionLocal session, Value indexFrom, Value indexTo, ArrayList<Row> rows, String catalog) private void
InformationSchemaTable.tablePrivileges
(SessionLocal session, Value indexFrom, Value indexTo, ArrayList<Row> rows, String catalog) private void
InformationSchemaTable.tables
(SessionLocal session, ArrayList<Row> rows, String catalog, Table table, String tableName) private void
InformationSchemaTable.tables
(SessionLocal session, Value indexFrom, Value indexTo, ArrayList<Row> rows, String catalog) private void
InformationSchemaTable.triggers
(SessionLocal session, ArrayList<Row> rows, String catalog, TriggerObject trigger, String eventManipulation, Table table, String tableName) private void
InformationSchemaTable.triggers
(SessionLocal session, Value indexFrom, Value indexTo, ArrayList<Row> rows, String catalog) final long
MetaTable.truncate
(SessionLocal session) abstract long
Table.truncate
(SessionLocal session) Remove all rows from the table and indexes.long
TableLink.truncate
(SessionLocal session) long
TableView.truncate
(SessionLocal session) long
VirtualTable.truncate
(SessionLocal session) void
Table.unlock
(SessionLocal s) Release the lock for this session.void
Table.updateRow
(SessionLocal session, Row oldRow, Row newRow) Update a row to the table and all indexes.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) private void
Column.updateSequenceIfRequired
(SessionLocal session, long value) private void
InformationSchemaTable.users
(SessionLocal session, ArrayList<Row> rows) private void
InformationSchemaTable.users
(SessionLocal session, ArrayList<Row> rows, User user) (package private) Value
Column.validateConvertUpdateSequence
(SessionLocal session, Value value, Row row) Validate the value, convert it if required, and update the sequence value if required.private void
InformationSchemaTable.views
(SessionLocal session, ArrayList<Row> rows, String catalog, Table table, String tableName) private void
InformationSchemaTable.views
(SessionLocal session, Value indexFrom, Value indexTo, ArrayList<Row> rows, String catalog) Method parameters in org.h2.table with type arguments of type SessionLocalModifier and TypeMethodDescriptionTable.checkDeadlock
(SessionLocal session, SessionLocal clash, Set<SessionLocal> visited) Check if a deadlock occurred.Constructors in org.h2.table with parameters of type SessionLocalModifierConstructorDescriptionDataChangeDeltaTable
(Schema schema, SessionLocal session, DataChangeStatement statement, DataChangeDeltaTable.ResultOption resultOption) FunctionTable
(Schema schema, SessionLocal session, TableFunction function) TableFilter
(SessionLocal session, Table table, String alias, boolean rightsChecked, Select select, int orderInFrom, IndexHints indexHints) Create a new table filter object.TableValueConstructorTable
(Schema schema, SessionLocal session, Column[] columns, ArrayList<ArrayList<Expression>> rows) TableView
(Schema schema, int id, String name, String querySQL, ArrayList<Parameter> params, Column[] columnTemplates, SessionLocal session, boolean allowRecursive, boolean literalsChecked, boolean isTableExpression, boolean isTemporary)