Uses of Class
org.h2.expression.Expression
Packages that use Expression
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.
Expressions include mathematical operations, simple values, and others.
Aggregate functions.
Base classes for data analysis operations and implementations of window functions.
Condition expressions.
Functions.
Table value functions.
The native full text search implementation, and the wrapper for the Lucene full text search implementation.
Various table index implementations, as well as cursors to navigate in an index.
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 Expression in org.h2.command
Methods in org.h2.command that return ExpressionModifier and TypeMethodDescriptionprivate ExpressionParser.addJoinColumn(Expression on, TableFilter filter1, TableFilter filter2, Column column1, Column column2, boolean rightJoin) private ExpressionParser.parseDB2SpecialRegisters(String name) Parser.parseDomainConstraintExpression(String sql) Parse a SQL code snippet that represents an expression for a domain constraint.Parser.parseExpression(String sql) Parse a SQL code snippet that represents an expression.private ExpressionParser.readAggregate(AggregateType aggregateType, String aggregateName) private ExpressionParser.readAnd(Expression r) private ExpressionParser.readBuiltinFunctionIf(String upperName) private ExpressionParser.readCase()private ExpressionParser.readCoalesceFunction(int function) private ExpressionParser.readColumnIfNotFunction()private ExpressionParser.readComparison(Expression left, int compareType, boolean whenOperand) private ExpressionParser.readCompatibilityCase(Expression when) private ExpressionParser.readCompatibilityFunction(String name) private ExpressionParser.readCompatibilitySequenceValueFunction(boolean current) private ExpressionParser.readConcat()private ExpressionParser.readConcatFunction(int function) private ExpressionParser.readCondition()private ExpressionParser.readConditionIs(Expression left, boolean whenOperand) private ExpressionParser.readConditionRightHandSide(Expression r, boolean not, boolean whenOperand) private ExpressionParser.readCurrentDateTimeValueFunction(int function, boolean hasParen, String name) private ExpressionParser.readCurrentGeneralValueSpecification(int specification) private ExpressionParser.readDateTimeFormatFunction(int function) private ExpressionParser.readExpression()private ExpressionParser.readExpressionOrDefault()private ExpressionParser.readExpressionOrIdentifier()private ExpressionParser.readExpressionPart2(Expression r1) private ExpressionParser.readExpressionWithGlobalConditions()private ExpressionParser.readFactor()private ExpressionParser.readFetchOrLimit()private ExpressionParser.readFunction(Schema schema, String name) private ExpressionParser.readFunctionWithSchema(Schema schema, String name, String upperName) private ExpressionParser.readIfArgument()private ExpressionParser.readIfSingleArgument()private ExpressionParser.readIfWildcardRowidOrSequencePseudoColumn(String schema, String objectName) private ExpressionParser.readInPredicate(Expression left, boolean not, boolean whenOperand) private ExpressionParser.readInterval()private ExpressionParser.readJoinSpecification(TableFilter filter1, TableFilter filter2, boolean rightJoin) private Expressionprivate ExpressionParser.readLastArgument()private ExpressionParser.readLikePredicate(Expression left, CompareLike.LikeType likeType, boolean not, boolean whenOperand) private ExpressionParser.readNextArgument()private ExpressionParser.readOnDuplicateKeyValues(Table table, Update update) private ExpressionParser.readSetFunction()private ExpressionParser.readSingleArgument()private ExpressionParser.readSubstringFunction()private ExpressionParser.readSum()private ExpressionParser.readTerm()private ExpressionParser.readTermObjectDot(String objectName) private ExpressionParser.readTermWithIdentifier(String name, boolean quoted) private ExpressionParser.readTildeCondition(Expression r, boolean not) private ExpressionParser.readTrimFunction()private ExpressionParser.readUserDefinedFunctionIf(Schema schema, String functionName) private ExpressionParser.readWhenOperand(Expression caseOperand) Methods in org.h2.command that return types with arguments of type ExpressionModifier and TypeMethodDescriptionprivate ArrayList<Expression> Parser.parseValuesRow(ArrayList<Expression> row) Methods in org.h2.command with parameters of type ExpressionModifier and TypeMethodDescriptionprivate voidParser.addJoin(TableFilter top, TableFilter join, boolean outer, Expression on) Add one join to another.private ExpressionParser.addJoinColumn(Expression on, TableFilter filter1, TableFilter filter2, Column column1, Column column2, boolean rightJoin) private SimpleCase.SimpleWhenParser.decodeToWhen(Expression caseOperand, boolean canOptimize, Expression whenOperand, Expression result) static StringPrepared.getSimpleSQL(Expression[] list) Get the SQL snippet of the expression list.private voidParser.readAggregateOrder(Aggregate r, Expression expr, boolean parseSortType) private ExpressionParser.readAnd(Expression r) private ExpressionParser.readComparison(Expression left, int compareType, boolean whenOperand) private ExpressionParser.readCompatibilityCase(Expression when) private ExpressionParser.readConditionIs(Expression left, boolean whenOperand) private ExpressionParser.readConditionRightHandSide(Expression r, boolean not, boolean whenOperand) private ExpressionParser.readExpressionPart2(Expression r1) private ExpressionParser.readInPredicate(Expression left, boolean not, boolean whenOperand) private IsJsonPredicateParser.readJsonPredicate(Expression left, boolean not, boolean whenOperand) private ExpressionParser.readLikePredicate(Expression left, CompareLike.LikeType likeType, boolean not, boolean whenOperand) private SimpleCase.SimpleWhenParser.readSimpleWhenClause(Expression caseOperand) private ExpressionParser.readTildeCondition(Expression r, boolean not) private TypePredicateParser.readTypePredicate(Expression left, boolean not, boolean whenOperand) private ExpressionParser.readWhenOperand(Expression caseOperand) private AggregateParser.readWithinGroup(AggregateType aggregateType, Expression[] args, boolean distinct, Object extraArguments, boolean forHypotheticalSet, boolean simple) Method parameters in org.h2.command with type arguments of type ExpressionModifier and TypeMethodDescriptionprivate ArrayList<Expression> Parser.parseValuesRow(ArrayList<Expression> row) -
Uses of Expression in org.h2.command.ddl
Fields in org.h2.command.ddl declared as ExpressionModifier and TypeFieldDescriptionprivate ExpressionSequenceOptions.cacheSizeprivate ExpressionAlterDomainAddConstraint.checkExpressionprivate ExpressionAlterTableAddConstraint.checkExpressionprivate ExpressionAlterTableAlterColumn.defaultExpressionDefault or on update expression.private ExpressionCreateDomain.defaultExpressionprivate ExpressionSetComment.exprprivate ExpressionAlterDomainExpressions.expressionprivate ExpressionCreateConstant.expressionprivate ExpressionAlterUser.hashprivate ExpressionCreateUser.hashprivate ExpressionSequenceOptions.incrementprivate ExpressionSequenceOptions.maxValueprivate ExpressionSequenceOptions.minValueprivate ExpressionAlterTableAlterColumn.newSelectivityprivate ExpressionCreateDomain.onUpdateExpressionprivate ExpressionAlterUser.passwordprivate ExpressionCreateUser.passwordprivate ExpressionSequenceOptions.restartprivate ExpressionAlterUser.saltprivate ExpressionCreateUser.saltprivate ExpressionSequenceOptions.startprivate ExpressionAlterTableAlterColumn.usingExpressionMethods in org.h2.command.ddl with parameters of type ExpressionModifier and TypeMethodDescriptionprivate static voidAlterTableAlterColumn.checkDefaultReferencesTable(Table table, Expression defaultExpression) private static byte[]CreateUser.getByteArray(SessionLocal session, Expression e) private static LongSequenceOptions.getLong(SessionLocal session, Expression expr) voidSequenceOptions.setCacheSize(Expression cacheSize) Sets cache size.voidAlterDomainAddConstraint.setCheckExpression(Expression expression) voidAlterTableAddConstraint.setCheckExpression(Expression expression) voidSetComment.setCommentExpression(Expression expr) voidAlterTableAlterColumn.setDefaultExpression(Expression defaultExpression) Set default or on update expression.voidCreateDomain.setDefaultExpression(Expression defaultExpression) voidAlterDomainExpressions.setExpression(Expression expression) voidCreateConstant.setExpression(Expression expr) voidAlterUser.setHash(Expression e) voidCreateUser.setHash(Expression e) voidSequenceOptions.setIncrement(Expression increment) Sets increment value expression.voidSequenceOptions.setMaxValue(Expression maxValue) Sets max value expression.voidSequenceOptions.setMinValue(Expression minValue) Sets min value expression.voidCreateDomain.setOnUpdateExpression(Expression onUpdateExpression) voidAlterUser.setPassword(Expression password) (package private) static voidCreateUser.setPassword(User user, SessionLocal session, Expression password) Set the password for the given user.voidCreateUser.setPassword(Expression password) voidSequenceOptions.setRestartValue(Expression restart) Sets restart value expression, orValueExpression.DEFAULT.voidAlterUser.setSalt(Expression e) voidCreateUser.setSalt(Expression e) (package private) static voidCreateUser.setSaltAndHash(User user, SessionLocal session, Expression salt, Expression hash) Set the salt and hash for the given user.voidAlterTableAlterColumn.setSelectivity(Expression selectivity) voidSequenceOptions.setStartValue(Expression start) Sets start value expression.voidAlterTableAlterColumn.setUsingExpression(Expression usingExpression) Set using expression. -
Uses of Expression in org.h2.command.dml
Fields in org.h2.command.dml declared as ExpressionModifier and TypeFieldDescription(package private) ExpressionMergeUsing.When.andConditionAND condition of the command.(package private) ExpressionFilteredDataChangeStatement.conditionThe WHERE criteria.private ExpressionCall.expressionprivate ExpressionSet.expression(package private) ExpressionSetClauseList.RowExpression.expressionprivate ExpressionSetClauseList.SetSimple.expressionprivate Expression[]Call.expressionsprivate final Expression[]Help.expressions(package private) ExpressionFilteredDataChangeStatement.fetchExprThe expression with optional maximum number of rows.private ExpressionBackupCommand.fileNameExprprivate ExpressionScriptBase.fileNameExprThe file name (if set).(package private) ExpressionMergeUsing.onConditionON condition expression.private ExpressionScriptBase.passwordprivate ExpressionExecuteImmediate.statementprivate final Expression[]MergeUsing.WhenNotMatched.valuesFields in org.h2.command.dml with type parameters of type ExpressionModifier and TypeFieldDescriptionprivate HashMap<Column, Expression> Insert.duplicateKeyAssignmentMapFor MySQL-style INSERT ...private final ArrayList<Expression> ExecuteProcedure.expressionsMethods in org.h2.command.dml that return ExpressionModifier and TypeMethodDescriptionfinal ExpressionFilteredDataChangeStatement.getCondition()MergeUsing.getOnCondition()private ExpressionInsert.prepareUpdateCondition(Index foundIndex, Expression[] row) Methods in org.h2.command.dml with parameters of type ExpressionModifier and TypeMethodDescriptionvoidInsert.addAssignmentForDuplicate(Column column, Expression expression) Keep a collection of the columns to pass to update if a duplicate key happens, for MySQL-style INSERT ...voidSetClauseList.addMultiple(ArrayList<Column> columns, Expression expression) Add multiple columns.voidCommandWithValues.addRow(Expression[] expr) Add a row to this command.voidSetClauseList.addSingle(Column column, Expression expression) Add a single column.private intMerge.merge(Row row, Expression[] expressions, ResultTarget deltaChangeCollector, DataChangeDeltaTable.ResultOption deltaChangeCollectionMode) Updates an existing row or inserts a new one.private ExpressionInsert.prepareUpdateCondition(Index foundIndex, Expression[] row) voidMergeUsing.When.setAndCondition(Expression andCondition) Sets the specified AND condition.final voidFilteredDataChangeStatement.setCondition(Expression condition) voidCall.setExpression(Expression expression) voidExecuteProcedure.setExpression(int index, Expression expr) Set the expression at the given index.voidSet.setExpression(Expression expression) voidFilteredDataChangeStatement.setFetch(Expression fetch) voidBackupCommand.setFileName(Expression fileName) voidScriptBase.setFileNameExpr(Expression file) voidMergeUsing.setOnCondition(Expression condition) voidScriptBase.setPassword(Expression password) Constructors in org.h2.command.dml with parameters of type ExpressionModifierConstructorDescriptionExecuteImmediate(SessionLocal session, Expression statement) (package private)RowExpression(Expression expression, int[] columns) (package private)SetSimple(Expression expression) WhenNotMatched(Column[] columns, Boolean overridingSystem, Expression[] values) -
Uses of Expression in org.h2.command.query
Fields in org.h2.command.query declared as ExpressionModifier and TypeFieldDescriptionQueryOrderBy.columnIndexExprThe column index expression.private final ExpressionOptimizer.conditionprivate ExpressionSelect.conditionWHERE condition.private Expression[]Select.distinctExpressionsDISTINCT ON(...)expressions.QueryOrderBy.expressionThe order by expression.(package private) Expression[]Query.expressionArrayArray of expressions.private final Expression[]SelectListColumnResolver.expressions(package private) ExpressionQuery.fetchExprThe fetch expression as specified in the FETCH, LIMIT, or TOP clause.private ExpressionSelect.havingHAVING condition.(package private) ExpressionQuery.offsetExprThe offset expression as specified in the OFFSET clause.private ExpressionSelect.qualifyQUALIFY condition.Fields in org.h2.command.query with type parameters of type ExpressionModifier and TypeFieldDescription(package private) ArrayList<Expression> Query.expressionsThe column list, including invisible expressions such as order by expressions.(package private) final ArrayList<Expression> SelectGroups.expressionsThe query's column list, including invisible expressions such as order by expressions.private final HashMap<Expression, Integer> SelectGroups.exprToIndexInGroupByDataMaps an expression object to an index, to use in accessing the Object[] pointed to by groupByData.private ArrayList<Expression> Select.groupprivate final ArrayList<ArrayList<Expression>> TableValueConstructor.rowsMethods in org.h2.command.query that return ExpressionModifier and TypeMethodDescriptionprivate static ExpressionSelect.addGlobalCondition(Expression condition, Expression additional) Select.getCondition()Query.getFetch()Select.getHaving()Query.getIfSingleRow()If this query is determined as a single-row query, returns a replacement expression.Select.getIfSingleRow()TableValueConstructor.getIfSingleRow()Query.getOffset()Select.getQualify()SelectListColumnResolver.optimize(ExpressionColumn expressionColumn, Column column) TableValueConstructor.TableValueColumnResolver.optimize(ExpressionColumn expressionColumn, Column column) Methods in org.h2.command.query that return types with arguments of type ExpressionModifier and TypeMethodDescriptionQuery.getExpressions()The the list of select expressions.Select.getGroupBy()Methods in org.h2.command.query with parameters of type ExpressionModifier and TypeMethodDescriptionvoidSelect.addCondition(Expression cond) Add a condition to the list of conditions.private static ExpressionSelect.addGlobalCondition(Expression condition, Expression additional) (package private) voidQuery.appendEndOfQueryToSQL(StringBuilder builder, int sqlFlags, Expression[] expressions) Appends ORDER BY, OFFSET, and FETCH clauses to the plan.private static booleanQuery.checkOrderOther(SessionLocal session, Expression expr, ArrayList<String> expressionSQL) An additional check for expression in ORDER BY list for DISTINCT selects that was not matched with selected expressions in regular way.private static booleanSelect.containsAggregate(Expression expression) final ObjectSelectGroups.getCurrentGroupExprData(Expression expr) Get the group-by data for the current group and the passed in expression.private static voidSelect.getFilterSQL(StringBuilder builder, String sql, Expression[] exprList, Expression condition, int conditionIndex, int sqlFlags) private static voidSelect.getFilterSQL(StringBuilder builder, String sql, Expression condition, int sqlFlags) (package private) intQuery.initExpression(ArrayList<String> expressionSQL, Expression e, boolean mustBeInResult, ArrayList<TableFilter> filters) Initialize the 'ORDER BY' or 'DISTINCT' expressions.final voidSelectGroups.setCurrentGroupExprData(Expression expr, Object obj) Set the group-by data for the current group and the passed in expression.voidSelect.setDistinct(Expression[] distinctExpressions) Set the DISTINCT ON expressions.voidQuery.setFetch(Expression fetch) voidSelect.setHaving(Expression having) voidQuery.setOffset(Expression offset) voidSelect.setQualify(Expression qualify) Method parameters in org.h2.command.query with type arguments of type ExpressionModifier and TypeMethodDescriptionstatic SelectGroupsSelectGroups.getInstance(SessionLocal session, ArrayList<Expression> expressions, boolean isGroupQuery, int[] groupIndex) Creates new instance of grouped data.static voidTableValueConstructor.getValuesSQL(StringBuilder builder, int sqlFlags, ArrayList<ArrayList<Expression>> rows) Appends the SQL of the values to the specified string builder..static voidTableValueConstructor.getVisibleResult(SessionLocal session, ResultTarget result, Column[] columns, ArrayList<ArrayList<Expression>> rows) Appends visible columns of all rows to the specified result.voidSelect.setExpressions(ArrayList<Expression> expressions) voidSelect.setGroupBy(ArrayList<Expression> group) Constructors in org.h2.command.query with parameters of type ExpressionModifierConstructorDescription(package private)LazyResultGroupSorted(Expression[] expressions, int columnCount) (package private)LazyResultQueryFlat(Expression[] expressions, int columnCount, boolean forUpdate) (package private)LazyResultSelect(Expression[] expressions, int columnCount) (package private)LazyResultUnion(Expression[] expressions, int columnCount) (package private)Optimizer(TableFilter[] filters, Expression condition, SessionLocal session) Constructor parameters in org.h2.command.query with type arguments of type ExpressionModifierConstructorDescription(package private)Grouped(SessionLocal session, ArrayList<Expression> expressions, int[] groupIndex) (package private)Plain(SessionLocal session, ArrayList<Expression> expressions) (package private)SelectGroups(SessionLocal session, ArrayList<Expression> expressions) TableValueConstructor(SessionLocal session, ArrayList<ArrayList<Expression>> rows) Creates new instance of table value constructor. -
Uses of Expression in org.h2.constraint
Fields in org.h2.constraint declared as ExpressionModifier and TypeFieldDescriptionprivate ExpressionConstraintCheck.exprprivate ExpressionConstraintDomain.exprMethods in org.h2.constraint that return ExpressionModifier and TypeMethodDescriptionConstraintDomain.getCheckConstraint(SessionLocal session, String columnName) Get the check constraint expression for this column.Constraint.getExpression()Returns the CHECK expression or null.ConstraintCheck.getExpression()ConstraintDomain.getExpression()Methods in org.h2.constraint with parameters of type ExpressionModifier and TypeMethodDescriptionvoidConstraintCheck.setExpression(Expression expr) voidConstraintDomain.setExpression(SessionLocal session, Expression expr) Set the expression. -
Uses of Expression in org.h2.expression
Subclasses of Expression in org.h2.expressionModifier and TypeClassDescriptionfinal classA column alias as in SELECT 'Hello' AS NAME ...final classArray value constructor by query.final classArray element reference.classA mathematical expression, or string concatenation.classA compatibility mathematical operation with datetime values.final classCharacter string concatenation as in'Hello' || 'World', binary string concatenation as inX'01' || X'AB'or an array concatenation as inARRAY[1, 2] || 3.final classAn expression representing a value for domain constraint.final classA column reference expression that represents a column of a table or view.final classA list of expressions, as in (ID, NAME).final classField reference.final classA format clause such as FORMAT JSON.classA mathematical operation with intervals.classOperation without subexpressions.classOperation with one argument.classOperation with one or two arguments.classOperation with two arguments.classOperation with many arguments.final classA parameter of a prepared statement.final classRepresents the ROWNUM function.final classA searched case.final classWraps a sequence when used in a statement.final classA simple case.final classA query returning a single value.final classA time zone specification (AT { TIME ZONE | LOCAL }).classAn expression representing a constant value with a type cast.classUnary operation.classAn expression representing a constant value.final classA user-defined variable, for example: @ID.final classA wildcard expression as in SELECT * FROM TEST.Fields in org.h2.expression declared as ExpressionModifier and TypeFieldDescriptionprotected ExpressionOperation1.argThe argument of the operation.protected Expression[]OperationN.argsThe array of arguments.private ExpressionSimpleCase.elseResultprivate ExpressionAlias.exprprivate ExpressionSubquery.expressionprotected ExpressionOperation1_2.leftThe left part of the operation (the first argument).protected ExpressionOperation2.leftThe left part of the operation (the first argument).private final Expression[]ExpressionList.listprivate ExpressionSimpleCase.operand(package private) Expression[]SimpleCase.SimpleWhen.operands(package private) ExpressionSimpleCase.SimpleWhen.resultprotected ExpressionOperation1_2.rightThe right part of the operation (the second argument).protected ExpressionOperation2.rightThe right part of the operation (the second argument).Methods in org.h2.expression that return ExpressionModifier and TypeMethodDescriptionAlias.getNonAliasExpression()Expression.getNonAliasExpression()Returns the main expression, skipping aliases.Expression.getNotIfPossible(SessionLocal session) If it is possible, return the negated expression.ExpressionColumn.getNotIfPossible(SessionLocal session) Parameter.getNotIfPossible(SessionLocal session) ValueExpression.getNotIfPossible(SessionLocal session) Expression.getSubexpression(int index) Returns subexpression with specified index.ExpressionList.getSubexpression(int index) Operation1_2.getSubexpression(int index) Operation1.getSubexpression(int index) Operation2.getSubexpression(int index) OperationN.getSubexpression(int index) SimpleCase.getSubexpression(int index) 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) final ExpressionExpression.optimizeCondition(SessionLocal session) Try to optimize or remove the condition.private ExpressionBinaryOperation.optimizeDateTime(SessionLocal session, int l, int r) private ExpressionBinaryOperation.optimizeInterval(int l, int r) private ExpressionExpressionColumn.optimizeOther()Methods in org.h2.expression with parameters of type ExpressionModifier and TypeMethodDescriptionvoidExpressionWithVariableParameters.addParameter(Expression param) Adds the parameter expression.voidOperationN.addParameter(Expression param) (package private) static TypeInfoSimpleCase.combineTypes(TypeInfo typeInfo, Expression e) static StringBuilderExpression.writeExpressions(StringBuilder builder, Expression[] expressions, int sqlFlags) Get the SQL snippet for an array of expressions.Method parameters in org.h2.expression with type arguments of type ExpressionModifier and TypeMethodDescriptionstatic StringBuilderExpression.writeExpressions(StringBuilder builder, List<? extends Expression> expressions, int sqlFlags) Get the SQL snippet for a list of expressions.Constructors in org.h2.expression with parameters of type ExpressionModifierConstructorDescriptionAlias(Expression expression, String alias, boolean aliasColumnName) ArrayElementReference(Expression left, Expression right) BinaryOperation(BinaryOperation.OpType opType, Expression left, Expression right) CompatibilityDatePlusTimeOperation(Expression left, Expression right) ConcatenationOperation(Expression op1, Expression op2) ExpressionList(Expression[] list, boolean isArray) FieldReference(Expression arg, String fieldName) Format(Expression arg, Format.FormatEnum format) IntervalOperation(IntervalOperation.IntervalOpType opType, Expression left, Expression right) IntervalOperation(IntervalOperation.IntervalOpType opType, Expression left, Expression right, TypeInfo forcedType) protectedOperation1(Expression arg) protectedOperation1_2(Expression left, Expression right) protectedOperation2(Expression left, Expression right) protectedOperationN(Expression[] args) SearchedCase(Expression[] args) SimpleCase(Expression operand, SimpleCase.SimpleWhen when, Expression elseResult) SimpleWhen(Expression[] operands, Expression result) SimpleWhen(Expression operand, Expression result) TimeZoneOperation(Expression left, Expression right) UnaryOperation(Expression arg) -
Uses of Expression in org.h2.expression.aggregate
Subclasses of Expression in org.h2.expression.aggregateModifier and TypeClassDescriptionclassA base class for aggregate functions.classImplements the integrated aggregate functions, such as COUNT, MAX, SUM.classThis class wraps a user-defined aggregate.Fields in org.h2.expression.aggregate declared as ExpressionModifier and TypeFieldDescriptionprotected final Expression[]AbstractAggregate.argsThe arguments.protected ExpressionAbstractAggregate.filterConditionFILTER condition for aggregateMethods in org.h2.expression.aggregate that return ExpressionModifier and TypeMethodDescriptionAbstractAggregate.getSubexpression(int index) AbstractAggregate.optimize(SessionLocal session) Aggregate.optimize(SessionLocal session) JavaAggregate.optimize(SessionLocal session) Methods in org.h2.expression.aggregate with parameters of type ExpressionModifier and TypeMethodDescription(package private) static IndexPercentile.getColumnIndex(Database database, Expression on) Get the index (if any) for the column specified in the inverse distribution function.(package private) static ValuePercentile.getFromIndex(SessionLocal session, Expression expression, int dataType, ArrayList<QueryOrderBy> orderByList, BigDecimal percentile, boolean interpolate) Get the result from the index.(package private) static IndexAggregateDataEnvelope.getGeometryColumnIndex(Expression on) Get the index (if any) for the column specified in the geometry aggregate.voidAbstractAggregate.setFilterCondition(Expression filterCondition) Sets the FILTER condition.Constructors in org.h2.expression.aggregate with parameters of type ExpressionModifierConstructorDescription(package private)AbstractAggregate(Select select, Expression[] args, boolean distinct) Aggregate(AggregateType aggregateType, Expression[] args, Select select, boolean distinct) Create a new aggregate object.JavaAggregate(UserAggregate userAggregate, Expression[] args, Select select, boolean distinct) -
Uses of Expression in org.h2.expression.analysis
Subclasses of Expression in org.h2.expression.analysisModifier and TypeClassDescriptionclassA base class for data analysis operations such as aggregates and window functions.classA window function.Fields in org.h2.expression.analysis declared as ExpressionModifier and TypeFieldDescriptionprivate final Expression[]WindowFunction.argsprivate ExpressionWindowFrameBound.valueFields in org.h2.expression.analysis with type parameters of type ExpressionMethods in org.h2.expression.analysis that return ExpressionModifier and TypeMethodDescriptionWindowFrameBound.getValue()Returns the value.DataAnalysisOperation.optimize(SessionLocal session) WindowFunction.optimize(SessionLocal session) Constructors in org.h2.expression.analysis with parameters of type ExpressionModifierConstructorDescriptionWindowFrameBound(WindowFrameBoundType type, Expression value) Creates new instance of window frame bound.WindowFunction(WindowFunctionType type, Select select, Expression[] args) Creates new instance of a window function.Constructor parameters in org.h2.expression.analysis with type arguments of type ExpressionModifierConstructorDescriptionWindow(String parent, ArrayList<Expression> partitionBy, ArrayList<QueryOrderBy> orderBy, WindowFrame frame) Creates a new instance of window clause. -
Uses of Expression in org.h2.expression.condition
Subclasses of Expression in org.h2.expression.conditionModifier and TypeClassDescriptionfinal classBETWEEN predicate.final classBoolean test (IS [NOT] { TRUE | FALSE | UNKNOWN }).final classPattern matching comparison expression: WHERE NAME LIKE ?final classExample comparison expressions are ID=1, NAME=NAME, NAME IS NULL.(package private) classRepresents a condition returning a boolean value, or NULL.classAn 'and' or 'or' condition as in WHERE ID=1 AND NAME=?classAn 'and' or 'or' condition as in WHERE ID=1 AND NAME=? with N operands.final classAn 'in' condition with a list of values, as in WHERE NAME IN(...)final classUsed for optimised IN(...) queries where the contents of the IN list are all constant and of the same type.final classA condition with parameter as= ANY(?).final classAn IN() condition with a subquery, as in WHERE ID IN(SELECT ...)classA global condition or combination of local and global conditions.classA NOT condition.classExists predicate as in EXISTS(SELECT ...)final classIS JSON predicate.final classNull predicate (IS [NOT] NULL).(package private) classBase class for predicates with a subquery.classBase class for simple predicates.final classType predicate (IS [NOT] OF).classUnique predicate as in UNIQUE(SELECT ...)Subclasses with type arguments of type Expression in org.h2.expression.conditionFields in org.h2.expression.condition declared as ExpressionModifier and TypeFieldDescriptionprivate ExpressionBetweenPredicate.aprivate ExpressionConditionAndOr.addedAdditional condition for index only.private ExpressionBetweenPredicate.bprivate ExpressionConditionNot.conditionprivate ExpressionCompareLike.escapeprivate ExpressionConditionLocalAndGlobal.globalprivate ExpressionBetweenPredicate.leftprivate ExpressionCompareLike.leftprivate ExpressionComparison.leftprivate ExpressionConditionAndOr.leftprivate ExpressionConditionIn.leftprivate ExpressionConditionInConstantSet.leftprivate ExpressionConditionInParameter.leftprivate ExpressionConditionInQuery.leftprivate ExpressionIsJsonPredicate.left(package private) ExpressionSimplePredicate.leftThe left hand side of the expression.private ExpressionConditionLocalAndGlobal.localprivate ExpressionCompareLike.rightprivate ExpressionComparison.rightprivate ExpressionConditionAndOr.rightFields in org.h2.expression.condition with type parameters of type ExpressionModifier and TypeFieldDescriptionprivate List<Expression> ConditionAndOrN.addedAdditional conditions for index only.private static final Comparator<Expression> ConditionAndOrN.COMPARE_BY_COSTprivate final List<Expression> ConditionAndOrN.expressionsUse an ArrayDeque because we primarily insert at the front.private final ArrayList<Expression> ConditionIn.valueListprivate final ArrayList<Expression> ConditionInConstantSet.valueListMethods in org.h2.expression.condition that return ExpressionModifier and TypeMethodDescription(package private) static ExpressionCondition.castToBoolean(SessionLocal session, Expression expression) Add a cast around the expression (if necessary) so that the type is boolean.ConditionInParameter.ParameterList.get(int index) (package private) ExpressionConditionIn.getAdditional(Comparison other) Add an additional element if possible.(package private) ExpressionConditionInConstantSet.getAdditional(SessionLocal session, Comparison other) Add an additional element if possible.(package private) ExpressionComparison.getAdditionalAnd(SessionLocal session, Comparison other) Get an additional condition if possible.(package private) ExpressionComparison.getIfEquals(Expression match) Get the other expression if this is an equals comparison and the other expression matches.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.getSubexpression(int index) CompareLike.getSubexpression(int index) Comparison.getSubexpression(int index) ConditionAndOr.getSubexpression(int index) ConditionAndOrN.getSubexpression(int index) ConditionIn.getSubexpression(int index) ConditionInConstantSet.getSubexpression(int index) ConditionLocalAndGlobal.getSubexpression(int index) ConditionNot.getSubexpression(int index) IsJsonPredicate.getSubexpression(int index) SimplePredicate.getSubexpression(int index) BetweenPredicate.optimize(SessionLocal session) CompareLike.optimize(SessionLocal session) Comparison.optimize(SessionLocal session) ConditionAndOr.optimize(SessionLocal session) ConditionAndOrN.optimize(SessionLocal session) ConditionIn.optimize(SessionLocal session) ConditionInConstantSet.optimize(SessionLocal session) ConditionInParameter.optimize(SessionLocal session) ConditionInQuery.optimize(SessionLocal session) ConditionLocalAndGlobal.optimize(SessionLocal session) ConditionNot.optimize(SessionLocal session) IsJsonPredicate.optimize(SessionLocal session) NullPredicate.optimize(SessionLocal session) PredicateWithSubquery.optimize(SessionLocal session) SimplePredicate.optimize(SessionLocal session) TypePredicate.optimize(SessionLocal session) UniquePredicate.optimize(SessionLocal session) private ExpressionConditionIn.optimize2(SessionLocal session, boolean constant, boolean allValuesConstant, boolean allValuesNull, ArrayList<Expression> values) (package private) static ExpressionConditionAndOr.optimizeConditionAndOr(ConditionAndOr left, ConditionAndOr right) Optimize query according to the given condition.private static ExpressionConditionAndOr.optimizeConstant(SessionLocal session, int andOrType, Value l, Expression right) (package private) static ExpressionConditionAndOr.optimizeIfConstant(SessionLocal session, int andOrType, Expression left, Expression right) Optimize the condition if at least one part is constant.private static ExpressionConditionAndOr.optimizeN(ConditionAndOr condition) (package private) ExpressionComparison.optimizeOr(SessionLocal session, Comparison other) Replace the OR condition with IN condition if possible.Methods in org.h2.expression.condition with parameters of type ExpressionModifier and TypeMethodDescription(package private) voidConditionAndOrN.addFirst(Expression e) Add the expression at the beginning of the list.(package private) static ExpressionCondition.castToBoolean(SessionLocal session, Expression expression) Add a cast around the expression (if necessary) so that the type is boolean.(package private) static voidComparison.createIndexConditions(TableFilter filter, Expression left, Expression right, int compareType) private static ConditionInComparison.getConditionIn(Expression left, Expression value1, Expression value2) (package private) ExpressionComparison.getIfEquals(Expression match) Get the other expression if this is an equals comparison and the other expression matches.private static ExpressionConditionAndOr.optimizeConstant(SessionLocal session, int andOrType, Value l, Expression right) (package private) static ExpressionConditionAndOr.optimizeIfConstant(SessionLocal session, int andOrType, Expression left, Expression right) Optimize the condition if at least one part is constant.Method parameters in org.h2.expression.condition with type arguments of type ExpressionModifier and TypeMethodDescriptionprivate ExpressionConditionIn.optimize2(SessionLocal session, boolean constant, boolean allValuesConstant, boolean allValuesNull, ArrayList<Expression> values) Constructors in org.h2.expression.condition with parameters of type ExpressionModifierConstructorDescriptionBetweenPredicate(Expression left, boolean not, boolean whenOperand, boolean symmetric, Expression a, Expression b) BooleanTest(Expression left, boolean not, boolean whenOperand, Boolean right) CompareLike(Database db, Expression left, boolean not, boolean whenOperand, Expression right, Expression escape, CompareLike.LikeType likeType) CompareLike(CompareMode compareMode, String defaultEscape, Expression left, boolean not, boolean whenOperand, Expression right, Expression escape, CompareLike.LikeType likeType) Comparison(int compareType, Expression left, Expression right, boolean whenOperand) ConditionAndOr(int andOrType, Expression left, Expression right) ConditionAndOrN(int andOrType, Expression expr1, Expression expr2, Expression expr3) ConditionIn(Expression left, boolean not, boolean whenOperand, ArrayList<Expression> values) Create a new IN(..) condition.(package private)ConditionInConstantSet(SessionLocal session, Expression left, boolean not, boolean whenOperand, ArrayList<Expression> valueList) Create a new IN(..) condition.ConditionInParameter(Expression left, boolean not, boolean whenOperand, Parameter parameter) Create a new= ANY(?)condition.ConditionInQuery(Expression left, boolean not, boolean whenOperand, Query query, boolean all, int compareType) ConditionLocalAndGlobal(Expression local, Expression global) ConditionNot(Expression condition) IsJsonPredicate(Expression left, boolean not, boolean whenOperand, boolean withUniqueKeys, JSONItemType itemType) NullPredicate(Expression left, boolean not, boolean whenOperand) (package private)SimplePredicate(Expression left, boolean not, boolean whenOperand) TypePredicate(Expression left, boolean not, boolean whenOperand, TypeInfo[] typeList) Constructor parameters in org.h2.expression.condition with type arguments of type ExpressionModifierConstructorDescriptionConditionAndOrN(int andOrType, List<Expression> expressions) ConditionIn(Expression left, boolean not, boolean whenOperand, ArrayList<Expression> values) Create a new IN(..) condition.(package private)ConditionInConstantSet(SessionLocal session, Expression left, boolean not, boolean whenOperand, ArrayList<Expression> valueList) Create a new IN(..) condition. -
Uses of Expression in org.h2.expression.function
Subclasses of Expression in org.h2.expression.functionModifier and TypeClassDescriptionfinal classAn array function.final classA bitwise function.final classCardinality expression.final classA cast specification.final classA COALESCE, GREATEST, or LEAST function.final classNEXTVAL() and CURRVAL() compatibility functions.final classA COMPRESS or EXPAND function.final classA CONCAT or CONCAT_WS function.final classAn ENCRYPT or DECRYPT function.final classA CSVWRITE function.final classCurrent datetime value function.final classSimple general value specifications.final classDATA_TYPE_SQL() function.final classA date-time format function.final classA date-time function.final classA DAYNAME() or MONTHNAME() function.final classDB_OBJECT_ID() and DB_OBJECT_SQL() functions.final classA FILE_READ or FILE_WRITE function.classFunction with one optional argument.classFunction with one argument.classFunction with two arguments.classFunction with two arguments.classFunction with many arguments.final classA HASH or ORA_HASH function.final classThis class wraps a user-defined function.final classJSON constructor function.final classCHAR_LENGTH(), or OCTET_LENGTH() function.final classA math function.final classA math function with one argument and DOUBLE PRECISION result.final classA math function with two arguments and DOUBLE PRECISION result.final classA NULLIF function.final classA RAND, SECURE_RAND, or RANDOM_UUID function.final classA regular expression function.final classAn ABORT_SESSION() or CANCEL_SESSION() function.final classA SET function.final classA SIGNAL function.final classA SOUNDEX or DIFFERENCE function.final classAn string function with multiple arguments.final classA string function with one argument.final classA string function with two arguments.final classA SUBSTRING function.final classDatabase or session information function.final classA table information function.final classEmulates Oracle's TO_CHAR function.final classA TRIM function.final classA TRUNCATE_VALUE function.final classAn XML function.Fields in org.h2.expression.function declared as ExpressionModifier and TypeFieldDescriptionprotected ExpressionFunction0_1.argThe argument of the operation.private final Expression[]JavaFunction.argsMethods in org.h2.expression.function that return ExpressionModifier and TypeMethodDescriptionFunction0_1.getSubexpression(int index) JavaFunction.getSubexpression(int index) ArrayFunction.optimize(SessionLocal session) BitFunction.optimize(SessionLocal session) CardinalityExpression.optimize(SessionLocal session) CastSpecification.optimize(SessionLocal session) CoalesceFunction.optimize(SessionLocal session) CompatibilitySequenceValueFunction.optimize(SessionLocal session) CompressFunction.optimize(SessionLocal session) ConcatFunction.optimize(SessionLocal session) CryptFunction.optimize(SessionLocal session) CSVWriteFunction.optimize(SessionLocal session) DataTypeSQLFunction.optimize(SessionLocal session) DateTimeFormatFunction.optimize(SessionLocal session) DateTimeFunction.optimize(SessionLocal session) DayMonthNameFunction.optimize(SessionLocal session) DBObjectFunction.optimize(SessionLocal session) FileFunction.optimize(SessionLocal session) HashFunction.optimize(SessionLocal session) JavaFunction.optimize(SessionLocal session) JsonConstructorFunction.optimize(SessionLocal session) LengthFunction.optimize(SessionLocal session) MathFunction.optimize(SessionLocal session) MathFunction1.optimize(SessionLocal session) MathFunction2.optimize(SessionLocal session) NullIfFunction.optimize(SessionLocal session) RandFunction.optimize(SessionLocal session) RegexpFunction.optimize(SessionLocal session) SessionControlFunction.optimize(SessionLocal session) SetFunction.optimize(SessionLocal session) SignalFunction.optimize(SessionLocal session) SoundexFunction.optimize(SessionLocal session) StringFunction.optimize(SessionLocal session) StringFunction1.optimize(SessionLocal session) StringFunction2.optimize(SessionLocal session) SubstringFunction.optimize(SessionLocal session) TableInfoFunction.optimize(SessionLocal session) ToCharFunction.optimize(SessionLocal session) TrimFunction.optimize(SessionLocal session) TruncateValueFunction.optimize(SessionLocal session) XMLFunction.optimize(SessionLocal session) private ExpressionBitFunction.optimizeNot(SessionLocal session) private ExpressionMathFunction.optimizeRound(int scale, boolean scaleIsKnown, boolean scaleIsNull, boolean possibleRoundUp) Optimizes rounding and truncation functions.private ExpressionMathFunction.optimizeRoundWithScale(SessionLocal session, boolean possibleRoundUp) Methods in org.h2.expression.function with parameters of type ExpressionModifier and TypeMethodDescriptionstatic TypeInfoBitFunction.checkArgType(Expression arg) Checks the type of an argument of bitwise function (one ofBitFunction.BITAND,BitFunction.BITOR,BitFunction.BITXOR,BitFunction.BITNOT,BitFunction.BITNAND,BitFunction.BITNOR,BitFunction.BITXNOR).private static TypeInfoBitFunction.getCommonType(Expression arg1, Expression arg2) private ValueJsonConstructorFunction.jsonArray(SessionLocal session, Expression[] args) private ValueJsonConstructorFunction.jsonObject(SessionLocal session, Expression[] args) Constructors in org.h2.expression.function with parameters of type ExpressionModifierConstructorDescriptionArrayFunction(Expression arg1, Expression arg2, Expression arg3, int function) BitFunction(Expression arg1, Expression arg2, int function) CardinalityExpression(Expression arg, boolean max) Creates new instance of cardinality expression.CastSpecification(Expression arg, Column column) CastSpecification(Expression arg, TypeInfo type) CoalesceFunction(int function, Expression... args) CompatibilitySequenceValueFunction(Expression left, Expression right, boolean current) CompressFunction(Expression arg1, Expression arg2, int function) ConcatFunction(int function, Expression... args) CryptFunction(Expression arg1, Expression arg2, Expression arg3, int function) DataTypeSQLFunction(Expression objectSchema, Expression objectName, Expression objectType, Expression typeIdentifier) DateTimeFunction(int function, int field, Expression arg1, Expression arg2) DayMonthNameFunction(Expression arg, int function) DBObjectFunction(Expression objectType, Expression arg1, Expression arg2, int function) FileFunction(Expression arg1, Expression arg2, int function) protectedFunction0_1(Expression arg) protectedFunction1(Expression arg) protectedFunction1_2(Expression left, Expression right) protectedFunction2(Expression left, Expression right) protectedFunctionN(Expression[] args) HashFunction(Expression arg, int function) HashFunction(Expression arg1, Expression arg2, Expression arg3, int function) JavaFunction(FunctionAlias functionAlias, Expression[] args) LengthFunction(Expression arg, int function) MathFunction(Expression arg1, Expression arg2, int function) MathFunction1(Expression arg, int function) MathFunction2(Expression arg1, Expression arg2, int function) NullIfFunction(Expression arg1, Expression arg2) RandFunction(Expression arg, int function) SessionControlFunction(Expression arg, int function) SetFunction(Expression arg1, Expression arg2) SignalFunction(Expression arg1, Expression arg2) SoundexFunction(Expression arg1, Expression arg2, int function) StringFunction(Expression[] args, int function) StringFunction(Expression arg1, Expression arg2, Expression arg3, int function) StringFunction(Expression arg1, Expression arg2, Expression arg3, Expression arg4, int function) StringFunction1(Expression arg, int function) StringFunction2(Expression arg1, Expression arg2, int function) TableInfoFunction(Expression arg1, Expression arg2, int function) ToCharFunction(Expression arg1, Expression arg2, Expression arg3) TrimFunction(Expression from, Expression space, int flags) TruncateValueFunction(Expression arg1, Expression arg2, Expression arg3) -
Uses of Expression in org.h2.expression.function.table
Fields in org.h2.expression.function.table declared as ExpressionMethods in org.h2.expression.function.table with parameters of type ExpressionModifier and TypeMethodDescriptionvoidTableFunction.addParameter(Expression param) private static StringCSVReadFunction.getValue(SessionLocal session, Expression[] args, int index) Constructors in org.h2.expression.function.table with parameters of type ExpressionModifierConstructorDescriptionJavaTableFunction(FunctionAlias functionAlias, Expression[] args) protectedTableFunction(Expression[] args) -
Uses of Expression in org.h2.fulltext
Methods in org.h2.fulltext with parameters of type ExpressionModifier and TypeMethodDescriptionprivate static voidFullText.addColumnData(SessionLocal session, ArrayList<String> columns, ArrayList<String> data, Expression expr) -
Uses of Expression in org.h2.index
Fields in org.h2.index declared as ExpressionFields in org.h2.index with type parameters of type ExpressionMethods in org.h2.index that return ExpressionMethods in org.h2.index that return types with arguments of type ExpressionMethods in org.h2.index with parameters of type ExpressionModifier and TypeMethodDescriptionstatic IndexConditionIndexCondition.get(int compareType, ExpressionColumn column, Expression expression) Create an index condition with the given parameters.Method parameters in org.h2.index with type arguments of type ExpressionModifier and TypeMethodDescriptionstatic IndexConditionIndexCondition.getInList(ExpressionColumn column, List<Expression> list) Create an index condition with the compare type IN_LIST and with the given parameters.Constructors in org.h2.index with parameters of type ExpressionModifierConstructorDescriptionprivateIndexCondition(int compareType, ExpressionColumn column, Expression expression) -
Uses of Expression in org.h2.mode
Subclasses of Expression in org.h2.modeModifier and TypeClassDescriptionfinal classFunctions forMode.ModeEnum.DB2andMode.ModeEnum.Derbycompatibility modes.classThis class implements some legacy functions not available in Regular mode.final classFunctions forMode.ModeEnum.MSSQLServercompatibility mode.final classThis class implements some MySQL-specific functions.final classFunctions forMode.ModeEnum.Oraclecompatibility mode.final classFunctions forMode.ModeEnum.PostgreSQLcompatibility mode.classBase class for mode-specific functions.final classVALUES(column) function for ON DUPLICATE KEY UPDATE clause.final classA ::regclass expression.Methods in org.h2.mode that return ExpressionModifier and TypeMethodDescriptionFunctionsDB2Derby.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) Methods in org.h2.mode with parameters of type ExpressionModifier and TypeMethodDescription(package private) final Value[]ModeFunction.getArgumentsValues(SessionLocal session, Expression[] args) Gets values of arguments and checks them for NULL values if function returns NULL on NULL argument.(package private) static ValueModeFunction.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.Constructors in org.h2.mode with parameters of type Expression -
Uses of Expression in org.h2.mvstore.db
Fields in org.h2.mvstore.db declared as ExpressionModifier and TypeFieldDescription(package private) final Expression[]MVTempResult.expressionsColumn expressions.Methods in org.h2.mvstore.db with parameters of type ExpressionModifier and TypeMethodDescriptionstatic ResultExternalMVTempResult.of(Database database, Expression[] expressions, boolean distinct, int[] distinctIndexes, int visibleColumnCount, int resultColumnCount, SortOrder sort) Creates MVStore-based temporary result.Constructors in org.h2.mvstore.db with parameters of type ExpressionModifierConstructorDescription(package private)MVPlainTempResult(Database database, Expression[] expressions, int visibleColumnCount, int resultColumnCount) Creates a new plain temporary result.(package private)MVSortedTempResult(Database database, Expression[] expressions, boolean distinct, int[] distinctIndexes, int visibleColumnCount, int resultColumnCount, SortOrder sort) Creates a new sorted temporary result.(package private)MVTempResult(Database database, Expression[] expressions, int visibleColumnCount, int resultColumnCount) Creates a new temporary result. -
Uses of Expression in org.h2.result
Fields in org.h2.result declared as ExpressionModifier and TypeFieldDescriptionprivate final Expression[]LazyResult.expressionsprivate Expression[]LocalResult.expressionsMethods in org.h2.result with parameters of type ExpressionModifier and TypeMethodDescriptionSortOrder.getSQL(StringBuilder builder, Expression[] list, int visible, int sqlFlags) Create the SQL snippet that describes this sort order.Constructors in org.h2.result with parameters of type ExpressionModifierConstructorDescriptionLazyResult(SessionLocal session, Expression[] expressions) LocalResult(SessionLocal session, Expression[] expressions, int visibleColumnCount, int resultColumnCount) Construct a local result object. -
Uses of Expression in org.h2.schema
Fields in org.h2.schema declared as ExpressionModifier and TypeFieldDescriptionprivate ExpressionDomain.defaultExpressionprivate ExpressionDomain.onUpdateExpressionMethods in org.h2.schema that return ExpressionModifier and TypeMethodDescriptionDomain.getDefaultExpression()Domain.getEffectiveDefaultExpression()Domain.getEffectiveOnUpdateExpression()Domain.getOnUpdateExpression()Methods in org.h2.schema with parameters of type ExpressionModifier and TypeMethodDescriptionprivate ObjectFunctionAlias.JavaMethod.execute(SessionLocal session, Expression[] args, boolean columnList) FunctionAlias.findJavaMethod(Expression[] args) Find the Java method that matches the arguments.FunctionAlias.JavaMethod.getTableValue(SessionLocal session, Expression[] args, boolean columnList) Call the table user-defined function and return the value.FunctionAlias.JavaMethod.getValue(SessionLocal session, Expression[] args, boolean columnList) Call the user-defined function and return the value.voidDomain.setDefaultExpression(SessionLocal session, Expression defaultExpression) voidDomain.setOnUpdateExpression(SessionLocal session, Expression onUpdateExpression) -
Uses of Expression in org.h2.table
Fields in org.h2.table declared as ExpressionModifier and TypeFieldDescriptionprivate final Expression[]Plan.allConditionsprivate ExpressionColumn.defaultExpressionprivate final Expression[]DataChangeDeltaTable.expressionsprivate ExpressionTableFilter.filterConditionAdditional conditions that can't be used for index lookup, but for row filter for this table (ID=ID, NAME LIKE '%X%')private ExpressionTableFilter.fullConditionprivate ExpressionTableFilter.joinConditionThe complete join condition.private ExpressionRangeTable.maxprivate ExpressionRangeTable.minprivate final ExpressionTableFilter.MapColumnsVisitor.onprivate ExpressionColumn.onUpdateExpressionprivate ExpressionRangeTable.stepFields in org.h2.table with type parameters of type ExpressionModifier and TypeFieldDescriptionprivate final ArrayList<ArrayList<Expression>> TableValueConstructorTable.rowsMethods in org.h2.table that return ExpressionModifier and TypeMethodDescriptionColumn.getDefaultExpression()ColumnTemplate.getDefaultExpression()Column.getEffectiveDefaultExpression()ColumnTemplate.getEffectiveDefaultExpression()Column.getEffectiveOnUpdateExpression()ColumnTemplate.getEffectiveOnUpdateExpression()TableFilter.getFilterCondition()TableFilter.getJoinCondition()Column.getOnUpdateExpression()ColumnTemplate.getOnUpdateExpression()default ExpressionColumnResolver.optimize(ExpressionColumn expressionColumn, Column column) Get the expression that represents this column.Methods in org.h2.table with parameters of type ExpressionModifier and TypeMethodDescriptionvoidTableFilter.addFilterCondition(Expression condition, boolean isJoin) Add a filter condition.voidTableFilter.addJoin(TableFilter filter, boolean outer, Expression on) Add a joined table.(package private) booleanTableFilter.isOk(Expression condition) Whether the current value of the condition is true, or there is no condition.voidTableFilter.mapAndAddFilter(Expression on) Map the columns and add the join condition.voidColumn.setDefaultExpression(SessionLocal session, Expression defaultExpression) voidColumnTemplate.setDefaultExpression(SessionLocal session, Expression defaultExpression) Set the default expression.voidTableFilter.setFullCondition(Expression condition) voidColumn.setGeneratedExpression(Expression expression) Set the default value in the form of a generated expression of other columns.voidColumn.setOnUpdateExpression(SessionLocal session, Expression onUpdateExpression) voidColumnTemplate.setOnUpdateExpression(SessionLocal session, Expression onUpdateExpression) Set the on update expression.Constructors in org.h2.table with parameters of type ExpressionModifierConstructorDescription(package private)Plan(TableFilter[] filters, int count, Expression condition) Create a query plan with the given order.RangeTable(Schema schema, Expression min, Expression max) Create a new range with the given start and end expressions.RangeTable(Schema schema, Expression min, Expression max, Expression step) Constructor parameters in org.h2.table with type arguments of type ExpressionModifierConstructorDescriptionTableValueConstructorTable(Schema schema, SessionLocal session, Column[] columns, ArrayList<ArrayList<Expression>> rows)