Uses of Class
org.h2.engine.SessionLocal
-
Packages that use SessionLocal Package Description org.h2.command This package contains the parser and the base classes for prepared SQL statements.org.h2.command.ddl Contains DDL (data definition language) and related SQL statements.org.h2.command.dml Contains DML (data manipulation language) and related SQL statements.org.h2.command.query Contains queries.org.h2.constraint Database constraints such as check constraints, unique constraints, and referential constraints.org.h2.engine Contains high level classes of the database and classes that don't fit in another sub-package.org.h2.expression Expressions include mathematical operations, simple values, and others.org.h2.expression.aggregate Aggregate functions.org.h2.expression.analysis Base classes for data analysis operations and implementations of window functions.org.h2.expression.condition Condition expressions.org.h2.expression.function Functions.org.h2.expression.function.table Table value functions.org.h2.fulltext The native full text search implementation, and the wrapper for the Lucene full text search implementation.org.h2.index Various table index implementations, as well as cursors to navigate in an index.org.h2.jdbc.meta Implementation of the JDBC database metadata API (package java.sql).org.h2.mode Utility classes for compatibility with other database, for example MySQL.org.h2.mvstore.db Helper classes to use the MVStore in the H2 database.org.h2.result Implementation of row and internal result sets.org.h2.schema Schema implementation and objects that are stored in a schema (for example, sequences and constants).org.h2.server A small FTP server.org.h2.server.pg PostgreSQL server implementation of this database.org.h2.table Classes related to a table and table meta data. -
-
Uses of SessionLocal in org.h2.command
Fields in org.h2.command declared as SessionLocal Modifier and Type Field Description protected SessionLocal
Command. session
The session.private SessionLocal
Parser. session
protected SessionLocal
Prepared. session
The session.Methods in org.h2.command that return SessionLocal Modifier and Type Method Description SessionLocal
Prepared. getSession()
Methods in org.h2.command with parameters of type SessionLocal Modifier and Type Method Description (package private) static void
CommandContainer. clearCTE(SessionLocal session, java.util.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, java.lang.String tableName, Column column)
Create a new alter table command.private static Prepared
Parser. prepare(SessionLocal s, java.lang.String sql, java.util.ArrayList<Value> paramValues)
void
Prepared. setSession(SessionLocal currentSession)
Set the session for this statement.Constructors in org.h2.command with parameters of type SessionLocal Constructor Description Command(SessionLocal session, java.lang.String sql)
CommandContainer(SessionLocal session, java.lang.String sql, Prepared prepared)
CommandList(SessionLocal session, java.lang.String sql, CommandContainer command, java.util.ArrayList<Prepared> commands, java.util.ArrayList<Parameter> parameters, java.lang.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 SessionLocal Modifier and Type Field Description SessionLocal
CreateSynonymData. session
The session.SessionLocal
CreateTableData. session
The session.Methods in org.h2.command.ddl with parameters of type SessionLocal Modifier and Type Method Description static 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, java.util.function.BiPredicate<Domain,Column> columnProcessor, java.util.function.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, java.util.function.BiPredicate<Domain,Column> columnProcessor, boolean recompileExpressions, Table t)
private static byte[]
CreateUser. getByteArray(SessionLocal session, Expression e)
java.lang.Long
SequenceOptions. getCacheSize(SessionLocal session)
Gets cache size.private long
SequenceOptions. getCurrentStart(Sequence sequence, SessionLocal session)
java.lang.Long
SequenceOptions. getIncrement(SessionLocal session)
Gets increment value.private static java.lang.Long
SequenceOptions. getLong(SessionLocal session, Expression expr)
java.lang.Long
SequenceOptions. getMaxValue(Sequence sequence, SessionLocal session)
Gets max value.java.lang.Long
SequenceOptions. getMinValue(Sequence sequence, SessionLocal session)
Gets min value.java.lang.Long
SequenceOptions. getRestartValue(SessionLocal session, long startValue)
Gets restart value.java.lang.Long
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. -
Uses of SessionLocal in org.h2.command.dml
Methods in org.h2.command.dml with parameters of type SessionLocal Modifier and Type Method Description private void
Set. addOrUpdateSetting(SessionLocal session, java.lang.String name, java.lang.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 SessionLocal Constructor Description AlterTableSet(SessionLocal session, Schema schema, int type, boolean value)
BackupCommand(SessionLocal session)
Call(SessionLocal session)
CommandWithValues(SessionLocal session)
Creates new instance of command with VALUES clause.DataChangeStatement(SessionLocal session)
Creates new instance of DataChangeStatement.Delete(SessionLocal session)
ExecuteImmediate(SessionLocal session, Expression statement)
ExecuteProcedure(SessionLocal session)
Explain(SessionLocal session)
FilteredDataChangeStatement(SessionLocal session)
Creates new instance of FilteredDataChangeStatement.Help(SessionLocal session, java.lang.String[] conditions)
Insert(SessionLocal session)
Merge(SessionLocal session, boolean isReplace)
MergeUsing(SessionLocal session, TableFilter targetTableFilter)
NoOperation(SessionLocal session)
RunScriptCommand(SessionLocal session)
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 SessionLocal Modifier and Type Field Description private SessionLocal
Optimizer. session
(package private) SessionLocal
SelectGroups. session
The database session.Methods in org.h2.command.query with parameters of type SessionLocal Modifier and Type Method Description private static boolean
Query. checkOrderOther(SessionLocal session, Expression expr, java.util.ArrayList<java.lang.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, java.util.ArrayList<Expression> expressions, boolean isGroupQuery, int[] groupIndex)
Creates new instance of grouped data.static void
TableValueConstructor. getVisibleResult(SessionLocal session, ResultTarget result, Column[] columns, java.util.ArrayList<java.util.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 SessionLocal Constructor Description Grouped(SessionLocal session, java.util.ArrayList<Expression> expressions, int[] groupIndex)
Optimizer(TableFilter[] filters, Expression condition, SessionLocal session)
Plain(SessionLocal session, java.util.ArrayList<Expression> expressions)
Query(SessionLocal session)
Select(SessionLocal session, Select parentSelect)
SelectGroups(SessionLocal session, java.util.ArrayList<Expression> expressions)
SelectUnion(SessionLocal session, SelectUnion.UnionType unionType, Query query, Query right)
TableValueConstructor(SessionLocal session, java.util.ArrayList<java.util.ArrayList<Expression>> rows)
Creates new instance of table value constructor. -
Uses of SessionLocal in org.h2.constraint
Fields in org.h2.constraint declared as SessionLocal Modifier and Type Field Description private SessionLocal
ConstraintDomain.CheckExistingData. session
Methods in org.h2.constraint with parameters of type SessionLocal Modifier and Type Method Description void
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)
Expression
ConstraintDomain. getCheckConstraint(SessionLocal session, java.lang.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, java.lang.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 SessionLocal Constructor Description CheckExistingData(SessionLocal session, Domain domain)
-
Uses of SessionLocal in org.h2.engine
Fields in org.h2.engine declared as SessionLocal Modifier and Type Field Description private static SessionLocal[]
Database. EMPTY_SESSION_ARRAY
private SessionLocal
Database. lobSession
private SessionLocal
Database. systemSession
Fields in org.h2.engine with type parameters of type SessionLocal Modifier and Type Field Description private java.util.concurrent.atomic.AtomicReference<SessionLocal>
Database. exclusiveSession
private static java.lang.ThreadLocal<SessionLocal>
Database. META_LOCK_DEBUGGING
private java.util.Set<SessionLocal>
Database. userSessions
Methods in org.h2.engine that return SessionLocal Modifier and Type Method Description private 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.SessionLocal
Database. getExclusiveSession()
SessionLocal
Database. getLobSession()
SessionLocal[]
Database. getSessions(boolean includingSystemSession)
Get all sessions that are currently connected to the database.SessionLocal
Database. getSystemSession()
private static SessionLocal
Engine. openSession(ConnectionInfo ci)
private static SessionLocal
Engine. openSession(ConnectionInfo ci, boolean ifExists, boolean forbidCreation, java.lang.String cipher)
Methods in org.h2.engine with parameters of type SessionLocal Modifier and Type Method Description void
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)
java.lang.String
Database. getTempTableName(java.lang.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, java.lang.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, java.lang.String newName)
Rename a database object.void
Database. renameSchemaObject(SessionLocal session, SchemaObject obj, java.lang.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 SessionLocal Modifier and Type Method Description void
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)
java.lang.String
Alias. getAlias(SessionLocal session, int columnIndex)
java.lang.String
Expression. getAlias(SessionLocal session, int columnIndex)
Get the alias name of a column or SQL expression if it is not an aliased expression.java.lang.String
ExpressionColumn. getAlias(SessionLocal session, int columnIndex)
java.util.ArrayList<Value>
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.java.lang.String
Alias. getColumnName(SessionLocal session, int columnIndex)
java.lang.String
Expression. getColumnName(SessionLocal session, int columnIndex)
Get the column name or alias name of this expression.java.lang.String
ExpressionColumn. getColumnName(SessionLocal session, int columnIndex)
java.lang.String
Format. getColumnName(SessionLocal session, int columnIndex)
java.lang.String
Alias. getColumnNameForView(SessionLocal session, int columnIndex)
java.lang.String
Expression. getColumnNameForView(SessionLocal session, int columnIndex)
Get the column name of this expression for a view.java.lang.String
ExpressionColumn. getColumnNameForView(SessionLocal session, int columnIndex)
private Value
IntervalOperation. getDateTimeWithInterval(SessionLocal session, Value l, Value r, int lType, int rType)
Expression
Expression. getNotIfPossible(SessionLocal session)
If it is possible, return the negated expression.Expression
ExpressionColumn. getNotIfPossible(SessionLocal session)
Expression
Parameter. getNotIfPossible(SessionLocal session)
Expression
ValueExpression. getNotIfPossible(SessionLocal session)
Value
Alias. getValue(SessionLocal session)
Value
ArrayConstructorByQuery. getValue(SessionLocal session)
Value
ArrayElementReference. getValue(SessionLocal session)
Value
BinaryOperation. getValue(SessionLocal session)
Value
CompatibilityDatePlusTimeOperation. getValue(SessionLocal session)
Value
ConcatenationOperation. getValue(SessionLocal session)
private Value
ConcatenationOperation. getValue(SessionLocal session, int l)
private Value
ConcatenationOperation. getValue(SessionLocal session, Value l, Value r)
Value
DomainValueExpression. getValue(SessionLocal session)
abstract Value
Expression. getValue(SessionLocal session)
Return the resulting value for the current row.Value
ExpressionColumn. getValue(SessionLocal session)
Value
ExpressionList. getValue(SessionLocal session)
Value
FieldReference. getValue(SessionLocal session)
Value
Format. getValue(SessionLocal session)
Value
IntervalOperation. getValue(SessionLocal session)
Value
Parameter. getValue(SessionLocal session)
Value
Rownum. getValue(SessionLocal session)
Value
SearchedCase. getValue(SessionLocal session)
Value
SequenceValue. getValue(SessionLocal session)
Value
SimpleCase. getValue(SessionLocal session)
Value
Subquery. getValue(SessionLocal session)
Value
TimeZoneOperation. getValue(SessionLocal session)
Value
UnaryOperation. getValue(SessionLocal session)
Value
ValueExpression. getValue(SessionLocal session)
Value
Variable. getValue(SessionLocal session)
Value
Wildcard. getValue(SessionLocal session)
boolean
Expression. getWhenValue(SessionLocal session, Value left)
Return the resulting value of when operand for the current row.private static java.math.BigInteger
IntervalOperation. nanosFromValue(SessionLocal session, Value v)
Expression
Alias. optimize(SessionLocal session)
Expression
ArrayConstructorByQuery. optimize(SessionLocal session)
Expression
ArrayElementReference. optimize(SessionLocal session)
Expression
BinaryOperation. optimize(SessionLocal session)
Expression
CompatibilityDatePlusTimeOperation. optimize(SessionLocal session)
Expression
ConcatenationOperation. optimize(SessionLocal session)
Expression
DomainValueExpression. optimize(SessionLocal session)
abstract Expression
Expression. optimize(SessionLocal session)
Try to optimize the expression.Expression
ExpressionColumn. optimize(SessionLocal session)
Expression
ExpressionList. optimize(SessionLocal session)
Expression
FieldReference. optimize(SessionLocal session)
Expression
Format. optimize(SessionLocal session)
Expression
IntervalOperation. optimize(SessionLocal session)
Expression
Operation0. optimize(SessionLocal session)
Expression
Parameter. optimize(SessionLocal session)
Expression
Rownum. optimize(SessionLocal session)
Expression
SearchedCase. optimize(SessionLocal session)
Expression
SimpleCase. optimize(SessionLocal session)
Expression
Subquery. optimize(SessionLocal session)
Expression
TimeZoneOperation. optimize(SessionLocal session)
Expression
UnaryOperation. optimize(SessionLocal session)
Expression
Wildcard. optimize(SessionLocal session)
protected boolean
OperationN. optimizeArguments(SessionLocal session, boolean allConst)
Optimizes arguments.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 Constructor Description Variable(SessionLocal session, java.lang.String name)
-
Uses of SessionLocal in org.h2.expression.aggregate
Methods in org.h2.expression.aggregate with parameters of type SessionLocal Modifier and Type Method Description (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) 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, java.util.HashMap<java.lang.Integer,Value> result, java.util.ArrayList<Value[]> ordered, int rowIdColumn, boolean grouped)
private void
AbstractAggregate. aggregateFastPartitionInReverse(SessionLocal session, java.util.HashMap<java.lang.Integer,Value> result, java.util.ArrayList<Value[]> ordered, int rowIdColumn, boolean grouped)
private void
AbstractAggregate. aggregateWholePartition(SessionLocal session, java.util.HashMap<java.lang.Integer,Value> result, java.util.ArrayList<Value[]> ordered, int rowIdColumn)
private static Value
Aggregate. collect(SessionLocal session, AggregateDataCollecting c, AggregateData d)
Value
Aggregate. getAggregatedValue(SessionLocal session, java.lang.Object aggregateData)
Value
JavaAggregate. getAggregatedValue(SessionLocal session, java.lang.Object aggregateData)
(package private) static Value
Percentile. getFromIndex(SessionLocal session, Expression expression, int dataType, java.util.ArrayList<QueryOrderBy> orderByList, java.math.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, java.util.HashMap<java.lang.Integer,Value> result, java.util.ArrayList<Value[]> ordered, int rowIdColumn)
private Value
Aggregate. getSecondValue(SessionLocal session, Value[] remembered)
Value
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, java.util.ArrayList<QueryOrderBy> orderByList, java.math.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, java.math.BigDecimal factor, int dataType, SessionLocal session, CompareMode compareMode)
Expression
AbstractAggregate. optimize(SessionLocal session)
Expression
Aggregate. optimize(SessionLocal session)
Expression
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, java.lang.Object aggregateData)
Updates an aggregate value.protected void
AbstractAggregate. updateAggregate(SessionLocal session, SelectGroups groupData, int groupRowId)
protected void
Aggregate. updateAggregate(SessionLocal session, java.lang.Object aggregateData)
protected void
JavaAggregate. updateAggregate(SessionLocal session, java.lang.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, java.lang.Object aggregateData, Value[] remembered)
protected abstract void
AbstractAggregate. updateFromExpressions(SessionLocal session, java.lang.Object aggregateData, Value[] array)
Updates the provided aggregate data from the remembered expressions.protected void
Aggregate. updateFromExpressions(SessionLocal session, java.lang.Object aggregateData, Value[] array)
protected void
JavaAggregate. updateFromExpressions(SessionLocal session, java.lang.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 SessionLocal Modifier and Type Method Description protected static SortOrder
DataAnalysisOperation. createOrder(SessionLocal session, java.util.ArrayList<QueryOrderBy> orderBy, int offset)
Create sort order.protected abstract Value
DataAnalysisOperation. getAggregatedValue(SessionLocal session, java.lang.Object aggregateData)
Returns aggregated value.protected Value
WindowFunction. getAggregatedValue(SessionLocal session, java.lang.Object aggregateData)
private static Value[]
WindowFrame. getCompareRow(SessionLocal session, java.util.ArrayList<Value[]> orderedRows, SortOrder sortOrder, int currentRow, WindowFrameBound bound, boolean add)
Appends bound value to the current row and produces row for comparison operations.Value
Window. getCurrentKey(SessionLocal session)
Returns the key for the current group.private int
WindowFrame. getEndIndex(SessionLocal session, java.util.ArrayList<Value[]> orderedRows, SortOrder sortOrder, int currentRow)
Returns end index of this frame,static int
WindowFrame. getEndIndex(Window over, SessionLocal session, java.util.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, java.util.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(java.util.HashMap<java.lang.Integer,Value> result, java.util.ArrayList<Value[]> ordered, int rowIdColumn, SessionLocal session)
private void
WindowFunction. getNth(SessionLocal session, java.util.HashMap<java.lang.Integer,Value> result, java.util.ArrayList<Value[]> ordered, int rowIdColumn)
private Value
DataAnalysisOperation. getOrderedResult(SessionLocal session, SelectGroups groupData, PartitionData partition, java.lang.Object data)
protected abstract void
DataAnalysisOperation. getOrderedResultLoop(SessionLocal session, java.util.HashMap<java.lang.Integer,Value> result, java.util.ArrayList<Value[]> ordered, int rowIdColumn)
Returns result of this window function or window aggregate.protected void
WindowFunction. getOrderedResultLoop(SessionLocal session, java.util.HashMap<java.lang.Integer,Value> result, java.util.ArrayList<Value[]> ordered, int rowIdColumn)
int
WindowFrame. getStartIndex(SessionLocal session, java.util.ArrayList<Value[]> orderedRows, SortOrder sortOrder, int currentRow)
Returns start index of this frame,Value
DataAnalysisOperation. getValue(SessionLocal session)
private static Value
WindowFrame. getValueOffset(WindowFrameBound bound, Value[] values, SessionLocal session)
protected java.lang.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.java.util.Iterator<Value[]>
WindowFrame. iterator(SessionLocal session, java.util.ArrayList<Value[]> orderedRows, SortOrder sortOrder, int currentRow, boolean reverse)
Returns iterator.static java.util.Iterator<Value[]>
WindowFrame. iterator(Window over, SessionLocal session, java.util.ArrayList<Value[]> orderedRows, SortOrder sortOrder, int currentRow, boolean reverse)
Returns iterator for the specified frame, or default iterator if frame is null.Expression
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.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)
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, java.util.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 SessionLocal Modifier and Type Method Description private 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.Expression
BetweenPredicate. getNotIfPossible(SessionLocal session)
Expression
BooleanTest. getNotIfPossible(SessionLocal session)
Expression
CompareLike. getNotIfPossible(SessionLocal session)
Expression
Comparison. getNotIfPossible(SessionLocal session)
Expression
ConditionAndOr. getNotIfPossible(SessionLocal session)
Expression
ConditionAndOrN. getNotIfPossible(SessionLocal session)
Expression
ConditionIn. getNotIfPossible(SessionLocal session)
Expression
ConditionInConstantSet. getNotIfPossible(SessionLocal session)
Expression
ConditionInParameter. getNotIfPossible(SessionLocal session)
Expression
ConditionInQuery. getNotIfPossible(SessionLocal session)
Expression
ConditionNot. getNotIfPossible(SessionLocal session)
Expression
IsJsonPredicate. getNotIfPossible(SessionLocal session)
Expression
NullPredicate. getNotIfPossible(SessionLocal session)
Expression
TypePredicate. getNotIfPossible(SessionLocal session)
private Value
ConditionInQuery. getNullSafeValueSlow(SessionLocal session, ResultInterface rows, Value l)
Value
BetweenPredicate. getValue(SessionLocal session)
private Value
BetweenPredicate. getValue(SessionLocal session, Value value, Value aValue, Value bValue)
Value
BooleanTest. getValue(SessionLocal session)
Value
CompareLike. getValue(SessionLocal session)
private Value
CompareLike. getValue(SessionLocal session, Value left)
Value
Comparison. getValue(SessionLocal session)
Value
ConditionAndOr. getValue(SessionLocal session)
Value
ConditionAndOrN. getValue(SessionLocal session)
Value
ConditionIn. getValue(SessionLocal session)
private Value
ConditionIn. getValue(SessionLocal session, Value left)
Value
ConditionInConstantSet. getValue(SessionLocal session)
private Value
ConditionInConstantSet. getValue(Value left, SessionLocal session)
Value
ConditionInParameter. getValue(SessionLocal session)
(package private) static Value
ConditionInParameter. getValue(SessionLocal session, Value l, boolean not, Value value)
Gets evaluated condition value.Value
ConditionInQuery. getValue(SessionLocal session)
private Value
ConditionInQuery. getValue(SessionLocal session, Value left)
Value
ConditionLocalAndGlobal. getValue(SessionLocal session)
Value
ConditionNot. getValue(SessionLocal session)
Value
ExistsPredicate. getValue(SessionLocal session)
Value
IsJsonPredicate. getValue(SessionLocal session)
Value
NullPredicate. getValue(SessionLocal session)
Value
TypePredicate. getValue(SessionLocal session)
Value
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)
Expression
BetweenPredicate. optimize(SessionLocal session)
Expression
CompareLike. optimize(SessionLocal session)
Expression
Comparison. optimize(SessionLocal session)
Expression
ConditionAndOr. optimize(SessionLocal session)
Expression
ConditionAndOrN. optimize(SessionLocal session)
Expression
ConditionIn. optimize(SessionLocal session)
Expression
ConditionInConstantSet. optimize(SessionLocal session)
Expression
ConditionInParameter. optimize(SessionLocal session)
Expression
ConditionInQuery. optimize(SessionLocal session)
Expression
ConditionLocalAndGlobal. optimize(SessionLocal session)
Expression
ConditionNot. optimize(SessionLocal session)
Expression
IsJsonPredicate. optimize(SessionLocal session)
Expression
NullPredicate. optimize(SessionLocal session)
Expression
PredicateWithSubquery. optimize(SessionLocal session)
Expression
SimplePredicate. optimize(SessionLocal session)
Expression
TypePredicate. optimize(SessionLocal session)
Expression
UniquePredicate. optimize(SessionLocal session)
private Expression
ConditionIn. optimize2(SessionLocal session, boolean constant, boolean allValuesConstant, boolean allValuesNull, java.util.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 SessionLocal Constructor Description ConditionInConstantSet(SessionLocal session, Expression left, boolean not, boolean whenOperand, java.util.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 SessionLocal Modifier and Type Method Description static 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 java.lang.String
DateTimeFormatFunction. formatDateTime(SessionLocal session, Value date, java.lang.String format, java.lang.String locale, java.lang.String timeZone)
Formats a date using a format string.private static java.lang.String
ToCharFunction. getTimeZone(SessionLocal session, Value value, boolean tzd)
Returns time zone display name or ID for the specified date-time value.Value
ArrayFunction. getValue(SessionLocal session)
Value
BitFunction. getValue(SessionLocal session, Value v1, Value v2)
Value
CardinalityExpression. getValue(SessionLocal session)
Value
CastSpecification. getValue(SessionLocal session)
Value
CoalesceFunction. getValue(SessionLocal session)
Value
CompatibilitySequenceValueFunction. getValue(SessionLocal session, Value v1, Value v2)
Value
CompressFunction. getValue(SessionLocal session, Value v1, Value v2)
Value
ConcatFunction. getValue(SessionLocal session)
Value
CryptFunction. getValue(SessionLocal session, Value v1, Value v2, Value v3)
Value
CSVWriteFunction. getValue(SessionLocal session)
private java.lang.String
CSVWriteFunction. getValue(SessionLocal session, int index)
Value
CurrentDateTimeValueFunction. getValue(SessionLocal session)
Value
CurrentGeneralValueSpecification. getValue(SessionLocal session)
Value
DataTypeSQLFunction. getValue(SessionLocal session, Value v1, Value v2, Value v3)
Value
DateTimeFormatFunction. getValue(SessionLocal session, Value v1, Value v2, Value v3)
Value
DateTimeFunction. getValue(SessionLocal session, Value v1, Value v2)
Value
DayMonthNameFunction. getValue(SessionLocal session)
Value
DBObjectFunction. getValue(SessionLocal session, Value v1, Value v2, Value v3)
Value
FileFunction. getValue(SessionLocal session)
Value
Function1_2. getValue(SessionLocal session)
protected Value
Function1_2. getValue(SessionLocal session, Value v1, Value v2)
Returns the value of this function.Value
Function2. getValue(SessionLocal session)
protected Value
Function2. getValue(SessionLocal session, Value v1, Value v2)
Returns the value of this function.Value
FunctionN. getValue(SessionLocal session)
protected Value
FunctionN. getValue(SessionLocal session, Value v1, Value v2, Value v3)
Returns the value of this function.Value
HashFunction. getValue(SessionLocal session, Value v1, Value v2, Value v3)
Value
JavaFunction. getValue(SessionLocal session)
Value
JsonConstructorFunction. getValue(SessionLocal session)
Value
LengthFunction. getValue(SessionLocal session)
Value
MathFunction. getValue(SessionLocal session, Value v1, Value v2)
Value
MathFunction1. getValue(SessionLocal session)
Value
MathFunction2. getValue(SessionLocal session, Value v1, Value v2)
Value
NullIfFunction. getValue(SessionLocal session)
Value
RandFunction. getValue(SessionLocal session)
Value
RegexpFunction. getValue(SessionLocal session)
Value
SessionControlFunction. getValue(SessionLocal session)
Value
SetFunction. getValue(SessionLocal session)
Value
SignalFunction. getValue(SessionLocal session, Value v1, Value v2)
Value
SoundexFunction. getValue(SessionLocal session, Value v1, Value v2)
Value
StringFunction. getValue(SessionLocal session)
Value
StringFunction1. getValue(SessionLocal session)
Value
StringFunction2. getValue(SessionLocal session, Value v1, Value v2)
Value
SubstringFunction. getValue(SessionLocal session, Value v1, Value v2, Value v3)
Value
SysInfoFunction. getValue(SessionLocal session)
Value
TableInfoFunction. getValue(SessionLocal session, Value v1, Value v2)
Value
ToCharFunction. getValue(SessionLocal session, Value v1, Value v2, Value v3)
Value
TrimFunction. getValue(SessionLocal session, Value v1, Value v2)
Value
TruncateValueFunction. getValue(SessionLocal session, Value v1, Value v2, Value v3)
Value
XMLFunction. getValue(SessionLocal session)
protected Value
XMLFunction. getValue(SessionLocal session, Value v1, Value v2, Value v3)
private static Value
StringFunction1. hexToRaw(java.lang.String s, SessionLocal session)
private Value
JsonConstructorFunction. jsonArray(SessionLocal session, Expression[] args)
private Value
JsonConstructorFunction. jsonObject(SessionLocal session, Expression[] args)
Expression
ArrayFunction. optimize(SessionLocal session)
Expression
BitFunction. optimize(SessionLocal session)
Expression
CardinalityExpression. optimize(SessionLocal session)
Expression
CastSpecification. optimize(SessionLocal session)
Expression
CoalesceFunction. optimize(SessionLocal session)
Expression
CompatibilitySequenceValueFunction. optimize(SessionLocal session)
Expression
CompressFunction. optimize(SessionLocal session)
Expression
ConcatFunction. optimize(SessionLocal session)
Expression
CryptFunction. optimize(SessionLocal session)
Expression
CSVWriteFunction. optimize(SessionLocal session)
Expression
DataTypeSQLFunction. optimize(SessionLocal session)
Expression
DateTimeFormatFunction. optimize(SessionLocal session)
Expression
DateTimeFunction. optimize(SessionLocal session)
Expression
DayMonthNameFunction. optimize(SessionLocal session)
Expression
DBObjectFunction. optimize(SessionLocal session)
Expression
FileFunction. optimize(SessionLocal session)
Expression
HashFunction. optimize(SessionLocal session)
Expression
JavaFunction. optimize(SessionLocal session)
Expression
JsonConstructorFunction. optimize(SessionLocal session)
Expression
LengthFunction. optimize(SessionLocal session)
Expression
MathFunction. optimize(SessionLocal session)
Expression
MathFunction1. optimize(SessionLocal session)
Expression
MathFunction2. optimize(SessionLocal session)
Expression
NullIfFunction. optimize(SessionLocal session)
Expression
RandFunction. optimize(SessionLocal session)
Expression
RegexpFunction. optimize(SessionLocal session)
Expression
SessionControlFunction. optimize(SessionLocal session)
Expression
SetFunction. optimize(SessionLocal session)
Expression
SignalFunction. optimize(SessionLocal session)
Expression
SoundexFunction. optimize(SessionLocal session)
Expression
StringFunction. optimize(SessionLocal session)
Expression
StringFunction1. optimize(SessionLocal session)
Expression
StringFunction2. optimize(SessionLocal session)
Expression
SubstringFunction. optimize(SessionLocal session)
Expression
TableInfoFunction. optimize(SessionLocal session)
Expression
ToCharFunction. optimize(SessionLocal session)
Expression
TrimFunction. optimize(SessionLocal session)
Expression
TruncateValueFunction. optimize(SessionLocal session)
Expression
XMLFunction. optimize(SessionLocal session)
private Expression
BitFunction. optimizeNot(SessionLocal session)
private Expression
MathFunction. optimizeRoundWithScale(SessionLocal session, boolean possibleRoundUp)
static ValueTimestampTimeZone
DateTimeFormatFunction. parseDateTime(SessionLocal session, java.lang.String date, java.lang.String format, java.lang.String locale, java.lang.String timeZone)
Parses a date using a format string.private static Value
RegexpFunction. regexpReplace(SessionLocal session, java.lang.String input, java.lang.String regexp, java.lang.String replacement, int position, int occurrence, java.lang.String regexpMode)
private static Value
RegexpFunction. regexpSubstr(Value inputString, Value regexpArg, Value positionArg, Value occurrenceArg, Value regexpModeArg, Value subexpressionArg, SessionLocal session)
static java.lang.String
ToCharFunction. toCharDateTime(SessionLocal session, Value value, java.lang.String format, java.lang.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 SessionLocal Modifier and Type Method Description private ResultInterface
ArrayTableFunction. getTable(SessionLocal session, boolean onlyColumnList)
ResultInterface
ArrayTableFunction. getValue(SessionLocal session)
ResultInterface
CSVReadFunction. getValue(SessionLocal session)
private java.lang.String
CSVReadFunction. getValue(SessionLocal session, int index)
private static java.lang.String
CSVReadFunction. getValue(SessionLocal session, Expression[] args, int index)
ResultInterface
JavaTableFunction. getValue(SessionLocal session)
ResultInterface
LinkSchemaFunction. getValue(SessionLocal session)
private java.lang.String
LinkSchemaFunction. getValue(SessionLocal session, int index)
abstract ResultInterface
TableFunction. getValue(SessionLocal session)
Get a result with.ResultInterface
ArrayTableFunction. getValueTemplate(SessionLocal session)
ResultInterface
CSVReadFunction. getValueTemplate(SessionLocal session)
ResultInterface
JavaTableFunction. getValueTemplate(SessionLocal session)
ResultInterface
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 SessionLocal Modifier and Type Method Description private static void
FullText. addColumnData(SessionLocal session, java.util.ArrayList<java.lang.String> columns, java.util.ArrayList<java.lang.String> data, Expression expr)
-
Uses of SessionLocal in org.h2.index
Fields in org.h2.index declared as SessionLocal Modifier and Type Field Description private SessionLocal
ViewIndex. createSession
private SessionLocal
IndexCursor. session
private SessionLocal
LinkedCursor. session
Methods in org.h2.index that return SessionLocal Modifier and Type Method Description SessionLocal
ViewIndex. getSession()
Methods in org.h2.index with parameters of type SessionLocal Modifier and Type Method Description abstract 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)
Cursor
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, java.util.ArrayList<IndexCondition> indexConditions)
Re-evaluate the start and end values of the index search for rows.Cursor
LinkedIndex. find(SessionLocal session, SearchRow first, SearchRow last)
Cursor
MetaIndex. find(SessionLocal session, SearchRow first, SearchRow last)
Cursor
RangeIndex. find(SessionLocal session, SearchRow first, SearchRow last)
Cursor
ViewIndex. find(SessionLocal session, SearchRow first, SearchRow last)
private Cursor
ViewIndex. find(SessionLocal session, SearchRow first, SearchRow last, SearchRow intersection)
Cursor
VirtualConstructedTableIndex. find(SessionLocal session, SearchRow first, SearchRow last)
Cursor
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.Cursor
ViewIndex. findByGeometry(SessionLocal session, SearchRow first, SearchRow last, SearchRow intersection)
Cursor
DualIndex. findFirstOrLast(SessionLocal session, boolean first)
Cursor
Index. findFirstOrLast(SessionLocal session, boolean first)
Find the first (or last) value of this index.Cursor
RangeIndex. findFirstOrLast(SessionLocal session, boolean first)
Cursor
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)
Value
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)
Row
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, java.util.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 SessionLocal Constructor Description LinkedCursor(TableLink tableLink, java.sql.ResultSet rs, SessionLocal session, java.lang.String sql, java.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 SessionLocal Modifier and Type Field Description private SessionLocal
DatabaseMetaLocal. session
Methods in org.h2.jdbc.meta with parameters of type SessionLocal Modifier and Type Method Description static ResultInterface
DatabaseMetaServer. process(SessionLocal session, int code, Value[] args)
Process a database meta data request.private static ResultInterface
DatabaseMetaServer. result(SessionLocal session, java.lang.String value)
Constructors in org.h2.jdbc.meta with parameters of type SessionLocal Constructor Description DatabaseMetaLocal(SessionLocal session)
-
Uses of SessionLocal in org.h2.mode
Fields in org.h2.mode declared as SessionLocal Modifier and Type Field Description private SessionLocal
ToDateParser. session
Methods in org.h2.mode with parameters of type SessionLocal Modifier and Type Method Description private void
PgCatalogTable. addAttribute(SessionLocal session, java.util.ArrayList<Row> rows, int id, int relId, Table table, Column column, int ordinal)
private void
PgCatalogTable. addClass(SessionLocal session, java.util.ArrayList<Row> rows, int id, java.lang.String name, int schema, java.lang.String kind, boolean index, int triggers)
java.util.ArrayList<Row>
PgCatalogTable. generateRows(SessionLocal session, SearchRow first, SearchRow last)
(package private) 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)
protected java.util.Map<java.lang.String,Table>
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, java.lang.String input, java.lang.String format)
private static java.lang.String
FunctionsPostgreSQL. getUserbyid(SessionLocal session, int uid)
Value
FunctionsDB2Derby. getValue(SessionLocal session)
Value
FunctionsLegacy. getValue(SessionLocal session)
Value
FunctionsMSSQLServer. getValue(SessionLocal session)
Value
FunctionsMySQL. getValue(SessionLocal session)
Value
FunctionsOracle. getValue(SessionLocal session)
Value
FunctionsPostgreSQL. getValue(SessionLocal session)
Value
OnDuplicateKeyValues. getValue(SessionLocal session)
Value
Regclass. getValue(SessionLocal session)
Expression
FunctionsDB2Derby. optimize(SessionLocal session)
Expression
FunctionsLegacy. optimize(SessionLocal session)
Expression
FunctionsMSSQLServer. optimize(SessionLocal session)
Expression
FunctionsMySQL. optimize(SessionLocal session)
Expression
FunctionsOracle. optimize(SessionLocal session)
Expression
FunctionsPostgreSQL. optimize(SessionLocal session)
Expression
Regclass. optimize(SessionLocal session)
(package private) boolean
ModeFunction. optimizeArguments(SessionLocal session)
Optimizes arguments.private void
PgCatalogTable. pgAttribute(SessionLocal session, java.util.ArrayList<Row> rows, Table table)
private void
PgCatalogTable. pgClass(SessionLocal session, java.util.ArrayList<Row> rows, Table table)
private void
PgCatalogTable. pgConstraint(SessionLocal session, java.util.ArrayList<Row> rows)
private static Value
FunctionsPostgreSQL. relationSize(SessionLocal session, Value tableOidOrName)
static ValueTimestamp
ToDateParser. toDate(SessionLocal session, java.lang.String input, java.lang.String format)
Parse a string as a date with the given format.static ValueTimestamp
ToDateParser. toTimestamp(SessionLocal session, java.lang.String input, java.lang.String format)
Parse a string as a timestamp with the given format.static ValueTimestampTimeZone
ToDateParser. toTimestampTz(SessionLocal session, java.lang.String input, java.lang.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 SessionLocal Constructor Description ToDateParser(SessionLocal session, ToDateParser.ConfigParam functionName, java.lang.String input, java.lang.String format)
-
Uses of SessionLocal in org.h2.mvstore.db
Fields in org.h2.mvstore.db declared as SessionLocal Modifier and Type Field Description private SessionLocal
MVTable. lockExclusiveSession
The session (if any) that has exclusively locked this table.private SessionLocal
MVSecondaryIndex.MVStoreCursor. session
private SessionLocal
MVSpatialIndex.FindBoundsCursor. session
private SessionLocal
MVSpatialIndex.MVStoreCursor. session
Fields in org.h2.mvstore.db with type parameters of type SessionLocal Modifier and Type Field Description private java.util.concurrent.ConcurrentHashMap<SessionLocal,SessionLocal>
MVTable. lockSharedSessions
The set of sessions (if any) that have a shared lock on the table.private java.util.concurrent.ConcurrentHashMap<SessionLocal,SessionLocal>
MVTable. lockSharedSessions
The set of sessions (if any) that have a shared lock on the table.private java.util.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 SessionLocal Modifier and Type Method Description java.util.ArrayList<SessionLocal>
MVTable. checkDeadlock(SessionLocal session, SessionLocal clash, java.util.Set<SessionLocal> visited)
Methods in org.h2.mvstore.db with parameters of type SessionLocal Modifier and Type Method Description void
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)
Index
MVTable. addIndex(SessionLocal session, java.lang.String indexName, int indexId, IndexColumn[] cols, int uniqueColumnCount, IndexType indexType, boolean create, java.lang.String indexComment)
void
MVTable. addRow(SessionLocal session, Row row)
private static void
MVTable. addRowsToIndex(SessionLocal session, java.util.ArrayList<Row> list, Index index)
Appends the specified rows to the specified index.private void
MVTable. analyzeIfRequired(SessionLocal session)
boolean
MVTable. canGetRowCount(SessionLocal session)
java.util.ArrayList<SessionLocal>
MVTable. checkDeadlock(SessionLocal session, SessionLocal clash, java.util.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)
Cursor
MVDelegateIndex. find(SessionLocal session, SearchRow first, SearchRow last)
private Cursor
MVPrimaryIndex. find(SessionLocal session, java.lang.Long first, java.lang.Long last)
Cursor
MVPrimaryIndex. find(SessionLocal session, SearchRow first, SearchRow last)
private Cursor
MVSecondaryIndex. find(SessionLocal session, SearchRow first, boolean bigger, SearchRow last)
Cursor
MVSecondaryIndex. find(SessionLocal session, SearchRow first, SearchRow last)
Cursor
MVSpatialIndex. find(SessionLocal session, SearchRow first, SearchRow last)
Cursor
MVSpatialIndex. findByGeometry(SessionLocal session, SearchRow first, SearchRow last, SearchRow intersection)
Cursor
MVDelegateIndex. findFirstOrLast(SessionLocal session, boolean first)
Cursor
MVPrimaryIndex. findFirstOrLast(SessionLocal session, boolean first)
Cursor
MVSecondaryIndex. findFirstOrLast(SessionLocal session, boolean first)
Cursor
MVSecondaryIndex. findNext(SessionLocal session, SearchRow higherThan, SearchRow last)
Value
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)
Value
MVSpatialIndex. getEstimatedBounds(SessionLocal session)
Returns the estimated minimum bounding box that encloses all keys.(package private) TransactionMap<java.lang.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.Row
MVDelegateIndex. getRow(SessionLocal session, long key)
Row
MVPrimaryIndex. getRow(SessionLocal session, long key)
Row
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)
Index
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.Row
MVTable. lockRow(SessionLocal session, Row row)
void
Store. prepareCommit(SessionLocal session, java.lang.String transactionName)
Prepare a transaction.private void
MVTable. rebuildIndex(SessionLocal session, MVIndex<?,?> index, java.lang.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, java.lang.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 SessionLocal Modifier and Type Method Description java.util.ArrayList<SessionLocal>
MVTable. checkDeadlock(SessionLocal session, SessionLocal clash, java.util.Set<SessionLocal> visited)
private static java.lang.String
MVTable. getDeadlockDetails(java.util.ArrayList<SessionLocal> sessions, int lockType)
Formats details of a deadlock.Constructors in org.h2.mvstore.db with parameters of type SessionLocal Constructor Description FindBoundsCursor(Page<Spatial,VersionedValue<Value>> root, Spatial filter, SessionLocal session, TransactionMap<Spatial,Value> map, int columnId)
MVStoreCursor(SessionLocal session, TransactionMap.TMIterator<SearchRow,Value,SearchRow> it, MVTable mvTable)
MVStoreCursor(SessionLocal session, java.util.Iterator<Spatial> it, MVTable mvTable)
-
Uses of SessionLocal in org.h2.result
Fields in org.h2.result declared as SessionLocal Modifier and Type Field Description private SessionLocal
LazyResult. session
private SessionLocal
LocalResult. session
private SessionLocal
SortOrder. session
Methods in org.h2.result with parameters of type SessionLocal Modifier and Type Method Description static 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 SessionLocal Constructor Description LazyResult(SessionLocal session, Expression[] expressions)
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, java.util.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 SessionLocal Modifier and Type Method Description void
Domain. checkConstraints(SessionLocal session, Value value)
Check the specified value.private java.lang.Object
FunctionAlias.JavaMethod. execute(SessionLocal session, Expression[] args, boolean columnList)
Constraint
Schema. findConstraint(SessionLocal session, java.lang.String name)
Try to find a constraint with this name.Index
Schema. findIndex(SessionLocal session, java.lang.String name)
Try to find an index with this name.Table
MetaSchema. findTableOrView(SessionLocal session, java.lang.String name)
Table
Schema. findTableOrView(SessionLocal session, java.lang.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)
java.util.Collection<Table>
MetaSchema. getAllTablesAndViews(SessionLocal session)
java.util.Collection<Table>
Schema. getAllTablesAndViews(SessionLocal session)
Get all tables and views.protected java.util.Map<java.lang.String,Table>
InformationSchema. getMap(SessionLocal session)
protected abstract java.util.Map<java.lang.String,Table>
MetaSchema. getMap(SessionLocal session)
Returns map of tables in this schema.Value
Sequence. getNext(SessionLocal session)
Get the next value for this sequence.Table
MetaSchema. getTableOrView(SessionLocal session, java.lang.String name)
Table
Schema. getTableOrView(SessionLocal session, java.lang.String name)
Get the table or view with the given name.Table
MetaSchema. getTableOrViewByName(SessionLocal session, java.lang.String name)
Table
Schema. getTableOrViewByName(SessionLocal session, java.lang.String name)
Get the table with the given name, if any.ResultInterface
FunctionAlias.JavaMethod. getTableValue(SessionLocal session, Expression[] args, boolean columnList)
Call the table user-defined function and return the value.java.lang.String
Schema. getUniqueConstraintName(SessionLocal session, Table table)
Create a unique constraint name.java.lang.String
Schema. getUniqueDomainConstraintName(SessionLocal session, Domain domain)
Create a unique constraint name.java.lang.String
Schema. getUniqueIndexName(SessionLocal session, Table table, java.lang.String prefix)
Create a unique index name.Value
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, java.util.concurrent.ConcurrentHashMap<java.lang.String,? extends SchemaObject> map)
Table
Schema. resolveTableOrView(SessionLocal session, java.lang.String name)
Try to find a table or view with this name.static ResultInterface
FunctionAlias.JavaMethod. resultSetToResult(SessionLocal session, java.sql.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 SessionLocal Constructor Description Sequence(SessionLocal session, Schema schema, int id, java.lang.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 Modifier and Type Field Description private SessionLocal
TcpServerThread. session
-
Uses of SessionLocal in org.h2.server.pg
Fields in org.h2.server.pg declared as SessionLocal Modifier and Type Field Description private SessionLocal
PgServerThread. session
-
Uses of SessionLocal in org.h2.table
Fields in org.h2.table declared as SessionLocal Modifier and Type Field Description private SessionLocal
TableFilter. session
Methods in org.h2.table that return SessionLocal Modifier and Type Method Description SessionLocal
TableFilter. getSession()
Methods in org.h2.table that return types with arguments of type SessionLocal Modifier and Type Method Description java.util.ArrayList<SessionLocal>
Table. checkDeadlock(SessionLocal session, SessionLocal clash, java.util.Set<SessionLocal> visited)
Check if a deadlock occurred.Methods in org.h2.table with parameters of type SessionLocal Modifier and Type Method Description protected void
MetaTable. add(SessionLocal session, java.util.ArrayList<Row> rows, java.lang.Object... stringsOrValues)
Add a row to a list.private void
InformationSchemaTable. addConstraintColumnUsage(SessionLocal session, java.util.ArrayList<Row> rows, java.lang.String catalog, Constraint constraint, Column column)
private void
InformationSchemaTableLegacy. addConstraintColumnUsage(SessionLocal session, java.util.ArrayList<Row> rows, java.lang.String catalog, Constraint constraint, Column column)
Index
MetaTable. addIndex(SessionLocal session, java.lang.String indexName, int indexId, IndexColumn[] cols, int uniqueColumnCount, IndexType indexType, boolean create, java.lang.String indexComment)
abstract Index
Table. addIndex(SessionLocal session, java.lang.String indexName, int indexId, IndexColumn[] cols, int uniqueColumnCount, IndexType indexType, boolean create, java.lang.String indexComment)
Create an index for this tableIndex
TableLink. addIndex(SessionLocal session, java.lang.String indexName, int indexId, IndexColumn[] cols, int uniqueColumnCount, IndexType indexType, boolean create, java.lang.String indexComment)
Index
TableView. addIndex(SessionLocal session, java.lang.String indexName, int indexId, IndexColumn[] cols, int uniqueColumnCount, IndexType indexType, boolean create, java.lang.String indexComment)
Index
VirtualTable. addIndex(SessionLocal session, java.lang.String indexName, int indexId, IndexColumn[] cols, int uniqueColumnCount, IndexType indexType, boolean create, java.lang.String indexComment)
private void
InformationSchemaTable. addPrivilege(SessionLocal session, java.util.ArrayList<Row> rows, DbObject grantee, java.lang.String catalog, Table table, java.lang.String column, java.lang.String right)
private void
InformationSchemaTableLegacy. addPrivilege(SessionLocal session, java.util.ArrayList<Row> rows, DbObject grantee, java.lang.String catalog, Table table, java.lang.String column, java.lang.String right)
private void
InformationSchemaTable. addPrivileges(SessionLocal session, java.util.ArrayList<Row> rows, DbObject grantee, java.lang.String catalog, Table table, java.lang.String column, int rightMask)
private void
InformationSchemaTableLegacy. addPrivileges(SessionLocal session, java.util.ArrayList<Row> rows, DbObject grantee, java.lang.String catalog, Table table, java.lang.String column, int rightMask)
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, java.util.ArrayList<Row> rows, java.lang.String catalog, Constraint constraint, java.lang.String constraintName)
private void
InformationSchemaTable. checkConstraints(SessionLocal session, Value indexFrom, Value indexTo, java.util.ArrayList<Row> rows, java.lang.String catalog)
java.util.ArrayList<SessionLocal>
Table. checkDeadlock(SessionLocal session, SessionLocal clash, java.util.Set<SessionLocal> visited)
Check if a deadlock occurred.protected boolean
MetaTable. checkIndex(SessionLocal session, java.lang.String value, Value indexFrom, Value indexTo)
Checks index conditions.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, java.util.ArrayList<Row> rows, java.lang.String catalog)
private void
InformationSchemaTable. collations(SessionLocal session, java.util.ArrayList<Row> rows, java.lang.String catalog, java.lang.String mainSchemaName, java.lang.String name, java.lang.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, java.util.ArrayList<Row> rows, java.lang.String catalog)
private void
InformationSchemaTable. columns(SessionLocal session, java.util.ArrayList<Row> rows, java.lang.String catalog, java.lang.String mainSchemaName, java.lang.String collation, Table table, java.lang.String tableName)
private void
InformationSchemaTable. columns(SessionLocal session, java.util.ArrayList<Row> rows, java.lang.String catalog, java.lang.String mainSchemaName, java.lang.String collation, Table table, java.lang.String tableName, Column c, int ordinalPosition)
private void
InformationSchemaTable. columns(SessionLocal session, Value indexFrom, Value indexTo, java.util.ArrayList<Row> rows, java.lang.String catalog)
private Query
TableView. compileViewQuery(SessionLocal session, java.lang.String sql, boolean literalsChecked)
private void
InformationSchemaTable. constants(SessionLocal session, java.util.ArrayList<Row> rows, java.lang.String catalog, java.lang.String mainSchemaName, java.lang.String collation, Constant constant, java.lang.String constantName)
private void
InformationSchemaTable. constants(SessionLocal session, Value indexFrom, Value indexTo, java.util.ArrayList<Row> rows, java.lang.String catalog)
private void
InformationSchemaTable. constraintColumnUsage(SessionLocal session, Value indexFrom, Value indexTo, java.util.ArrayList<Row> rows, java.lang.String catalog)
private void
InformationSchemaTable. constraintColumnUsage(SessionLocal session, Value indexFrom, Value indexTo, java.util.ArrayList<Row> rows, java.lang.String catalog, Constraint constraint)
void
Table. convertInsertRow(SessionLocal session, Row row, java.lang.Boolean overridingSystem)
Prepares the specified row for INSERT operation.void
TableLink. convertInsertRow(SessionLocal session, Row row, java.lang.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, java.lang.String cteViewName, Schema schema, java.util.List<Column> columns, Database db)
Create a table for a recursive query.static TableView
TableView. createTableViewMaybeRecursive(Schema schema, int id, java.lang.String name, java.lang.String querySQL, java.util.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, java.lang.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, java.util.ArrayList<Row> rows, java.lang.String catalog, ConstraintDomain constraint, Domain domain, java.lang.String domainName)
private void
InformationSchemaTable. domainConstraints(SessionLocal session, Value indexFrom, Value indexTo, java.util.ArrayList<Row> rows, java.lang.String catalog)
private void
InformationSchemaTable. domains(SessionLocal session, java.util.ArrayList<Row> rows, java.lang.String catalog, java.lang.String mainSchemaName, java.lang.String collation, Domain domain, java.lang.String domainName)
private void
InformationSchemaTable. domains(SessionLocal session, Value indexFrom, Value indexTo, java.util.ArrayList<Row> rows, java.lang.String catalog)
void
Table. dropMultipleColumnsConstraintsAndIndexes(SessionLocal session, java.util.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, java.util.ArrayList<Row> rows, java.lang.String catalog, java.lang.String mainSchemaName, java.lang.String collation, java.lang.String objectSchema, java.lang.String objectName, java.lang.String objectType, java.lang.String collectionIdentifier, java.lang.String dtdIdentifier, TypeInfo typeInfo)
private void
InformationSchemaTable. elementTypesFields(SessionLocal session, java.util.ArrayList<Row> rows, java.lang.String catalog, int type)
private void
InformationSchemaTable. elementTypesFieldsForTable(SessionLocal session, java.util.ArrayList<Row> rows, java.lang.String catalog, int type, java.lang.String mainSchemaName, java.lang.String collation, java.lang.String schemaName, Table table)
private void
InformationSchemaTable. elementTypesFieldsRow(SessionLocal session, java.util.ArrayList<Row> rows, java.lang.String catalog, int type, java.lang.String mainSchemaName, java.lang.String collation, java.lang.String objectSchema, java.lang.String objectName, java.lang.String objectType, java.lang.String identifier, TypeInfo typeInfo)
private void
InformationSchemaTable. enumValues(SessionLocal session, java.util.ArrayList<Row> rows, java.lang.String catalog, java.lang.String objectSchema, java.lang.String objectName, java.lang.String objectType, java.lang.String enumIdentifier, TypeInfo typeInfo)
java.sql.PreparedStatement
TableLink. execute(java.lang.String sql, java.util.ArrayList<Value> params, boolean reusePrepared, SessionLocal session)
Execute a SQL statement using the given parameters.private void
InformationSchemaTable. fields(SessionLocal session, java.util.ArrayList<Row> rows, java.lang.String catalog, java.lang.String mainSchemaName, java.lang.String collation, java.lang.String objectSchema, java.lang.String objectName, java.lang.String objectType, java.lang.String rowIdentifier, java.lang.String fieldName, int ordinalPosition, java.lang.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)
java.util.ArrayList<Row>
InformationSchemaTable. generateRows(SessionLocal session, SearchRow first, SearchRow last)
java.util.ArrayList<Row>
InformationSchemaTableLegacy. generateRows(SessionLocal session, SearchRow first, SearchRow last)
abstract java.util.ArrayList<Row>
MetaTable. generateRows(SessionLocal session, SearchRow first, SearchRow last)
Generate the data for the given metadata table using the given first and last row filters.private java.util.ArrayList<Table>
InformationSchemaTableLegacy. getAllTables(SessionLocal session)
Get all tables of this database, including local temporary tables for the session.PlanItem
Table. getBestPlanItem(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet)
Get the best plan for the given search mask.PlanItem
TableFilter. getBestPlanItem(SessionLocal s, TableFilter[] filters, int filter, AllColumnsForPlan allColumnsSet)
Get the best plan item (index, cost) to use for the current join order.PlanItem
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.ResultInterface
DataChangeDeltaTable. getResult(SessionLocal session)
ResultInterface
FunctionTable. getResult(SessionLocal session)
ResultInterface
TableValueConstructorTable. getResult(SessionLocal session)
abstract ResultInterface
VirtualConstructedTable. getResult(SessionLocal session)
Read the rows from the table.Row
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)
Index
DualTable. getScanIndex(SessionLocal session)
Index
MetaTable. getScanIndex(SessionLocal session)
Index
RangeTable. getScanIndex(SessionLocal session)
abstract Index
Table. getScanIndex(SessionLocal session)
Get the scan index to iterate through all rows.Index
Table. getScanIndex(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet)
Get the scan index for this table.Index
TableLink. getScanIndex(SessionLocal session)
Index
TableView. getScanIndex(SessionLocal session)
Index
TableView. getScanIndex(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet)
Index
VirtualConstructedTable. getScanIndex(SessionLocal session)
long
RangeTable. getStep(SessionLocal session)
Get the increment.private java.util.ArrayList<Table>
InformationSchemaTableLegacy. getTablesByName(SessionLocal session, java.lang.String tableName)
protected boolean
MetaTable. hideTable(Table table, SessionLocal session)
Check whether to hide the table.private void
InformationSchemaTable. indexColumns(SessionLocal session, java.util.ArrayList<Row> rows, java.lang.String catalog, Table table, java.lang.String tableName, Index index)
private void
InformationSchemaTable. indexes(SessionLocal session, java.util.ArrayList<Row> rows, java.lang.String catalog, boolean columns, Table table, java.lang.String tableName)
private void
InformationSchemaTable. indexes(SessionLocal session, java.util.ArrayList<Row> rows, java.lang.String catalog, Table table, java.lang.String tableName, Index index)
private void
InformationSchemaTable. indexes(SessionLocal session, Value indexFrom, Value indexTo, java.util.ArrayList<Row> rows, java.lang.String catalog, boolean columns)
private void
InformationSchemaTable. inDoubt(SessionLocal session, java.util.ArrayList<Row> rows)
private void
InformationSchemaTable. informationSchemaCatalogName(SessionLocal session, java.util.ArrayList<Row> rows, java.lang.String catalog)
private void
TableView. init(java.lang.String querySQL, java.util.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, java.util.ArrayList<Row> rows, java.lang.String catalog, Constraint constraint, Constraint.Type constraintType, IndexColumn[] indexColumns, Table table, java.lang.String tableName)
private void
InformationSchemaTable. keyColumnUsage(SessionLocal session, Value indexFrom, Value indexTo, java.util.ArrayList<Row> rows, java.lang.String catalog)
boolean
Table. lock(SessionLocal session, int lockType)
Lock the table for the given session.void
TableFilter. lock(SessionLocal s)
Lock the table.Row
Table. lockRow(SessionLocal session, Row row)
Locks row, preventing any updated to it, except from the session specified.private void
InformationSchemaTable. locks(SessionLocal session, java.util.ArrayList<Row> rows)
private void
InformationSchemaTable. locks(SessionLocal session, java.util.ArrayList<Row> rows, SessionLocal sessionWithLocks)
private void
RangeTable. optimize(SessionLocal s)
private void
InformationSchemaTable. parameters(SessionLocal session, java.util.ArrayList<Row> rows, java.lang.String catalog)
private void
InformationSchemaTable. parameters(SessionLocal session, java.util.ArrayList<Row> rows, java.lang.String catalog, java.lang.String mainSchemaName, java.lang.String collation, java.lang.String schema, java.lang.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, java.util.ArrayList<Row> rows)
DbException
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, java.util.ArrayList<Row> rows, java.lang.String catalog, ConstraintReferential constraint, java.lang.String constraintName)
private void
InformationSchemaTable. referentialConstraints(SessionLocal session, Value indexFrom, Value indexTo, java.util.ArrayList<Row> rows, java.lang.String catalog)
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.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(java.lang.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, java.util.ArrayList<Row> rows)
private void
InformationSchemaTable. roles(SessionLocal session, java.util.ArrayList<Row> rows)
private void
InformationSchemaTable. routines(SessionLocal session, java.util.ArrayList<Row> rows, java.lang.String catalog)
private void
InformationSchemaTable. routines(SessionLocal session, java.util.ArrayList<Row> rows, java.lang.String catalog, java.lang.String mainSchemaName, java.lang.String collation, java.lang.String schema, java.lang.String name, java.lang.String specificName, java.lang.String routineType, java.lang.String definition, java.lang.String externalName, TypeInfo typeInfo, boolean deterministic, java.lang.String remarks)
private void
InformationSchemaTable. schemata(SessionLocal session, java.util.ArrayList<Row> rows, java.lang.String catalog)
private void
InformationSchemaTable. sequences(SessionLocal session, java.util.ArrayList<Row> rows, java.lang.String catalog, Sequence sequence, java.lang.String sequenceName)
private void
InformationSchemaTable. sequences(SessionLocal session, Value indexFrom, Value indexTo, java.util.ArrayList<Row> rows, java.lang.String catalog)
private void
InformationSchemaTable. sessions(SessionLocal session, java.util.ArrayList<Row> rows)
private void
InformationSchemaTable. sessions(SessionLocal session, java.util.ArrayList<Row> rows, SessionLocal s)
private void
InformationSchemaTable. sessionState(SessionLocal session, java.util.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, java.util.ArrayList<Row> rows)
void
TableFilter. startQuery(SessionLocal s)
Start the query.private void
InformationSchemaTable. synonyms(SessionLocal session, java.util.ArrayList<Row> rows, java.lang.String catalog)
private void
InformationSchemaTable. tableConstraints(SessionLocal session, java.util.ArrayList<Row> rows, java.lang.String catalog, Constraint constraint, Constraint.Type constraintType, Table table, java.lang.String tableName)
private void
InformationSchemaTable. tableConstraints(SessionLocal session, Value indexFrom, Value indexTo, java.util.ArrayList<Row> rows, java.lang.String catalog)
private void
InformationSchemaTable. tablePrivileges(SessionLocal session, Value indexFrom, Value indexTo, java.util.ArrayList<Row> rows, java.lang.String catalog)
private void
InformationSchemaTable. tables(SessionLocal session, java.util.ArrayList<Row> rows, java.lang.String catalog, Table table, java.lang.String tableName)
private void
InformationSchemaTable. tables(SessionLocal session, Value indexFrom, Value indexTo, java.util.ArrayList<Row> rows, java.lang.String catalog)
private void
InformationSchemaTable. triggers(SessionLocal session, java.util.ArrayList<Row> rows, java.lang.String catalog, TriggerObject trigger, java.lang.String eventManipulation, Table table, java.lang.String tableName)
private void
InformationSchemaTable. triggers(SessionLocal session, Value indexFrom, Value indexTo, java.util.ArrayList<Row> rows, java.lang.String catalog)
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, java.util.ArrayList<Row> rows)
private void
InformationSchemaTable. users(SessionLocal session, java.util.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, java.util.ArrayList<Row> rows, java.lang.String catalog, Table table, java.lang.String tableName)
private void
InformationSchemaTable. views(SessionLocal session, Value indexFrom, Value indexTo, java.util.ArrayList<Row> rows, java.lang.String catalog)
Method parameters in org.h2.table with type arguments of type SessionLocal Modifier and Type Method Description java.util.ArrayList<SessionLocal>
Table. checkDeadlock(SessionLocal session, SessionLocal clash, java.util.Set<SessionLocal> visited)
Check if a deadlock occurred.Constructors in org.h2.table with parameters of type SessionLocal Constructor Description DataChangeDeltaTable(Schema schema, SessionLocal session, DataChangeStatement statement, DataChangeDeltaTable.ResultOption resultOption)
FunctionTable(Schema schema, SessionLocal session, TableFunction function)
TableFilter(SessionLocal session, Table table, java.lang.String alias, boolean rightsChecked, Select select, int orderInFrom, IndexHints indexHints)
Create a new table filter object.TableValueConstructorTable(Schema schema, SessionLocal session, Column[] columns, java.util.ArrayList<java.util.ArrayList<Expression>> rows)
TableView(Schema schema, int id, java.lang.String name, java.lang.String querySQL, java.util.ArrayList<Parameter> params, Column[] columnTemplates, SessionLocal session, boolean allowRecursive, boolean literalsChecked, boolean isTableExpression, boolean isTemporary)
-