Uses of Class
org.h2.engine.SessionLocal
Packages that use SessionLocal
Package
Description
This package contains the parser and the base classes for prepared SQL statements.
Contains DDL (data definition language) and related SQL statements.
Contains DML (data manipulation language) and related SQL statements.
Contains queries.
Database constraints such as check constraints, unique constraints, and referential constraints.
Contains high level classes of the database and classes that don't fit in another sub-package.
Expressions include mathematical operations, simple values, and others.
Aggregate functions.
Base classes for data analysis operations and implementations of window functions.
Condition expressions.
Functions.
Table value functions.
Various table index implementations, as well as cursors to navigate in an index.
Implementation of the JDBC database metadata API (package java.sql).
Utility classes for compatibility with other database, for example MySQL.
Helper classes to use the MVStore in the H2 database.
Implementation of row and internal result sets.
Schema implementation and objects that are stored in a schema (for example, sequences and constants).
Classes related to a table and table meta data.
-
Uses of SessionLocal in org.h2.command
Fields in org.h2.command declared as SessionLocalModifier and TypeFieldDescriptionprotected final SessionLocalCommand.sessionThe session.protected SessionLocalPrepared.sessionThe session.Methods in org.h2.command that return SessionLocalMethods in org.h2.command with parameters of type SessionLocalModifier and TypeMethodDescriptionstatic AlterTableAddConstraintParser.newPrimaryKeyConstraintCommand(SessionLocal session, Schema schema, String tableName, Column column) Create a new alter table command.voidPrepared.setSession(SessionLocal currentSession) Set the session for this statement.Constructors in org.h2.command with parameters of type SessionLocalModifierConstructorDescriptionCommandContainer(SessionLocal session, String sql, Prepared prepared) Parser(SessionLocal session) Creates a new instance of parser.Prepared(SessionLocal session) Create a new object. -
Uses of SessionLocal in org.h2.command.ddl
Fields in org.h2.command.ddl declared as SessionLocalModifier and TypeFieldDescriptionCreateSynonymData.sessionThe session.CreateTableData.sessionThe session.Methods in org.h2.command.ddl with parameters of type SessionLocalModifier and TypeMethodDescriptionstatic voidAnalyze.analyzeTable(SessionLocal session, Table table, int sample, boolean manual) Analyze this table.static voidAlterDomain.forAllDependencies(SessionLocal session, Domain domain, BiPredicate<Domain, Column> columnProcessor, BiPredicate<Domain, Domain> domainProcessor, boolean recompileExpressions) Processes all columns and domains that use the specified domain.SequenceOptions.getCacheSize(SessionLocal session) Gets cache size.SequenceOptions.getIncrement(SessionLocal session) Gets increment value.SequenceOptions.getMaxValue(Sequence sequence, SessionLocal session) Gets max value.SequenceOptions.getMinValue(Sequence sequence, SessionLocal session) Gets min value.SequenceOptions.getRestartValue(SessionLocal session, long startValue) Gets restart value.SequenceOptions.getStartValue(SessionLocal session) Gets start value.Constructors in org.h2.command.ddl with parameters of type SessionLocalModifierConstructorDescriptionAlterDomainAddConstraint(SessionLocal session, Schema schema, boolean ifNotExists) AlterDomainDropConstraint(SessionLocal session, Schema schema, boolean ifConstraintExists) AlterDomainExpressions(SessionLocal session, Schema schema, int type) AlterDomainRename(SessionLocal session, Schema schema) AlterDomainRenameConstraint(SessionLocal session, Schema schema) AlterIndexRename(SessionLocal session) AlterSchemaRename(SessionLocal session) AlterSequence(SessionLocal session, Schema schema) AlterTableAddConstraint(SessionLocal session, Schema schema, int type, boolean ifNotExists) AlterTableAlterColumn(SessionLocal session, Schema schema) AlterTableDropConstraint(SessionLocal session, Schema schema, boolean ifExists) AlterTableRename(SessionLocal session, Schema schema) AlterTableRenameColumn(SessionLocal session, Schema schema) AlterTableRenameConstraint(SessionLocal session, Schema schema) AlterUser(SessionLocal session) AlterView(SessionLocal session) Analyze(SessionLocal session) protectedCommandWithColumns(SessionLocal session, Schema schema) CreateAggregate(SessionLocal session, Schema schema) CreateConstant(SessionLocal session, Schema schema) CreateDomain(SessionLocal session, Schema schema) CreateFunctionAlias(SessionLocal session, Schema schema) CreateIndex(SessionLocal session, Schema schema) CreateLinkedTable(SessionLocal session, Schema schema) CreateRole(SessionLocal session) CreateSchema(SessionLocal session) CreateSequence(SessionLocal session, Schema schema) CreateSynonym(SessionLocal session, Schema schema) CreateTable(SessionLocal session, Schema schema) CreateTrigger(SessionLocal session, Schema schema) CreateUser(SessionLocal session) CreateView(SessionLocal session, Schema schema) DeallocateProcedure(SessionLocal session) DropAggregate(SessionLocal session, Schema schema) DropConstant(SessionLocal session, Schema schema) DropDatabase(SessionLocal session) DropDomain(SessionLocal session, Schema schema) DropFunctionAlias(SessionLocal session, Schema schema) DropIndex(SessionLocal session, Schema schema) DropRole(SessionLocal session) DropSchema(SessionLocal session) DropSequence(SessionLocal session, Schema schema) DropSynonym(SessionLocal session, Schema schema) DropTable(SessionLocal session) DropTrigger(SessionLocal session, Schema schema) DropUser(SessionLocal session) DropView(SessionLocal session, Schema schema) GrantRevoke(SessionLocal session) PrepareProcedure(SessionLocal session) SchemaCommand(SessionLocal session, Schema schema) Create a new command.SetComment(SessionLocal session) TruncateTable(SessionLocal session) -
Uses of SessionLocal in org.h2.command.dml
Constructors in org.h2.command.dml with parameters of type SessionLocalModifierConstructorDescriptionAlterTableSet(SessionLocal session, Schema schema, int type, boolean value) BackupCommand(SessionLocal session) Call(SessionLocal session) protectedCommandWithValues(SessionLocal session) Creates new instance of command with VALUES clause.protectedDataChangeStatement(SessionLocal session) Creates new instance of DataChangeStatement.Delete(SessionLocal session) ExecuteImmediate(SessionLocal session, Expression statement) ExecuteProcedure(SessionLocal session) Explain(SessionLocal session) Help(SessionLocal session, String[] conditions) Insert(SessionLocal session) Merge(SessionLocal session, boolean isReplace) MergeUsing(SessionLocal session, TableFilter targetTableFilter) NoOperation(SessionLocal session) RunScriptCommand(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
Methods in org.h2.command.query with parameters of type SessionLocalModifier and TypeMethodDescriptionstatic SelectGroupsSelectGroups.getInstance(SessionLocal session, ArrayList<Expression> expressions, boolean isGroupQuery, int[] groupIndex) Creates new instance of grouped data.static voidTableValueConstructor.getVisibleResult(SessionLocal session, ResultTarget result, Column[] columns, ArrayList<ArrayList<Expression>> rows) Appends visible columns of all rows to the specified result.abstract voidQuery.updateAggregate(SessionLocal s, int stage) Update all aggregate function values.voidSelect.updateAggregate(SessionLocal s, int stage) voidSelectUnion.updateAggregate(SessionLocal s, int stage) voidTableValueConstructor.updateAggregate(SessionLocal s, int stage) Constructors in org.h2.command.query with parameters of type SessionLocalModifierConstructorDescriptionSelect(SessionLocal session, Select parentSelect) SelectUnion(SessionLocal session, SelectUnion.UnionType unionType, Query query, Query right) TableValueConstructor(SessionLocal session, ArrayList<ArrayList<Expression>> rows) Creates new instance of table value constructor. -
Uses of SessionLocal in org.h2.constraint
Methods in org.h2.constraint with parameters of type SessionLocalModifier and TypeMethodDescriptionvoidConstraintDomain.check(SessionLocal session, Value value) Check the specified value.abstract voidConstraint.checkExistingData(SessionLocal session) Check the existing data.voidConstraintCheck.checkExistingData(SessionLocal session) voidConstraintDomain.checkExistingData(SessionLocal session) voidConstraintReferential.checkExistingData(SessionLocal session) voidConstraintUnique.checkExistingData(SessionLocal session) abstract voidConstraint.checkRow(SessionLocal session, Table t, Row oldRow, Row newRow) Check if this row fulfils the constraint.voidConstraintCheck.checkRow(SessionLocal session, Table t, Row oldRow, Row newRow) voidConstraintDomain.checkRow(SessionLocal session, Table t, Row oldRow, Row newRow) voidConstraintReferential.checkRow(SessionLocal session, Table t, Row oldRow, Row newRow) voidConstraintUnique.checkRow(SessionLocal session, Table t, Row oldRow, Row newRow) ConstraintDomain.getCheckConstraint(SessionLocal session, String columnName) Get the check constraint expression for this column.voidConstraintCheck.removeChildrenAndResources(SessionLocal session) voidConstraintDomain.removeChildrenAndResources(SessionLocal session) voidConstraintReferential.removeChildrenAndResources(SessionLocal session) voidConstraintUnique.removeChildrenAndResources(SessionLocal session) voidConstraintDomain.setExpression(SessionLocal session, Expression expr) Set the expression. -
Uses of SessionLocal in org.h2.engine
Methods in org.h2.engine that return SessionLocalModifier and TypeMethodDescriptionstatic SessionLocalEngine.createSession(ConnectionInfo ci) Open a database connection with the given connection information.Database.getExclusiveSession()Database.getLobSession()Database.getSessions(boolean includingSystemSession) Get all sessions that are currently connected to the database.Database.getSystemSession()Methods in org.h2.engine with parameters of type SessionLocalModifier and TypeMethodDescriptionvoidDatabase.addDatabaseObject(SessionLocal session, DbObject obj) Add an object to the database.voidDatabase.addSchemaObject(SessionLocal session, SchemaObject obj) Add a schema object to the database.Database.getTempTableName(String baseName, SessionLocal session) Get a unique temporary table name.booleanDatabase.isSysTableLockedBy(SessionLocal session) Checks if the system table (containing the catalog) is locked by the given session.booleanDatabase.lockMeta(SessionLocal session) Lock the metadata table for updates.voidComment.removeChildrenAndResources(SessionLocal session) abstract voidDbObject.removeChildrenAndResources(SessionLocal session) Delete all dependent children objects and resources of this object.voidRight.removeChildrenAndResources(SessionLocal session) voidRole.removeChildrenAndResources(SessionLocal session) voidSetting.removeChildrenAndResources(SessionLocal session) voidUser.removeChildrenAndResources(SessionLocal session) voidDatabase.removeDatabaseObject(SessionLocal session, DbObject obj) Remove the object from the database.voidDatabase.removeMeta(SessionLocal session, int id) Remove the given object from the meta data.voidDatabase.removeSchemaObject(SessionLocal session, SchemaObject obj) Remove an object from the system table.voidDatabase.removeSession(SessionLocal session) Remove a session.voidDatabase.renameDatabaseObject(SessionLocal session, DbObject obj, String newName) Rename a database object.voidDatabase.renameSchemaObject(SessionLocal session, SchemaObject obj, String newName) Rename a schema object.booleanDatabase.setExclusiveSession(SessionLocal session, boolean closeOthers) Set the session that can exclusively access the database.voidDatabase.unlockMeta(SessionLocal session) Unlock the metadata table.booleanDatabase.unsetExclusiveSession(SessionLocal session) Stop exclusive access the database by provided session.voidDatabase.updateMeta(SessionLocal session, DbObject obj) Update an object in the system table.voidDatabase.verifyMetaLocked(SessionLocal session) Verify the meta table is locked. -
Uses of SessionLocal in org.h2.expression
Methods in org.h2.expression with parameters of type SessionLocalModifier and TypeMethodDescriptionvoidExpression.createIndexConditions(SessionLocal session, TableFilter filter) Create index conditions if possible and attach them to the table filter.voidExpressionColumn.createIndexConditions(SessionLocal session, TableFilter filter) voidValueExpression.createIndexConditions(SessionLocal session, TableFilter filter) Alias.getAlias(SessionLocal session, int columnIndex) Expression.getAlias(SessionLocal session, int columnIndex) Get the alias name of a column or SQL expression if it is not an aliased expression.ExpressionColumn.getAlias(SessionLocal session, int columnIndex) Subquery.getAllRows(SessionLocal session) Evaluates and returns all rows of the subquery.booleanExpression.getBooleanValue(SessionLocal session) Get the value in form of a boolean expression.Alias.getColumnName(SessionLocal session, int columnIndex) Expression.getColumnName(SessionLocal session, int columnIndex) Get the column name or alias name of this expression.ExpressionColumn.getColumnName(SessionLocal session, int columnIndex) Format.getColumnName(SessionLocal session, int columnIndex) Alias.getColumnNameForView(SessionLocal session, int columnIndex) Expression.getColumnNameForView(SessionLocal session, int columnIndex) Get the column name of this expression for a view.ExpressionColumn.getColumnNameForView(SessionLocal session, int columnIndex) Expression.getNotIfPossible(SessionLocal session) If it is possible, return the negated expression.ExpressionColumn.getNotIfPossible(SessionLocal session) Parameter.getNotIfPossible(SessionLocal session) ValueExpression.getNotIfPossible(SessionLocal session) Alias.getValue(SessionLocal session) ArrayConstructorByQuery.getValue(SessionLocal session) ArrayElementReference.getValue(SessionLocal session) BinaryOperation.getValue(SessionLocal session) CompatibilityDatePlusTimeOperation.getValue(SessionLocal session) ConcatenationOperation.getValue(SessionLocal session) DomainValueExpression.getValue(SessionLocal session) abstract ValueExpression.getValue(SessionLocal session) Return the resulting value for the current row.ExpressionColumn.getValue(SessionLocal session) ExpressionList.getValue(SessionLocal session) FieldReference.getValue(SessionLocal session) Format.getValue(SessionLocal session) IntervalOperation.getValue(SessionLocal session) Parameter.getValue(SessionLocal session) Rownum.getValue(SessionLocal session) SearchedCase.getValue(SessionLocal session) SequenceValue.getValue(SessionLocal session) SimpleCase.getValue(SessionLocal session) Subquery.getValue(SessionLocal session) TimeZoneOperation.getValue(SessionLocal session) UnaryOperation.getValue(SessionLocal session) ValueExpression.getValue(SessionLocal session) Variable.getValue(SessionLocal session) Wildcard.getValue(SessionLocal session) booleanExpression.getWhenValue(SessionLocal session, Value left) Return the resulting value of when operand for the current row.Alias.optimize(SessionLocal session) ArrayConstructorByQuery.optimize(SessionLocal session) ArrayElementReference.optimize(SessionLocal session) BinaryOperation.optimize(SessionLocal session) CompatibilityDatePlusTimeOperation.optimize(SessionLocal session) ConcatenationOperation.optimize(SessionLocal session) DomainValueExpression.optimize(SessionLocal session) abstract ExpressionExpression.optimize(SessionLocal session) Try to optimize the expression.ExpressionColumn.optimize(SessionLocal session) ExpressionList.optimize(SessionLocal session) FieldReference.optimize(SessionLocal session) Format.optimize(SessionLocal session) IntervalOperation.optimize(SessionLocal session) Operation0.optimize(SessionLocal session) Parameter.optimize(SessionLocal session) Rownum.optimize(SessionLocal session) SearchedCase.optimize(SessionLocal session) SimpleCase.optimize(SessionLocal session) Subquery.optimize(SessionLocal session) TimeZoneOperation.optimize(SessionLocal session) UnaryOperation.optimize(SessionLocal session) Wildcard.optimize(SessionLocal session) protected booleanOperationN.optimizeArguments(SessionLocal session, boolean allConst) Optimizes arguments.final ExpressionExpression.optimizeCondition(SessionLocal session) Try to optimize or remove the condition.voidAlias.updateAggregate(SessionLocal session, int stage) voidArrayConstructorByQuery.updateAggregate(SessionLocal session, int stage) abstract voidExpression.updateAggregate(SessionLocal session, int stage) Update an aggregate value.voidExpressionColumn.updateAggregate(SessionLocal session, int stage) voidExpressionList.updateAggregate(SessionLocal session, int stage) voidOperation0.updateAggregate(SessionLocal session, int stage) voidOperation1_2.updateAggregate(SessionLocal session, int stage) voidOperation1.updateAggregate(SessionLocal session, int stage) voidOperation2.updateAggregate(SessionLocal session, int stage) voidOperationN.updateAggregate(SessionLocal session, int stage) voidSimpleCase.updateAggregate(SessionLocal session, int stage) voidSubquery.updateAggregate(SessionLocal session, int stage) voidWildcard.updateAggregate(SessionLocal session, int stage) Constructors in org.h2.expression with parameters of type SessionLocal -
Uses of SessionLocal in org.h2.expression.aggregate
Methods in org.h2.expression.aggregate with parameters of type SessionLocalModifier and TypeMethodDescriptionAggregate.getAggregatedValue(SessionLocal session, Object aggregateData) JavaAggregate.getAggregatedValue(SessionLocal session, Object aggregateData) protected voidAbstractAggregate.getOrderedResultLoop(SessionLocal session, HashMap<Integer, Value> result, ArrayList<Value[]> ordered, int rowIdColumn) Aggregate.getValue(SessionLocal session) AbstractAggregate.optimize(SessionLocal session) Aggregate.optimize(SessionLocal session) JavaAggregate.optimize(SessionLocal session) protected voidAggregate.rememberExpressions(SessionLocal session, Value[] array) protected voidJavaAggregate.rememberExpressions(SessionLocal session, Value[] array) protected abstract voidAbstractAggregate.updateAggregate(SessionLocal session, Object aggregateData) Updates an aggregate value.protected voidAbstractAggregate.updateAggregate(SessionLocal session, SelectGroups groupData, int groupRowId) protected voidAggregate.updateAggregate(SessionLocal session, Object aggregateData) protected voidJavaAggregate.updateAggregate(SessionLocal session, Object aggregateData) protected abstract voidAbstractAggregate.updateFromExpressions(SessionLocal session, Object aggregateData, Value[] array) Updates the provided aggregate data from the remembered expressions.protected voidAggregate.updateFromExpressions(SessionLocal session, Object aggregateData, Value[] array) protected voidJavaAggregate.updateFromExpressions(SessionLocal session, Object aggregateData, Value[] array) protected voidAbstractAggregate.updateGroupAggregates(SessionLocal session, int stage) protected voidAggregate.updateGroupAggregates(SessionLocal session, int stage) protected voidJavaAggregate.updateGroupAggregates(SessionLocal session, int stage) -
Uses of SessionLocal in org.h2.expression.analysis
Methods in org.h2.expression.analysis with parameters of type SessionLocalModifier and TypeMethodDescriptionprotected static SortOrderDataAnalysisOperation.createOrder(SessionLocal session, ArrayList<QueryOrderBy> orderBy, int offset) Create sort order.protected abstract ValueDataAnalysisOperation.getAggregatedValue(SessionLocal session, Object aggregateData) Returns aggregated value.protected ValueWindowFunction.getAggregatedValue(SessionLocal session, Object aggregateData) Window.getCurrentKey(SessionLocal session) Returns the key for the current group.static intWindowFrame.getEndIndex(Window over, SessionLocal session, ArrayList<Value[]> orderedRows, SortOrder sortOrder, int currentRow) Returns end index for the specified frame, or default end index if frame is null.protected abstract voidDataAnalysisOperation.getOrderedResultLoop(SessionLocal session, HashMap<Integer, Value> result, ArrayList<Value[]> ordered, int rowIdColumn) Returns result of this window function or window aggregate.protected voidWindowFunction.getOrderedResultLoop(SessionLocal session, HashMap<Integer, Value> result, ArrayList<Value[]> ordered, int rowIdColumn) intWindowFrame.getStartIndex(SessionLocal session, ArrayList<Value[]> orderedRows, SortOrder sortOrder, int currentRow) Returns start index of this frame,DataAnalysisOperation.getValue(SessionLocal session) protected ObjectDataAnalysisOperation.getWindowData(SessionLocal session, SelectGroups groupData, boolean forOrderBy) Get the aggregate data for a window clause.WindowFrame.iterator(SessionLocal session, ArrayList<Value[]> orderedRows, SortOrder sortOrder, int currentRow, boolean reverse) Returns iterator.WindowFrame.iterator(Window over, SessionLocal session, ArrayList<Value[]> orderedRows, SortOrder sortOrder, int currentRow, boolean reverse) Returns iterator for the specified frame, or default iterator if frame is null.DataAnalysisOperation.optimize(SessionLocal session) voidWindow.optimize(SessionLocal session) Try to optimize the window conditions.WindowFunction.optimize(SessionLocal session) protected abstract voidDataAnalysisOperation.rememberExpressions(SessionLocal session, Value[] array) Stores current values of expressions into the specified array.protected voidWindowFunction.rememberExpressions(SessionLocal session, Value[] array) final voidDataAnalysisOperation.updateAggregate(SessionLocal session, int stage) protected abstract voidDataAnalysisOperation.updateAggregate(SessionLocal session, SelectGroups groupData, int groupRowId) Update a row of an aggregate.voidWindow.updateAggregate(SessionLocal session, int stage) Update an aggregate value.protected voidWindowFunction.updateAggregate(SessionLocal session, SelectGroups groupData, int groupRowId) protected voidDataAnalysisOperation.updateGroupAggregates(SessionLocal session, int stage) Invoked when processing group stage of grouped window queries to update arguments of this aggregate.protected voidWindowFunction.updateGroupAggregates(SessionLocal session, int stage) protected voidDataAnalysisOperation.updateOrderedAggregate(SessionLocal session, SelectGroups groupData, int groupRowId, ArrayList<QueryOrderBy> orderBy) Update a row of an ordered aggregate. -
Uses of SessionLocal in org.h2.expression.condition
Methods in org.h2.expression.condition with parameters of type SessionLocalModifier and TypeMethodDescriptionvoidBetweenPredicate.createIndexConditions(SessionLocal session, TableFilter filter) voidBooleanTest.createIndexConditions(SessionLocal session, TableFilter filter) voidCompareLike.createIndexConditions(SessionLocal session, TableFilter filter) voidComparison.createIndexConditions(SessionLocal session, TableFilter filter) voidConditionAndOr.createIndexConditions(SessionLocal session, TableFilter filter) voidConditionAndOrN.createIndexConditions(SessionLocal session, TableFilter filter) voidConditionIn.createIndexConditions(SessionLocal session, TableFilter filter) voidConditionInConstantSet.createIndexConditions(SessionLocal session, TableFilter filter) voidConditionInParameter.createIndexConditions(SessionLocal session, TableFilter filter) voidConditionInQuery.createIndexConditions(SessionLocal session, TableFilter filter) voidConditionLocalAndGlobal.createIndexConditions(SessionLocal session, TableFilter filter) voidNullPredicate.createIndexConditions(SessionLocal session, TableFilter filter) BetweenPredicate.getNotIfPossible(SessionLocal session) BooleanTest.getNotIfPossible(SessionLocal session) CompareLike.getNotIfPossible(SessionLocal session) Comparison.getNotIfPossible(SessionLocal session) ConditionAndOr.getNotIfPossible(SessionLocal session) ConditionAndOrN.getNotIfPossible(SessionLocal session) ConditionIn.getNotIfPossible(SessionLocal session) ConditionInConstantSet.getNotIfPossible(SessionLocal session) ConditionInParameter.getNotIfPossible(SessionLocal session) ConditionInQuery.getNotIfPossible(SessionLocal session) ConditionNot.getNotIfPossible(SessionLocal session) IsJsonPredicate.getNotIfPossible(SessionLocal session) NullPredicate.getNotIfPossible(SessionLocal session) TypePredicate.getNotIfPossible(SessionLocal session) BetweenPredicate.getValue(SessionLocal session) BooleanTest.getValue(SessionLocal session) CompareLike.getValue(SessionLocal session) Comparison.getValue(SessionLocal session) ConditionAndOr.getValue(SessionLocal session) ConditionAndOrN.getValue(SessionLocal session) ConditionIn.getValue(SessionLocal session) ConditionInConstantSet.getValue(SessionLocal session) ConditionInParameter.getValue(SessionLocal session) ConditionInQuery.getValue(SessionLocal session) ConditionLocalAndGlobal.getValue(SessionLocal session) ConditionNot.getValue(SessionLocal session) ExistsPredicate.getValue(SessionLocal session) IsJsonPredicate.getValue(SessionLocal session) NullPredicate.getValue(SessionLocal session) TypePredicate.getValue(SessionLocal session) UniquePredicate.getValue(SessionLocal session) booleanBetweenPredicate.getWhenValue(SessionLocal session, Value left) booleanBooleanTest.getWhenValue(SessionLocal session, Value left) booleanCompareLike.getWhenValue(SessionLocal session, Value left) booleanComparison.getWhenValue(SessionLocal session, Value left) booleanConditionIn.getWhenValue(SessionLocal session, Value left) booleanConditionInConstantSet.getWhenValue(SessionLocal session, Value left) booleanConditionInParameter.getWhenValue(SessionLocal session, Value left) booleanConditionInQuery.getWhenValue(SessionLocal session, Value left) booleanIsJsonPredicate.getWhenValue(SessionLocal session, Value left) booleanNullPredicate.getWhenValue(SessionLocal session, Value left) booleanTypePredicate.getWhenValue(SessionLocal session, Value left) BetweenPredicate.optimize(SessionLocal session) CompareLike.optimize(SessionLocal session) Comparison.optimize(SessionLocal session) ConditionAndOr.optimize(SessionLocal session) ConditionAndOrN.optimize(SessionLocal session) ConditionIn.optimize(SessionLocal session) ConditionInConstantSet.optimize(SessionLocal session) ConditionInParameter.optimize(SessionLocal session) ConditionInQuery.optimize(SessionLocal session) ConditionLocalAndGlobal.optimize(SessionLocal session) ConditionNot.optimize(SessionLocal session) IsJsonPredicate.optimize(SessionLocal session) NullPredicate.optimize(SessionLocal session) SimplePredicate.optimize(SessionLocal session) TypePredicate.optimize(SessionLocal session) UniquePredicate.optimize(SessionLocal session) voidBetweenPredicate.updateAggregate(SessionLocal session, int stage) voidCompareLike.updateAggregate(SessionLocal session, int stage) voidComparison.updateAggregate(SessionLocal session, int stage) voidConditionAndOr.updateAggregate(SessionLocal session, int stage) voidConditionAndOrN.updateAggregate(SessionLocal session, int stage) voidConditionIn.updateAggregate(SessionLocal session, int stage) voidConditionInConstantSet.updateAggregate(SessionLocal session, int stage) voidConditionInParameter.updateAggregate(SessionLocal session, int stage) voidConditionInQuery.updateAggregate(SessionLocal session, int stage) voidConditionLocalAndGlobal.updateAggregate(SessionLocal session, int stage) voidConditionNot.updateAggregate(SessionLocal session, int stage) voidIsJsonPredicate.updateAggregate(SessionLocal session, int stage) voidSimplePredicate.updateAggregate(SessionLocal session, int stage) -
Uses of SessionLocal in org.h2.expression.function
Methods in org.h2.expression.function with parameters of type SessionLocalModifier and TypeMethodDescriptionstatic ValueDateTimeFunction.dateadd(SessionLocal session, int field, long count, Value v) DATEADD function.static StringDateTimeFormatFunction.formatDateTime(SessionLocal session, Value date, String format, String locale, String timeZone) Formats a date using a format string.ArrayFunction.getValue(SessionLocal session) BitFunction.getValue(SessionLocal session, Value v1, Value v2) CardinalityExpression.getValue(SessionLocal session) CastSpecification.getValue(SessionLocal session) CoalesceFunction.getValue(SessionLocal session) CompatibilitySequenceValueFunction.getValue(SessionLocal session, Value v1, Value v2) CompressFunction.getValue(SessionLocal session, Value v1, Value v2) ConcatFunction.getValue(SessionLocal session) CryptFunction.getValue(SessionLocal session, Value v1, Value v2, Value v3) CSVWriteFunction.getValue(SessionLocal session) CurrentDateTimeValueFunction.getValue(SessionLocal session) CurrentGeneralValueSpecification.getValue(SessionLocal session) DataTypeSQLFunction.getValue(SessionLocal session, Value v1, Value v2, Value v3) DateTimeFormatFunction.getValue(SessionLocal session, Value v1, Value v2, Value v3) DateTimeFunction.getValue(SessionLocal session, Value v1, Value v2) DayMonthNameFunction.getValue(SessionLocal session) DBObjectFunction.getValue(SessionLocal session, Value v1, Value v2, Value v3) FileFunction.getValue(SessionLocal session) Function1_2.getValue(SessionLocal session) protected ValueFunction1_2.getValue(SessionLocal session, Value v1, Value v2) Returns the value of this function.Function2.getValue(SessionLocal session) protected ValueFunction2.getValue(SessionLocal session, Value v1, Value v2) Returns the value of this function.FunctionN.getValue(SessionLocal session) protected ValueFunctionN.getValue(SessionLocal session, Value v1, Value v2, Value v3) Returns the value of this function.HashFunction.getValue(SessionLocal session, Value v1, Value v2, Value v3) JavaFunction.getValue(SessionLocal session) JsonConstructorFunction.getValue(SessionLocal session) LengthFunction.getValue(SessionLocal session) MathFunction.getValue(SessionLocal session, Value v1, Value v2) MathFunction1.getValue(SessionLocal session) MathFunction2.getValue(SessionLocal session, Value v1, Value v2) NullIfFunction.getValue(SessionLocal session) RandFunction.getValue(SessionLocal session) RegexpFunction.getValue(SessionLocal session) SessionControlFunction.getValue(SessionLocal session) SetFunction.getValue(SessionLocal session) SignalFunction.getValue(SessionLocal session, Value v1, Value v2) SoundexFunction.getValue(SessionLocal session, Value v1, Value v2) StringFunction.getValue(SessionLocal session) StringFunction1.getValue(SessionLocal session) StringFunction2.getValue(SessionLocal session, Value v1, Value v2) SubstringFunction.getValue(SessionLocal session, Value v1, Value v2, Value v3) SysInfoFunction.getValue(SessionLocal session) TableInfoFunction.getValue(SessionLocal session, Value v1, Value v2) ToCharFunction.getValue(SessionLocal session, Value v1, Value v2, Value v3) TrimFunction.getValue(SessionLocal session, Value v1, Value v2) TruncateValueFunction.getValue(SessionLocal session, Value v1, Value v2, Value v3) XMLFunction.getValue(SessionLocal session) protected ValueXMLFunction.getValue(SessionLocal session, Value v1, Value v2, Value v3) ArrayFunction.optimize(SessionLocal session) BitFunction.optimize(SessionLocal session) CardinalityExpression.optimize(SessionLocal session) CastSpecification.optimize(SessionLocal session) CoalesceFunction.optimize(SessionLocal session) CompatibilitySequenceValueFunction.optimize(SessionLocal session) CompressFunction.optimize(SessionLocal session) ConcatFunction.optimize(SessionLocal session) CryptFunction.optimize(SessionLocal session) CSVWriteFunction.optimize(SessionLocal session) DataTypeSQLFunction.optimize(SessionLocal session) DateTimeFormatFunction.optimize(SessionLocal session) DateTimeFunction.optimize(SessionLocal session) DayMonthNameFunction.optimize(SessionLocal session) DBObjectFunction.optimize(SessionLocal session) FileFunction.optimize(SessionLocal session) HashFunction.optimize(SessionLocal session) JavaFunction.optimize(SessionLocal session) JsonConstructorFunction.optimize(SessionLocal session) LengthFunction.optimize(SessionLocal session) MathFunction.optimize(SessionLocal session) MathFunction1.optimize(SessionLocal session) MathFunction2.optimize(SessionLocal session) NullIfFunction.optimize(SessionLocal session) RandFunction.optimize(SessionLocal session) RegexpFunction.optimize(SessionLocal session) SessionControlFunction.optimize(SessionLocal session) SetFunction.optimize(SessionLocal session) SignalFunction.optimize(SessionLocal session) SoundexFunction.optimize(SessionLocal session) StringFunction.optimize(SessionLocal session) StringFunction1.optimize(SessionLocal session) StringFunction2.optimize(SessionLocal session) SubstringFunction.optimize(SessionLocal session) TableInfoFunction.optimize(SessionLocal session) ToCharFunction.optimize(SessionLocal session) TrimFunction.optimize(SessionLocal session) TruncateValueFunction.optimize(SessionLocal session) XMLFunction.optimize(SessionLocal session) static ValueTimestampTimeZoneDateTimeFormatFunction.parseDateTime(SessionLocal session, String date, String format, String locale, String timeZone) Parses a date using a format string.static StringToCharFunction.toCharDateTime(SessionLocal session, Value value, String format, String nlsParam) Emulates Oracle's TO_CHAR(datetime) function.voidFunction0_1.updateAggregate(SessionLocal session, int stage) voidJavaFunction.updateAggregate(SessionLocal session, int stage) -
Uses of SessionLocal in org.h2.expression.function.table
Methods in org.h2.expression.function.table with parameters of type SessionLocalModifier and TypeMethodDescriptionArrayTableFunction.getValue(SessionLocal session) CSVReadFunction.getValue(SessionLocal session) JavaTableFunction.getValue(SessionLocal session) LinkSchemaFunction.getValue(SessionLocal session) abstract ResultInterfaceTableFunction.getValue(SessionLocal session) Get a result with.ArrayTableFunction.getValueTemplate(SessionLocal session) CSVReadFunction.getValueTemplate(SessionLocal session) JavaTableFunction.getValueTemplate(SessionLocal session) LinkSchemaFunction.getValueTemplate(SessionLocal session) abstract ResultInterfaceTableFunction.getValueTemplate(SessionLocal session) Get an empty result with the column names set.voidArrayTableFunction.optimize(SessionLocal session) voidCSVReadFunction.optimize(SessionLocal session) voidJavaTableFunction.optimize(SessionLocal session) voidLinkSchemaFunction.optimize(SessionLocal session) voidTableFunction.optimize(SessionLocal session) Try to optimize this table function -
Uses of SessionLocal in org.h2.index
Methods in org.h2.index that return SessionLocalMethods in org.h2.index with parameters of type SessionLocalModifier and TypeMethodDescriptionabstract voidIndex.add(SessionLocal session, Row row) Add a row to the index.voidLinkedIndex.add(SessionLocal session, Row row) voidMetaIndex.add(SessionLocal session, Row row) voidViewIndex.add(SessionLocal session, Row row) voidVirtualTableIndex.add(SessionLocal session, Row row) abstract voidIndex.close(SessionLocal session) Close this index.voidLinkedIndex.close(SessionLocal session) voidMetaIndex.close(SessionLocal session) voidViewIndex.close(SessionLocal session) voidVirtualTableIndex.close(SessionLocal session) DualIndex.find(SessionLocal session, SearchRow first, SearchRow last) abstract CursorIndex.find(SessionLocal session, SearchRow first, SearchRow last) Find a row or a list of rows and create a cursor to iterate over the result.voidIndexCursor.find(SessionLocal s, ArrayList<IndexCondition> indexConditions) Re-evaluate the start and end values of the index search for rows.LinkedIndex.find(SessionLocal session, SearchRow first, SearchRow last) MetaIndex.find(SessionLocal session, SearchRow first, SearchRow last) RangeIndex.find(SessionLocal session, SearchRow first, SearchRow last) ViewIndex.find(SessionLocal session, SearchRow first, SearchRow last) VirtualConstructedTableIndex.find(SessionLocal session, SearchRow first, SearchRow last) SpatialIndex.findByGeometry(SessionLocal session, SearchRow first, SearchRow last, SearchRow intersection) Find a row or a list of rows and create a cursor to iterate over the result.ViewIndex.findByGeometry(SessionLocal session, SearchRow first, SearchRow last, SearchRow intersection) DualIndex.findFirstOrLast(SessionLocal session, boolean first) Index.findFirstOrLast(SessionLocal session, boolean first) Find the first (or last) value of this index.RangeIndex.findFirstOrLast(SessionLocal session, boolean first) Index.findNext(SessionLocal session, SearchRow higherThan, SearchRow last) Find a row or a list of rows that is larger and create a cursor to iterate over the result.doubleDualIndex.getCost(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet) abstract doubleIndex.getCost(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet) Estimate the cost to search for rows given the search mask.doubleLinkedIndex.getCost(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet) doubleMetaIndex.getCost(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet) doubleRangeIndex.getCost(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet) doubleViewIndex.getCost(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet) doubleVirtualConstructedTableIndex.getCost(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet) IndexCondition.getCurrentValue(SessionLocal session) Get the current value of the expression.Value[]IndexCondition.getCurrentValueList(SessionLocal session) Get the current value list of the expression.Index.getRow(SessionLocal session, long key) Get the row with the given key.abstract longIndex.getRowCount(SessionLocal session) Get the row count of this table, for the given session.longLinkedIndex.getRowCount(SessionLocal session) longMetaIndex.getRowCount(SessionLocal session) longViewIndex.getRowCount(SessionLocal session) longVirtualTableIndex.getRowCount(SessionLocal session) abstract longIndex.getRowCountApproximation(SessionLocal session) Get the approximated row count for this table.longLinkedIndex.getRowCountApproximation(SessionLocal session) longMetaIndex.getRowCountApproximation(SessionLocal session) longViewIndex.getRowCountApproximation(SessionLocal session) longVirtualTableIndex.getRowCountApproximation(SessionLocal session) voidIndexCursor.prepare(SessionLocal s, ArrayList<IndexCondition> indexConditions) Prepare this index cursor to make a lookup in index.abstract voidIndex.remove(SessionLocal session) Remove the index.abstract voidIndex.remove(SessionLocal session, Row row) Remove a row from the index.voidLinkedIndex.remove(SessionLocal session) voidLinkedIndex.remove(SessionLocal session, Row row) voidMetaIndex.remove(SessionLocal session) voidMetaIndex.remove(SessionLocal session, Row row) voidViewIndex.remove(SessionLocal session) voidViewIndex.remove(SessionLocal session, Row row) voidVirtualTableIndex.remove(SessionLocal session) voidVirtualTableIndex.remove(SessionLocal session, Row row) voidIndex.removeChildrenAndResources(SessionLocal session) voidViewIndex.setupQueryParameters(SessionLocal session, SearchRow first, SearchRow last, SearchRow intersection) Set the query parameters.abstract voidIndex.truncate(SessionLocal session) Remove all rows from the index.voidLinkedIndex.truncate(SessionLocal session) voidMetaIndex.truncate(SessionLocal session) voidViewIndex.truncate(SessionLocal session) voidVirtualTableIndex.truncate(SessionLocal session) voidIndex.update(SessionLocal session, Row oldRow, Row newRow) Update index after row change.voidLinkedIndex.update(Row oldRow, Row newRow, SessionLocal session) Update a row using a UPDATE statement.Constructors in org.h2.index with parameters of type SessionLocalModifierConstructorDescriptionViewIndex(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
Methods in org.h2.jdbc.meta with parameters of type SessionLocalModifier and TypeMethodDescriptionstatic ResultInterfaceDatabaseMetaServer.process(SessionLocal session, int code, Value[] args) Process a database meta data request.Constructors in org.h2.jdbc.meta with parameters of type SessionLocal -
Uses of SessionLocal in org.h2.mode
Methods in org.h2.mode with parameters of type SessionLocalModifier and TypeMethodDescriptionPgCatalogTable.generateRows(SessionLocal session, SearchRow first, SearchRow last) PgCatalogSchema.getMap(SessionLocal session) FunctionsDB2Derby.getValue(SessionLocal session) FunctionsLegacy.getValue(SessionLocal session) FunctionsMSSQLServer.getValue(SessionLocal session) FunctionsMySQL.getValue(SessionLocal session) FunctionsOracle.getValue(SessionLocal session) FunctionsPostgreSQL.getValue(SessionLocal session) OnDuplicateKeyValues.getValue(SessionLocal session) Regclass.getValue(SessionLocal session) FunctionsDB2Derby.optimize(SessionLocal session) FunctionsLegacy.optimize(SessionLocal session) FunctionsMSSQLServer.optimize(SessionLocal session) FunctionsMySQL.optimize(SessionLocal session) FunctionsOracle.optimize(SessionLocal session) FunctionsPostgreSQL.optimize(SessionLocal session) Regclass.optimize(SessionLocal session) static ValueTimestampToDateParser.toDate(SessionLocal session, String input, String format) Parse a string as a date with the given format.static ValueTimestampToDateParser.toTimestamp(SessionLocal session, String input, String format) Parse a string as a timestamp with the given format.static ValueTimestampTimeZoneToDateParser.toTimestampTz(SessionLocal session, String input, String format) Parse a string as a timestamp with the given format.static intFunctionsMySQL.unixTimestamp(SessionLocal session, Value value) Get the seconds since 1970-01-01 00:00:00 UTC of the given timestamp. -
Uses of SessionLocal in org.h2.mvstore.db
Methods in org.h2.mvstore.db that return types with arguments of type SessionLocalModifier and TypeMethodDescriptionMVTable.checkDeadlock(SessionLocal session, SessionLocal clash, Set<SessionLocal> visited) Methods in org.h2.mvstore.db with parameters of type SessionLocalModifier and TypeMethodDescriptionvoidMVDelegateIndex.add(SessionLocal session, Row row) voidMVPrimaryIndex.add(SessionLocal session, Row row) voidMVSecondaryIndex.add(SessionLocal session, Row row) voidMVSpatialIndex.add(SessionLocal session, Row row) MVTable.addIndex(SessionLocal session, String indexName, int indexId, IndexColumn[] cols, int uniqueColumnCount, IndexType indexType, boolean create, String indexComment) voidMVTable.addRow(SessionLocal session, Row row) booleanMVTable.canGetRowCount(SessionLocal session) MVTable.checkDeadlock(SessionLocal session, SessionLocal clash, Set<SessionLocal> visited) voidMVDelegateIndex.close(SessionLocal session) voidMVPrimaryIndex.close(SessionLocal session) voidMVSecondaryIndex.close(SessionLocal session) voidMVSpatialIndex.close(SessionLocal session) voidMVTable.close(SessionLocal session) MVDelegateIndex.find(SessionLocal session, SearchRow first, SearchRow last) MVPrimaryIndex.find(SessionLocal session, SearchRow first, SearchRow last) MVSecondaryIndex.find(SessionLocal session, SearchRow first, SearchRow last) MVSpatialIndex.find(SessionLocal session, SearchRow first, SearchRow last) MVSpatialIndex.findByGeometry(SessionLocal session, SearchRow first, SearchRow last, SearchRow intersection) MVDelegateIndex.findFirstOrLast(SessionLocal session, boolean first) MVPrimaryIndex.findFirstOrLast(SessionLocal session, boolean first) MVSecondaryIndex.findFirstOrLast(SessionLocal session, boolean first) MVSecondaryIndex.findNext(SessionLocal session, SearchRow higherThan, SearchRow last) MVSpatialIndex.getBounds(SessionLocal session) Returns the minimum bounding box that encloses all keys.doubleMVDelegateIndex.getCost(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet) doubleMVPrimaryIndex.getCost(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet) doubleMVSecondaryIndex.getCost(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet) doubleMVSpatialIndex.getCost(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet) MVSpatialIndex.getEstimatedBounds(SessionLocal session) Returns the estimated minimum bounding box that encloses all keys.MVDelegateIndex.getRow(SessionLocal session, long key) MVPrimaryIndex.getRow(SessionLocal session, long key) MVTable.getRow(SessionLocal session, long key) longMVDelegateIndex.getRowCount(SessionLocal session) longMVPrimaryIndex.getRowCount(SessionLocal session) longMVSecondaryIndex.getRowCount(SessionLocal session) longMVSpatialIndex.getRowCount(SessionLocal session) longMVTable.getRowCount(SessionLocal session) longMVDelegateIndex.getRowCountApproximation(SessionLocal session) longMVPrimaryIndex.getRowCountApproximation(SessionLocal session) longMVSecondaryIndex.getRowCountApproximation(SessionLocal session) longMVSpatialIndex.getRowCountApproximation(SessionLocal session) longMVTable.getRowCountApproximation(SessionLocal session) MVTable.getScanIndex(SessionLocal session) booleanMVTable.isLockedExclusivelyBy(SessionLocal session) booleanMVTable.lock(SessionLocal session, int lockType) MVTable.lockRow(SessionLocal session, Row row) voidStore.prepareCommit(SessionLocal session, String transactionName) Prepare a transaction.voidMVDelegateIndex.remove(SessionLocal session) voidMVDelegateIndex.remove(SessionLocal session, Row row) voidMVPrimaryIndex.remove(SessionLocal session) voidMVPrimaryIndex.remove(SessionLocal session, Row row) voidMVSecondaryIndex.remove(SessionLocal session) voidMVSecondaryIndex.remove(SessionLocal session, Row row) voidMVSpatialIndex.remove(SessionLocal session) voidMVSpatialIndex.remove(SessionLocal session, Row row) voidMVTable.removeChildrenAndResources(SessionLocal session) voidMVTable.removeRow(SessionLocal session, Row row) voidMVDelegateIndex.truncate(SessionLocal session) voidMVPrimaryIndex.truncate(SessionLocal session) voidMVSecondaryIndex.truncate(SessionLocal session) voidMVSpatialIndex.truncate(SessionLocal session) longMVTable.truncate(SessionLocal session) voidMVTable.unlock(SessionLocal s) voidMVDelegateIndex.update(SessionLocal session, Row oldRow, Row newRow) voidMVPrimaryIndex.update(SessionLocal session, Row oldRow, Row newRow) voidMVSecondaryIndex.update(SessionLocal session, Row oldRow, Row newRow) voidMVTable.updateRow(SessionLocal session, Row oldRow, Row newRow) Method parameters in org.h2.mvstore.db with type arguments of type SessionLocalModifier and TypeMethodDescriptionMVTable.checkDeadlock(SessionLocal session, SessionLocal clash, Set<SessionLocal> visited) -
Uses of SessionLocal in org.h2.result
Methods in org.h2.result with parameters of type SessionLocalModifier and TypeMethodDescriptionstatic LocalResultLocalResult.forTable(SessionLocal session, Table table) Constructs a new local result object for the specified table.Constructors in org.h2.result with parameters of type SessionLocalModifierConstructorDescriptionLazyResult(SessionLocal session, Expression[] expressions) LocalResult(SessionLocal session, Expression[] expressions, int visibleColumnCount, int resultColumnCount) Construct a local result object.SortOrder(SessionLocal session, int[] queryColumnIndexes) Construct a new sort order object with default sort directions.SortOrder(SessionLocal session, int[] queryColumnIndexes, int[] sortType, ArrayList<QueryOrderBy> orderList) Construct a new sort order object. -
Uses of SessionLocal in org.h2.schema
Methods in org.h2.schema with parameters of type SessionLocalModifier and TypeMethodDescriptionvoidDomain.checkConstraints(SessionLocal session, Value value) Check the specified value.Schema.findConstraint(SessionLocal session, String name) Try to find a constraint with this name.Schema.findIndex(SessionLocal session, String name) Try to find an index with this name.MetaSchema.findTableOrView(SessionLocal session, String name) Schema.findTableOrView(SessionLocal session, String name) Try to find a table or view with this name.voidTriggerObject.fire(SessionLocal session, int type, boolean beforeAction) Call the trigger class if required.booleanTriggerObject.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.voidSequence.flush(SessionLocal session) Flush the current value, including the margin, to disk.MetaSchema.getAllTablesAndViews(SessionLocal session) Schema.getAllTablesAndViews(SessionLocal session) Get all tables and views.InformationSchema.getMap(SessionLocal session) MetaSchema.getMap(SessionLocal session) Returns map of tables in this schema.Sequence.getNext(SessionLocal session) Get the next value for this sequence.MetaSchema.getTableOrView(SessionLocal session, String name) Schema.getTableOrView(SessionLocal session, String name) Get the table or view with the given name.MetaSchema.getTableOrViewByName(SessionLocal session, String name) Schema.getTableOrViewByName(SessionLocal session, String name) Get the table with the given name, if any.FunctionAlias.JavaMethod.getTableValue(SessionLocal session, Expression[] args, boolean columnList) Call the table user-defined function and return the value.Schema.getUniqueConstraintName(SessionLocal session, Table table) Create a unique constraint name.Schema.getUniqueDomainConstraintName(SessionLocal session, Domain domain) Create a unique constraint name.Schema.getUniqueIndexName(SessionLocal session, Table table, String prefix) Create a unique index name.FunctionAlias.JavaMethod.getValue(SessionLocal session, Expression[] args, boolean columnList) Call the user-defined function and return the value.voidDomain.prepareExpressions(SessionLocal session) voidConstant.removeChildrenAndResources(SessionLocal session) voidDomain.removeChildrenAndResources(SessionLocal session) voidFunctionAlias.removeChildrenAndResources(SessionLocal session) voidSchema.removeChildrenAndResources(SessionLocal session) voidSequence.removeChildrenAndResources(SessionLocal session) voidTriggerObject.removeChildrenAndResources(SessionLocal session) voidUserAggregate.removeChildrenAndResources(SessionLocal session) Schema.resolveTableOrView(SessionLocal session, String name) Try to find a table or view with this name.static ResultInterfaceFunctionAlias.JavaMethod.resultSetToResult(SessionLocal session, ResultSet rs, int maxrows) Create a result for the given result set.voidDomain.setDefaultExpression(SessionLocal session, Expression defaultExpression) voidDomain.setOnUpdateExpression(SessionLocal session, Expression onUpdateExpression) Constructors in org.h2.schema with parameters of type SessionLocalModifierConstructorDescriptionSequence(SessionLocal session, Schema schema, int id, String name, SequenceOptions options, boolean belongsToTable) Creates a new sequence. -
Uses of SessionLocal in org.h2.table
Methods in org.h2.table that return SessionLocalMethods in org.h2.table that return types with arguments of type SessionLocalModifier and TypeMethodDescriptionTable.checkDeadlock(SessionLocal session, SessionLocal clash, Set<SessionLocal> visited) Check if a deadlock occurred.Methods in org.h2.table with parameters of type SessionLocalModifier and TypeMethodDescriptionprotected final voidMetaTable.add(SessionLocal session, ArrayList<Row> rows, Object... stringsOrValues) Add a row to a list.final IndexMetaTable.addIndex(SessionLocal session, String indexName, int indexId, IndexColumn[] cols, int uniqueColumnCount, IndexType indexType, boolean create, String indexComment) abstract IndexTable.addIndex(SessionLocal session, String indexName, int indexId, IndexColumn[] cols, int uniqueColumnCount, IndexType indexType, boolean create, String indexComment) Create an index for this tableTableLink.addIndex(SessionLocal session, String indexName, int indexId, IndexColumn[] cols, int uniqueColumnCount, IndexType indexType, boolean create, String indexComment) TableView.addIndex(SessionLocal session, String indexName, int indexId, IndexColumn[] cols, int uniqueColumnCount, IndexType indexType, boolean create, String indexComment) VirtualTable.addIndex(SessionLocal session, String indexName, int indexId, IndexColumn[] cols, int uniqueColumnCount, IndexType indexType, boolean create, String indexComment) final voidMetaTable.addRow(SessionLocal session, Row row) abstract voidTable.addRow(SessionLocal session, Row row) Add a row to the table and all indexes.voidTableLink.addRow(SessionLocal session, Row row) voidTableView.addRow(SessionLocal session, Row row) voidVirtualTable.addRow(SessionLocal session, Row row) doublePlan.calculateCost(SessionLocal session, AllColumnsForPlan allColumnsSet) Calculate the cost of this query plan.booleanDataChangeDeltaTable.canGetRowCount(SessionLocal session) booleanDualTable.canGetRowCount(SessionLocal session) booleanFunctionTable.canGetRowCount(SessionLocal session) booleanInformationSchemaTable.canGetRowCount(SessionLocal session) booleanMetaTable.canGetRowCount(SessionLocal session) booleanRangeTable.canGetRowCount(SessionLocal session) abstract booleanTable.canGetRowCount(SessionLocal session) Check if the row count can be retrieved quickly.booleanTableLink.canGetRowCount(SessionLocal session) booleanTableValueConstructorTable.canGetRowCount(SessionLocal session) booleanTableView.canGetRowCount(SessionLocal session) Table.checkDeadlock(SessionLocal session, SessionLocal clash, Set<SessionLocal> visited) Check if a deadlock occurred.protected final booleanMetaTable.checkIndex(SessionLocal session, String value, Value indexFrom, Value indexTo) Checks index conditions.final voidMetaTable.close(SessionLocal session) abstract voidTable.close(SessionLocal session) Close the table object and flush changes.voidTableLink.close(SessionLocal session) voidTableView.close(SessionLocal session) voidVirtualTable.close(SessionLocal session) static voidDataChangeDeltaTable.collectInsertedFinalRow(SessionLocal session, Table table, ResultTarget deltaChangeCollector, DataChangeDeltaTable.ResultOption deltaChangeCollectionMode, Row newRow) Collects final row for INSERT operations.voidTable.convertInsertRow(SessionLocal session, Row row, Boolean overridingSystem) Prepares the specified row for INSERT operation.voidTableLink.convertInsertRow(SessionLocal session, Row row, Boolean overridingSystem) voidTable.convertUpdateRow(SessionLocal session, Row row, boolean fromTrigger) Prepares the specified row for UPDATE operation.voidTableLink.convertUpdateRow(SessionLocal session, Row row, boolean fromTrigger) static TableTableView.createShadowTableForRecursiveTableExpression(boolean isTemporary, SessionLocal targetSession, String cteViewName, Schema schema, List<Column> columns, Database db) Create a table for a recursive query.static TableViewTableView.createTableViewMaybeRecursive(Schema schema, int id, String name, String querySQL, ArrayList<Parameter> parameters, Column[] columnTemplates, SessionLocal session, boolean literalsChecked, boolean isTableExpression, boolean isTemporary, Database db) Create a view.static TableViewTableView.createTempView(SessionLocal session, User owner, String name, Column[] columnTemplates, Query query, Query topQuery) Create a temporary view out of the given query.static voidTableView.destroyShadowTableForRecursiveExpression(boolean isTemporary, SessionLocal targetSession, Table recursiveTable) Remove a table for a recursive query.voidTable.dropMultipleColumnsConstraintsAndIndexes(SessionLocal session, ArrayList<Column> columnsToDrop) Check that these columns are not referenced by a multi-column constraint or multi-column index.TableLink.execute(String sql, ArrayList<Value> params, boolean reusePrepared, SessionLocal session) Execute a SQL statement using the given parameters.voidTable.fire(SessionLocal session, int type, boolean beforeAction) Fire the triggers for this table.voidTable.fireAfterRow(SessionLocal session, Row oldRow, Row newRow, boolean rollback) Fire all triggers that need to be called after a row is updated.booleanTable.fireBeforeRow(SessionLocal session, Row oldRow, Row newRow) Fire all triggers that need to be called before a row is updated.InformationSchemaTable.generateRows(SessionLocal session, SearchRow first, SearchRow last) InformationSchemaTableLegacy.generateRows(SessionLocal session, SearchRow first, SearchRow last) MetaTable.generateRows(SessionLocal session, SearchRow first, SearchRow last) Generate the data for the given metadata table using the given first and last row filters.Table.getBestPlanItem(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet) Get the best plan for the given search mask.TableFilter.getBestPlanItem(SessionLocal s, TableFilter[] filters, int filter, AllColumnsForPlan allColumnsSet) Get the best plan item (index, cost) to use for the current join order.TableView.getBestPlanItem(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet) longRangeTable.getMax(SessionLocal session) Calculate and get the end value of this range.longRangeTable.getMin(SessionLocal session) Calculate and get the start value of this range.DataChangeDeltaTable.getResult(SessionLocal session) FunctionTable.getResult(SessionLocal session) TableValueConstructorTable.getResult(SessionLocal session) abstract ResultInterfaceVirtualConstructedTable.getResult(SessionLocal session) Read the rows from the table.Table.getRow(SessionLocal session, long key) Get the given row.longDataChangeDeltaTable.getRowCount(SessionLocal session) longDualTable.getRowCount(SessionLocal session) longFunctionTable.getRowCount(SessionLocal session) longInformationSchemaTable.getRowCount(SessionLocal session) longMetaTable.getRowCount(SessionLocal session) longRangeTable.getRowCount(SessionLocal session) abstract longTable.getRowCount(SessionLocal session) Get the row count for this table.longTableLink.getRowCount(SessionLocal session) longTableValueConstructorTable.getRowCount(SessionLocal session) longTableView.getRowCount(SessionLocal session) longDataChangeDeltaTable.getRowCountApproximation(SessionLocal session) longDualTable.getRowCountApproximation(SessionLocal session) longFunctionTable.getRowCountApproximation(SessionLocal session) longInformationSchemaTable.getRowCountApproximation(SessionLocal session) longMetaTable.getRowCountApproximation(SessionLocal session) longRangeTable.getRowCountApproximation(SessionLocal session) abstract longTable.getRowCountApproximation(SessionLocal session) Get the approximated row count for this table.longTableLink.getRowCountApproximation(SessionLocal session) longTableValueConstructorTable.getRowCountApproximation(SessionLocal session) longTableView.getRowCountApproximation(SessionLocal session) DualTable.getScanIndex(SessionLocal session) final IndexMetaTable.getScanIndex(SessionLocal session) RangeTable.getScanIndex(SessionLocal session) abstract IndexTable.getScanIndex(SessionLocal session) Get the scan index to iterate through all rows.Table.getScanIndex(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet) Get the scan index for this table.TableLink.getScanIndex(SessionLocal session) TableView.getScanIndex(SessionLocal session) TableView.getScanIndex(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet) VirtualConstructedTable.getScanIndex(SessionLocal session) longRangeTable.getStep(SessionLocal session) Get the increment.protected final booleanMetaTable.hideTable(Table table, SessionLocal session) Check whether to hide the table.voidColumn.initializeSequence(SessionLocal session, Schema schema, int id, boolean temporary) Initialize the sequence for this column.booleanTable.isLockedExclusivelyBy(SessionLocal session) Check if the table is exclusively locked by this session.booleanTable.lock(SessionLocal session, int lockType) Lock the table for the given session.voidTableFilter.lock(SessionLocal s) Lock the table.Table.lockRow(SessionLocal session, Row row) Locks row, preventing any updated to it, except from the session specified.voidColumn.prepareExpressions(SessionLocal session) voidColumnTemplate.prepareExpressions(SessionLocal session) Prepare all expressions of this column or domain.TableView.recompile(SessionLocal session, boolean force, boolean clearIndexCache) Re-compile the view query and all views that depend on this object.final voidMetaTable.removeChildrenAndResources(SessionLocal session) voidTable.removeChildrenAndResources(SessionLocal session) voidTableLink.removeChildrenAndResources(SessionLocal session) voidTableSynonym.removeChildrenAndResources(SessionLocal session) voidTableView.removeChildrenAndResources(SessionLocal session) voidTable.removeColumnExpressionsDependencies(SessionLocal session) Removes dependencies of column expressions, used for tables with circular dependencies.voidTable.removeIndexOrTransferOwnership(SessionLocal session, Index index) If the index is still required by a constraint, transfer the ownership to it.final voidMetaTable.removeRow(SessionLocal session, Row row) abstract voidTable.removeRow(SessionLocal session, Row row) Remove a row from the table and all indexes.voidTableLink.removeRow(SessionLocal session, Row row) voidTableView.removeRow(SessionLocal session, Row row) voidVirtualTable.removeRow(SessionLocal session, Row row) voidTableView.replace(String querySQL, Column[] newColumnTemplates, SessionLocal session, boolean recursive, boolean force, boolean literalsChecked) Try to replace the SQL statement of the view and re-compile this and all dependent views.voidTable.setCheckForeignKeyConstraints(SessionLocal session, boolean enabled, boolean checkExisting) Enable or disable foreign key constraint checking for this table.voidColumn.setDefaultExpression(SessionLocal session, Expression defaultExpression) voidColumnTemplate.setDefaultExpression(SessionLocal session, Expression defaultExpression) Set the default expression.voidColumn.setOnUpdateExpression(SessionLocal session, Expression onUpdateExpression) voidColumnTemplate.setOnUpdateExpression(SessionLocal session, Expression onUpdateExpression) Set the on update expression.voidTableFilter.startQuery(SessionLocal s) Start the query.final longMetaTable.truncate(SessionLocal session) abstract longTable.truncate(SessionLocal session) Remove all rows from the table and indexes.longTableLink.truncate(SessionLocal session) longTableView.truncate(SessionLocal session) longVirtualTable.truncate(SessionLocal session) voidTable.unlock(SessionLocal s) Release the lock for this session.voidTable.updateRow(SessionLocal session, Row oldRow, Row newRow) Update a row to the table and all indexes.voidTable.updateRows(Prepared prepared, SessionLocal session, LocalResult rows) Update a list of rows in this table.voidTableLink.updateRows(Prepared prepared, SessionLocal session, LocalResult rows) Method parameters in org.h2.table with type arguments of type SessionLocalModifier and TypeMethodDescriptionTable.checkDeadlock(SessionLocal session, SessionLocal clash, Set<SessionLocal> visited) Check if a deadlock occurred.Constructors in org.h2.table with parameters of type SessionLocalModifierConstructorDescriptionDataChangeDeltaTable(Schema schema, SessionLocal session, DataChangeStatement statement, DataChangeDeltaTable.ResultOption resultOption) FunctionTable(Schema schema, SessionLocal session, TableFunction function) TableFilter(SessionLocal session, Table table, String alias, boolean rightsChecked, Select select, int orderInFrom, IndexHints indexHints) Create a new table filter object.TableValueConstructorTable(Schema schema, SessionLocal session, Column[] columns, ArrayList<ArrayList<Expression>> rows) TableView(Schema schema, int id, String name, String querySQL, ArrayList<Parameter> params, Column[] columnTemplates, SessionLocal session, boolean allowRecursive, boolean literalsChecked, boolean isTableExpression, boolean isTemporary)