Uses of Class
org.h2.expression.Expression
-
Packages that use Expression Package Description org.h2.command This package contains the parser and the base classes for prepared SQL statements.org.h2.command.ddl Contains DDL (data definition language) and related SQL statements.org.h2.command.dml Contains DML (data manipulation language) and related SQL statements.org.h2.command.query Contains queries.org.h2.constraint Database constraints such as check constraints, unique constraints, and referential constraints.org.h2.expression Expressions include mathematical operations, simple values, and others.org.h2.expression.aggregate Aggregate functions.org.h2.expression.analysis Base classes for data analysis operations and implementations of window functions.org.h2.expression.condition Condition expressions.org.h2.expression.function Functions.org.h2.expression.function.table Table value functions.org.h2.fulltext The native full text search implementation, and the wrapper for the Lucene full text search implementation.org.h2.index Various table index implementations, as well as cursors to navigate in an index.org.h2.mode Utility classes for compatibility with other database, for example MySQL.org.h2.mvstore.db Helper classes to use the MVStore in the H2 database.org.h2.result Implementation of row and internal result sets.org.h2.schema Schema implementation and objects that are stored in a schema (for example, sequences and constants).org.h2.table Classes related to a table and table meta data. -
-
Uses of Expression in org.h2.command
Methods in org.h2.command that return Expression Modifier and Type Method Description private ExpressionParser. addJoinColumn(Expression on, TableFilter filter1, TableFilter filter2, Column column1, Column column2, boolean rightJoin)private ExpressionParser. parseDB2SpecialRegisters(java.lang.String name)ExpressionParser. parseDomainConstraintExpression(java.lang.String sql)Parse a SQL code snippet that represents an expression for a domain constraint.ExpressionParser. parseExpression(java.lang.String sql)Parse a SQL code snippet that represents an expression.private ExpressionParser. readAggregate(AggregateType aggregateType, java.lang.String aggregateName)private ExpressionParser. readAnd(Expression r)private ExpressionParser. readBuiltinFunctionIf(java.lang.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(java.lang.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, java.lang.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, java.lang.String name)private ExpressionParser. readFunctionWithSchema(Schema schema, java.lang.String name, java.lang.String upperName)private ExpressionParser. readIfArgument()private ExpressionParser. readIfSingleArgument()private ExpressionParser. readIfWildcardRowidOrSequencePseudoColumn(java.lang.String schema, java.lang.String objectName)private ExpressionParser. readInPredicate(Expression left, boolean not, boolean whenOperand)private ExpressionParser. readInterval()private ExpressionParser. readJoinSpecification(TableFilter filter1, TableFilter filter2, boolean rightJoin)private ExpressionParser. readKeywordCompatibilityFunctionOrColumn()private 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(java.lang.String objectName)private ExpressionParser. readTermWithIdentifier(java.lang.String name, boolean quoted)private ExpressionParser. readTildeCondition(Expression r, boolean not)private ExpressionParser. readTrimFunction()private ExpressionParser. readUserDefinedFunctionIf(Schema schema, java.lang.String functionName)private ExpressionParser. readWhenOperand(Expression caseOperand)Methods in org.h2.command that return types with arguments of type Expression Modifier and Type Method Description private java.util.ArrayList<Expression>Parser. parseValuesRow(java.util.ArrayList<Expression> row)Methods in org.h2.command with parameters of type Expression Modifier and Type Method Description private 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 java.lang.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, java.lang.Object extraArguments, boolean forHypotheticalSet, boolean simple)Method parameters in org.h2.command with type arguments of type Expression Modifier and Type Method Description private java.util.ArrayList<Expression>Parser. parseValuesRow(java.util.ArrayList<Expression> row) -
Uses of Expression in org.h2.command.ddl
Fields in org.h2.command.ddl declared as Expression Modifier and Type Field Description private 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 Expression Modifier and Type Method Description private static voidAlterTableAlterColumn. checkDefaultReferencesTable(Table table, Expression defaultExpression)private static byte[]CreateUser. getByteArray(SessionLocal session, Expression e)private static java.lang.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 Expression Modifier and Type Field Description (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 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 Expression[]MergeUsing.WhenNotMatched. valuesFields in org.h2.command.dml with type parameters of type Expression Modifier and Type Field Description private java.util.HashMap<Column,Expression>Insert. duplicateKeyAssignmentMapFor MySQL-style INSERT ...private java.util.ArrayList<Expression>ExecuteProcedure. expressionsMethods in org.h2.command.dml that return Expression Modifier and Type Method Description ExpressionFilteredDataChangeStatement. getCondition()ExpressionMergeUsing. getOnCondition()private ExpressionInsert. prepareUpdateCondition(Index foundIndex, Expression[] row)Methods in org.h2.command.dml with parameters of type Expression Modifier and Type Method Description voidInsert. 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(java.util.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.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 Expression Constructor Description ExecuteImmediate(SessionLocal session, Expression statement)RowExpression(Expression expression, int[] columns)SetSimple(Expression expression)WhenNotMatched(Column[] columns, java.lang.Boolean overridingSystem, Expression[] values) -
Uses of Expression in org.h2.command.query
Fields in org.h2.command.query declared as Expression Modifier and Type Field Description ExpressionQueryOrderBy. columnIndexExprThe column index expression.private ExpressionOptimizer. conditionprivate ExpressionSelect. conditionWHERE condition.private Expression[]Select. distinctExpressionsDISTINCT ON(...)expressions.ExpressionQueryOrderBy. expressionThe order by expression.(package private) Expression[]Query. expressionArrayArray of expressions.private 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 Expression Modifier and Type Field Description (package private) java.util.ArrayList<Expression>Query. expressionsThe column list, including invisible expressions such as order by expressions.(package private) java.util.ArrayList<Expression>SelectGroups. expressionsThe query's column list, including invisible expressions such as order by expressions.private java.util.HashMap<Expression,java.lang.Integer>SelectGroups. exprToIndexInGroupByDataMaps an expression object to an index, to use in accessing the Object[] pointed to by groupByData.private java.util.ArrayList<Expression>Select. groupprivate java.util.ArrayList<java.util.ArrayList<Expression>>TableValueConstructor. rowsMethods in org.h2.command.query that return Expression Modifier and Type Method Description private static ExpressionSelect. addGlobalCondition(Expression condition, Expression additional)ExpressionSelect. getCondition()ExpressionQuery. getFetch()ExpressionSelect. getHaving()ExpressionQuery. getIfSingleRow()If this query is determined as a single-row query, returns a replacement expression.ExpressionSelect. getIfSingleRow()ExpressionTableValueConstructor. getIfSingleRow()ExpressionQuery. getOffset()ExpressionSelect. getQualify()ExpressionSelectListColumnResolver. optimize(ExpressionColumn expressionColumn, Column column)ExpressionTableValueConstructor.TableValueColumnResolver. optimize(ExpressionColumn expressionColumn, Column column)Methods in org.h2.command.query that return types with arguments of type Expression Modifier and Type Method Description java.util.ArrayList<Expression>Query. getExpressions()The the list of select expressions.java.util.ArrayList<Expression>Select. getGroupBy()Methods in org.h2.command.query with parameters of type Expression Modifier and Type Method Description voidSelect. addCondition(Expression cond)Add a condition to the list of conditions.private static ExpressionSelect. addGlobalCondition(Expression condition, Expression additional)(package private) voidQuery. appendEndOfQueryToSQL(java.lang.StringBuilder builder, int sqlFlags, Expression[] expressions)Appends ORDER BY, OFFSET, and FETCH clauses to the plan.private static booleanQuery. checkOrderOther(SessionLocal session, Expression expr, java.util.ArrayList<java.lang.String> expressionSQL)An additional check for expression in ORDER BY list for DISTINCT selects that was not matched with selected expressions in regular way.private static booleanSelect. containsAggregate(Expression expression)java.lang.ObjectSelectGroups. getCurrentGroupExprData(Expression expr)Get the group-by data for the current group and the passed in expression.private static voidSelect. getFilterSQL(java.lang.StringBuilder builder, java.lang.String sql, Expression[] exprList, Expression condition, int conditionIndex, int sqlFlags)private static voidSelect. getFilterSQL(java.lang.StringBuilder builder, java.lang.String sql, Expression condition, int sqlFlags)(package private) intQuery. initExpression(java.util.ArrayList<java.lang.String> expressionSQL, Expression e, boolean mustBeInResult, java.util.ArrayList<TableFilter> filters)Initialize the 'ORDER BY' or 'DISTINCT' expressions.voidSelectGroups. setCurrentGroupExprData(Expression expr, java.lang.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 Expression Modifier and Type Method Description static SelectGroupsSelectGroups. getInstance(SessionLocal session, java.util.ArrayList<Expression> expressions, boolean isGroupQuery, int[] groupIndex)Creates new instance of grouped data.static voidTableValueConstructor. getValuesSQL(java.lang.StringBuilder builder, int sqlFlags, java.util.ArrayList<java.util.ArrayList<Expression>> rows)Appends the SQL of the values to the specified string builder..static voidTableValueConstructor. getVisibleResult(SessionLocal session, ResultTarget result, Column[] columns, java.util.ArrayList<java.util.ArrayList<Expression>> rows)Appends visible columns of all rows to the specified result.voidSelect. setExpressions(java.util.ArrayList<Expression> expressions)voidSelect. setGroupBy(java.util.ArrayList<Expression> group)Constructors in org.h2.command.query with parameters of type Expression Constructor Description LazyResultGroupSorted(Expression[] expressions, int columnCount)LazyResultQueryFlat(Expression[] expressions, int columnCount, boolean forUpdate)LazyResultSelect(Expression[] expressions, int columnCount)LazyResultUnion(Expression[] expressions, int columnCount)Optimizer(TableFilter[] filters, Expression condition, SessionLocal session)Constructor parameters in org.h2.command.query with type arguments of type Expression Constructor Description Grouped(SessionLocal session, java.util.ArrayList<Expression> expressions, int[] groupIndex)Plain(SessionLocal session, java.util.ArrayList<Expression> expressions)SelectGroups(SessionLocal session, java.util.ArrayList<Expression> expressions)TableValueConstructor(SessionLocal session, java.util.ArrayList<java.util.ArrayList<Expression>> rows)Creates new instance of table value constructor. -
Uses of Expression in org.h2.constraint
Fields in org.h2.constraint declared as Expression Modifier and Type Field Description private ExpressionConstraintCheck. exprprivate ExpressionConstraintDomain. exprMethods in org.h2.constraint that return Expression Modifier and Type Method Description ExpressionConstraintDomain. getCheckConstraint(SessionLocal session, java.lang.String columnName)Get the check constraint expression for this column.ExpressionConstraint. getExpression()Returns the CHECK expression or null.ExpressionConstraintCheck. getExpression()ExpressionConstraintDomain. getExpression()Methods in org.h2.constraint with parameters of type Expression Modifier and Type Method Description voidConstraintCheck. 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.expression Modifier and Type Class Description classAliasA column alias as in SELECT 'Hello' AS NAME ...classArrayConstructorByQueryArray value constructor by query.classArrayElementReferenceArray element reference.classBinaryOperationA mathematical expression, or string concatenation.classCompatibilityDatePlusTimeOperationA compatibility mathematical operation with datetime values.classConcatenationOperationCharacter string concatenation as in'Hello' || 'World', binary string concatenation as inX'01' || X'AB'or an array concatenation as inARRAY[1, 2] || 3.classDomainValueExpressionAn expression representing a value for domain constraint.classExpressionColumnA column reference expression that represents a column of a table or view.classExpressionListA list of expressions, as in (ID, NAME).classFieldReferenceField reference.classFormatA format clause such as FORMAT JSON.classIntervalOperationA mathematical operation with intervals.classOperation0Operation without subexpressions.classOperation1Operation with one argument.classOperation1_2Operation with one or two arguments.classOperation2Operation with two arguments.classOperationNOperation with many arguments.classParameterA parameter of a prepared statement.classRownumRepresents the ROWNUM function.classSearchedCaseA searched case.classSequenceValueWraps a sequence when used in a statement.classSimpleCaseA simple case.classSubqueryA query returning a single value.classTimeZoneOperationA time zone specification (AT { TIME ZONE | LOCAL }).classTypedValueExpressionAn expression representing a constant value with a type cast.classUnaryOperationUnary operation.classValueExpressionAn expression representing a constant value.classVariableA user-defined variable, for example: @ID.classWildcardA wildcard expression as in SELECT * FROM TEST.Fields in org.h2.expression declared as Expression Modifier and Type Field Description protected 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 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 Expression Modifier and Type Method Description ExpressionAlias. getNonAliasExpression()ExpressionExpression. getNonAliasExpression()Returns the main expression, skipping aliases.ExpressionExpression. getNotIfPossible(SessionLocal session)If it is possible, return the negated expression.ExpressionExpressionColumn. getNotIfPossible(SessionLocal session)ExpressionParameter. getNotIfPossible(SessionLocal session)ExpressionValueExpression. getNotIfPossible(SessionLocal session)ExpressionExpression. getSubexpression(int index)Returns subexpression with specified index.ExpressionExpressionList. getSubexpression(int index)ExpressionOperation1_2. getSubexpression(int index)ExpressionOperation1. getSubexpression(int index)ExpressionOperation2. getSubexpression(int index)ExpressionOperationN. getSubexpression(int index)ExpressionSimpleCase. getSubexpression(int index)ExpressionAlias. optimize(SessionLocal session)ExpressionArrayConstructorByQuery. optimize(SessionLocal session)ExpressionArrayElementReference. optimize(SessionLocal session)ExpressionBinaryOperation. optimize(SessionLocal session)ExpressionCompatibilityDatePlusTimeOperation. optimize(SessionLocal session)ExpressionConcatenationOperation. optimize(SessionLocal session)ExpressionDomainValueExpression. optimize(SessionLocal session)abstract ExpressionExpression. optimize(SessionLocal session)Try to optimize the expression.ExpressionExpressionColumn. optimize(SessionLocal session)ExpressionExpressionList. optimize(SessionLocal session)ExpressionFieldReference. optimize(SessionLocal session)ExpressionFormat. optimize(SessionLocal session)ExpressionIntervalOperation. optimize(SessionLocal session)ExpressionOperation0. optimize(SessionLocal session)ExpressionParameter. optimize(SessionLocal session)ExpressionRownum. optimize(SessionLocal session)ExpressionSearchedCase. optimize(SessionLocal session)ExpressionSimpleCase. optimize(SessionLocal session)ExpressionSubquery. optimize(SessionLocal session)ExpressionTimeZoneOperation. optimize(SessionLocal session)ExpressionUnaryOperation. optimize(SessionLocal session)ExpressionWildcard. optimize(SessionLocal session)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 Expression Modifier and Type Method Description voidExpressionWithVariableParameters. addParameter(Expression param)Adds the parameter expression.voidOperationN. addParameter(Expression param)(package private) static TypeInfoSimpleCase. combineTypes(TypeInfo typeInfo, Expression e)static java.lang.StringBuilderExpression. writeExpressions(java.lang.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 Expression Modifier and Type Method Description static java.lang.StringBuilderExpression. writeExpressions(java.lang.StringBuilder builder, java.util.List<? extends Expression> expressions, int sqlFlags)Get the SQL snippet for a list of expressions. -
Uses of Expression in org.h2.expression.aggregate
Subclasses of Expression in org.h2.expression.aggregate Modifier and Type Class Description classAbstractAggregateA base class for aggregate functions.classAggregateImplements the integrated aggregate functions, such as COUNT, MAX, SUM.classJavaAggregateThis class wraps a user-defined aggregate.Fields in org.h2.expression.aggregate declared as Expression Modifier and Type Field Description protected Expression[]AbstractAggregate. argsThe arguments.protected ExpressionAbstractAggregate. filterConditionFILTER condition for aggregateMethods in org.h2.expression.aggregate that return Expression Modifier and Type Method Description ExpressionAbstractAggregate. getSubexpression(int index)ExpressionAbstractAggregate. optimize(SessionLocal session)ExpressionAggregate. optimize(SessionLocal session)ExpressionJavaAggregate. optimize(SessionLocal session)Methods in org.h2.expression.aggregate with parameters of type Expression Modifier and Type Method Description (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, java.util.ArrayList<QueryOrderBy> orderByList, java.math.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 Expression Constructor Description 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.analysis Modifier and Type Class Description classDataAnalysisOperationA base class for data analysis operations such as aggregates and window functions.classWindowFunctionA window function.Fields in org.h2.expression.analysis declared as Expression Modifier and Type Field Description private Expression[]WindowFunction. argsprivate ExpressionWindowFrameBound. valueFields in org.h2.expression.analysis with type parameters of type Expression Modifier and Type Field Description private java.util.ArrayList<Expression>Window. partitionByMethods in org.h2.expression.analysis that return Expression Modifier and Type Method Description ExpressionWindowFrameBound. getValue()Returns the value.ExpressionDataAnalysisOperation. optimize(SessionLocal session)ExpressionWindowFunction. optimize(SessionLocal session)Constructors in org.h2.expression.analysis with parameters of type Expression Constructor Description WindowFrameBound(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 Expression Constructor Description Window(java.lang.String parent, java.util.ArrayList<Expression> partitionBy, java.util.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.condition Modifier and Type Class Description classBetweenPredicateBETWEEN predicate.classBooleanTestBoolean test (IS [NOT] { TRUE | FALSE | UNKNOWN }).classCompareLikePattern matching comparison expression: WHERE NAME LIKE ?classComparisonExample comparison expressions are ID=1, NAME=NAME, NAME IS NULL.(package private) classConditionRepresents a condition returning a boolean value, or NULL.classConditionAndOrAn 'and' or 'or' condition as in WHERE ID=1 AND NAME=?classConditionAndOrNAn 'and' or 'or' condition as in WHERE ID=1 AND NAME=? with N operands.classConditionInAn 'in' condition with a list of values, as in WHERE NAME IN(...)classConditionInConstantSetUsed for optimised IN(...) queries where the contents of the IN list are all constant and of the same type.classConditionInParameterA condition with parameter as= ANY(?).classConditionInQueryAn IN() condition with a subquery, as in WHERE ID IN(SELECT ...)classConditionLocalAndGlobalA global condition or combination of local and global conditions.classConditionNotA NOT condition.classExistsPredicateExists predicate as in EXISTS(SELECT ...)classIsJsonPredicateIS JSON predicate.classNullPredicateNull predicate (IS [NOT] NULL).(package private) classPredicateWithSubqueryBase class for predicates with a subquery.classSimplePredicateBase class for simple predicates.classTypePredicateType predicate (IS [NOT] OF).classUniquePredicateUnique predicate as in UNIQUE(SELECT ...)Fields in org.h2.expression.condition declared as Expression Modifier and Type Field Description private 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 Expression Modifier and Type Field Description private java.util.List<Expression>ConditionAndOrN. addedAdditional conditions for index only.private static java.util.Comparator<Expression>ConditionAndOrN. COMPARE_BY_COSTprivate java.util.List<Expression>ConditionAndOrN. expressionsUse an ArrayDeque because we primarily insert at the front.private java.util.ArrayList<Expression>ConditionIn. valueListprivate java.util.ArrayList<Expression>ConditionInConstantSet. valueListMethods in org.h2.expression.condition that return Expression Modifier and Type Method Description (package private) static ExpressionCondition. castToBoolean(SessionLocal session, Expression expression)Add a cast around the expression (if necessary) so that the type is boolean.ExpressionConditionInParameter.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.ExpressionBetweenPredicate. getNotIfPossible(SessionLocal session)ExpressionBooleanTest. getNotIfPossible(SessionLocal session)ExpressionCompareLike. getNotIfPossible(SessionLocal session)ExpressionComparison. getNotIfPossible(SessionLocal session)ExpressionConditionAndOr. getNotIfPossible(SessionLocal session)ExpressionConditionAndOrN. getNotIfPossible(SessionLocal session)ExpressionConditionIn. getNotIfPossible(SessionLocal session)ExpressionConditionInConstantSet. getNotIfPossible(SessionLocal session)ExpressionConditionInParameter. getNotIfPossible(SessionLocal session)ExpressionConditionInQuery. getNotIfPossible(SessionLocal session)ExpressionConditionNot. getNotIfPossible(SessionLocal session)ExpressionIsJsonPredicate. getNotIfPossible(SessionLocal session)ExpressionNullPredicate. getNotIfPossible(SessionLocal session)ExpressionTypePredicate. getNotIfPossible(SessionLocal session)ExpressionBetweenPredicate. getSubexpression(int index)ExpressionCompareLike. getSubexpression(int index)ExpressionComparison. getSubexpression(int index)ExpressionConditionAndOr. getSubexpression(int index)ExpressionConditionAndOrN. getSubexpression(int index)ExpressionConditionIn. getSubexpression(int index)ExpressionConditionInConstantSet. getSubexpression(int index)ExpressionConditionLocalAndGlobal. getSubexpression(int index)ExpressionConditionNot. getSubexpression(int index)ExpressionIsJsonPredicate. getSubexpression(int index)ExpressionSimplePredicate. getSubexpression(int index)ExpressionBetweenPredicate. optimize(SessionLocal session)ExpressionCompareLike. optimize(SessionLocal session)ExpressionComparison. optimize(SessionLocal session)ExpressionConditionAndOr. optimize(SessionLocal session)ExpressionConditionAndOrN. optimize(SessionLocal session)ExpressionConditionIn. optimize(SessionLocal session)ExpressionConditionInConstantSet. optimize(SessionLocal session)ExpressionConditionInParameter. optimize(SessionLocal session)ExpressionConditionInQuery. optimize(SessionLocal session)ExpressionConditionLocalAndGlobal. optimize(SessionLocal session)ExpressionConditionNot. optimize(SessionLocal session)ExpressionIsJsonPredicate. optimize(SessionLocal session)ExpressionNullPredicate. optimize(SessionLocal session)ExpressionPredicateWithSubquery. optimize(SessionLocal session)ExpressionSimplePredicate. optimize(SessionLocal session)ExpressionTypePredicate. optimize(SessionLocal session)ExpressionUniquePredicate. optimize(SessionLocal session)private ExpressionConditionIn. optimize2(SessionLocal session, boolean constant, boolean allValuesConstant, boolean allValuesNull, java.util.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 Expression Modifier and Type Method Description (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 Expression Modifier and Type Method Description private ExpressionConditionIn. optimize2(SessionLocal session, boolean constant, boolean allValuesConstant, boolean allValuesNull, java.util.ArrayList<Expression> values)Constructors in org.h2.expression.condition with parameters of type Expression Constructor Description BetweenPredicate(Expression left, boolean not, boolean whenOperand, boolean symmetric, Expression a, Expression b)BooleanTest(Expression left, boolean not, boolean whenOperand, java.lang.Boolean right)CompareLike(Database db, Expression left, boolean not, boolean whenOperand, Expression right, Expression escape, CompareLike.LikeType likeType)CompareLike(CompareMode compareMode, java.lang.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, java.util.ArrayList<Expression> values)Create a new IN(..) condition.ConditionInConstantSet(SessionLocal session, Expression left, boolean not, boolean whenOperand, java.util.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)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 Expression Constructor Description ConditionAndOrN(int andOrType, java.util.List<Expression> expressions)ConditionIn(Expression left, boolean not, boolean whenOperand, java.util.ArrayList<Expression> values)Create a new IN(..) condition.ConditionInConstantSet(SessionLocal session, Expression left, boolean not, boolean whenOperand, java.util.ArrayList<Expression> valueList)Create a new IN(..) condition. -
Uses of Expression in org.h2.expression.function
Subclasses of Expression in org.h2.expression.function Modifier and Type Class Description classArrayFunctionAn array function.classBitFunctionA bitwise function.classCardinalityExpressionCardinality expression.classCastSpecificationA cast specification.classCoalesceFunctionA COALESCE, GREATEST, or LEAST function.classCompatibilitySequenceValueFunctionNEXTVAL() and CURRVAL() compatibility functions.classCompressFunctionA COMPRESS or EXPAND function.classConcatFunctionA CONCAT or CONCAT_WS function.classCryptFunctionAn ENCRYPT or DECRYPT function.classCSVWriteFunctionA CSVWRITE function.classCurrentDateTimeValueFunctionCurrent datetime value function.classCurrentGeneralValueSpecificationSimple general value specifications.classDataTypeSQLFunctionDATA_TYPE_SQL() function.classDateTimeFormatFunctionA date-time format function.classDateTimeFunctionA date-time function.classDayMonthNameFunctionA DAYNAME() or MONTHNAME() function.classDBObjectFunctionDB_OBJECT_ID() and DB_OBJECT_SQL() functions.classFileFunctionA FILE_READ or FILE_WRITE function.classFunction0_1Function with one optional argument.classFunction1Function with one argument.classFunction1_2Function with two arguments.classFunction2Function with two arguments.classFunctionNFunction with many arguments.classHashFunctionA HASH or ORA_HASH function.classJavaFunctionThis class wraps a user-defined function.classJsonConstructorFunctionJSON constructor function.classLengthFunctionCHAR_LENGTH(), or OCTET_LENGTH() function.classMathFunctionA math function.classMathFunction1A math function with one argument and DOUBLE PRECISION result.classMathFunction2A math function with two arguments and DOUBLE PRECISION result.classNullIfFunctionA NULLIF function.classRandFunctionA RAND, SECURE_RAND, or RANDOM_UUID function.classRegexpFunctionA regular expression function.classSessionControlFunctionAn ABORT_SESSION() or CANCEL_SESSION() function.classSetFunctionA SET function.classSignalFunctionA SIGNAL function.classSoundexFunctionA SOUNDEX or DIFFERENCE function.classStringFunctionAn string function with multiple arguments.classStringFunction1A string function with one argument.classStringFunction2A string function with two arguments.classSubstringFunctionA SUBSTRING function.classSysInfoFunctionDatabase or session information function.classTableInfoFunctionA table information function.classToCharFunctionEmulates Oracle's TO_CHAR function.classTrimFunctionA TRIM function.classTruncateValueFunctionA TRUNCATE_VALUE function.classXMLFunctionAn XML function.Fields in org.h2.expression.function declared as Expression Modifier and Type Field Description protected ExpressionFunction0_1. argThe argument of the operation.private Expression[]JavaFunction. argsMethods in org.h2.expression.function that return Expression Modifier and Type Method Description ExpressionFunction0_1. getSubexpression(int index)ExpressionJavaFunction. getSubexpression(int index)ExpressionArrayFunction. optimize(SessionLocal session)ExpressionBitFunction. optimize(SessionLocal session)ExpressionCardinalityExpression. optimize(SessionLocal session)ExpressionCastSpecification. optimize(SessionLocal session)ExpressionCoalesceFunction. optimize(SessionLocal session)ExpressionCompatibilitySequenceValueFunction. optimize(SessionLocal session)ExpressionCompressFunction. optimize(SessionLocal session)ExpressionConcatFunction. optimize(SessionLocal session)ExpressionCryptFunction. optimize(SessionLocal session)ExpressionCSVWriteFunction. optimize(SessionLocal session)ExpressionDataTypeSQLFunction. optimize(SessionLocal session)ExpressionDateTimeFormatFunction. optimize(SessionLocal session)ExpressionDateTimeFunction. optimize(SessionLocal session)ExpressionDayMonthNameFunction. optimize(SessionLocal session)ExpressionDBObjectFunction. optimize(SessionLocal session)ExpressionFileFunction. optimize(SessionLocal session)ExpressionHashFunction. optimize(SessionLocal session)ExpressionJavaFunction. optimize(SessionLocal session)ExpressionJsonConstructorFunction. optimize(SessionLocal session)ExpressionLengthFunction. optimize(SessionLocal session)ExpressionMathFunction. optimize(SessionLocal session)ExpressionMathFunction1. optimize(SessionLocal session)ExpressionMathFunction2. optimize(SessionLocal session)ExpressionNullIfFunction. optimize(SessionLocal session)ExpressionRandFunction. optimize(SessionLocal session)ExpressionRegexpFunction. optimize(SessionLocal session)ExpressionSessionControlFunction. optimize(SessionLocal session)ExpressionSetFunction. optimize(SessionLocal session)ExpressionSignalFunction. optimize(SessionLocal session)ExpressionSoundexFunction. optimize(SessionLocal session)ExpressionStringFunction. optimize(SessionLocal session)ExpressionStringFunction1. optimize(SessionLocal session)ExpressionStringFunction2. optimize(SessionLocal session)ExpressionSubstringFunction. optimize(SessionLocal session)ExpressionTableInfoFunction. optimize(SessionLocal session)ExpressionToCharFunction. optimize(SessionLocal session)ExpressionTrimFunction. optimize(SessionLocal session)ExpressionTruncateValueFunction. optimize(SessionLocal session)ExpressionXMLFunction. 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 Expression Modifier and Type Method Description static 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) -
Uses of Expression in org.h2.expression.function.table
Fields in org.h2.expression.function.table declared as Expression Modifier and Type Field Description protected Expression[]TableFunction. argsMethods in org.h2.expression.function.table with parameters of type Expression Modifier and Type Method Description voidTableFunction. addParameter(Expression param)private static java.lang.StringCSVReadFunction. getValue(SessionLocal session, Expression[] args, int index)Constructors in org.h2.expression.function.table with parameters of type Expression Constructor Description JavaTableFunction(FunctionAlias functionAlias, Expression[] args)TableFunction(Expression[] args) -
Uses of Expression in org.h2.fulltext
Methods in org.h2.fulltext with parameters of type Expression Modifier and Type Method Description private static voidFullText. addColumnData(SessionLocal session, java.util.ArrayList<java.lang.String> columns, java.util.ArrayList<java.lang.String> data, Expression expr) -
Uses of Expression in org.h2.index
Fields in org.h2.index declared as Expression Modifier and Type Field Description private ExpressionIndexCondition. expressionFields in org.h2.index with type parameters of type Expression Modifier and Type Field Description private java.util.List<Expression>IndexCondition. expressionListMethods in org.h2.index that return Expression Modifier and Type Method Description ExpressionIndexCondition. getExpression()Get expression.Methods in org.h2.index that return types with arguments of type Expression Modifier and Type Method Description java.util.List<Expression>IndexCondition. getExpressionList()Get expression list.Methods in org.h2.index with parameters of type Expression Modifier and Type Method Description static 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 Expression Modifier and Type Method Description static IndexConditionIndexCondition. getInList(ExpressionColumn column, java.util.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 Expression Constructor Description IndexCondition(int compareType, ExpressionColumn column, Expression expression) -
Uses of Expression in org.h2.mode
Subclasses of Expression in org.h2.mode Modifier and Type Class Description classFunctionsDB2DerbyFunctions forMode.ModeEnum.DB2andMode.ModeEnum.Derbycompatibility modes.classFunctionsLegacyThis class implements some legacy functions not available in Regular mode.classFunctionsMSSQLServerFunctions forMode.ModeEnum.MSSQLServercompatibility mode.classFunctionsMySQLThis class implements some MySQL-specific functions.classFunctionsOracleFunctions forMode.ModeEnum.Oraclecompatibility mode.classFunctionsPostgreSQLFunctions forMode.ModeEnum.PostgreSQLcompatibility mode.classModeFunctionBase class for mode-specific functions.classOnDuplicateKeyValuesVALUES(column) function for ON DUPLICATE KEY UPDATE clause.classRegclassA ::regclass expression.Methods in org.h2.mode that return Expression Modifier and Type Method Description ExpressionFunctionsDB2Derby. optimize(SessionLocal session)ExpressionFunctionsLegacy. optimize(SessionLocal session)ExpressionFunctionsMSSQLServer. optimize(SessionLocal session)ExpressionFunctionsMySQL. optimize(SessionLocal session)ExpressionFunctionsOracle. optimize(SessionLocal session)ExpressionFunctionsPostgreSQL. optimize(SessionLocal session)ExpressionRegclass. optimize(SessionLocal session)Methods in org.h2.mode with parameters of type Expression Modifier and Type Method Description (package private) Value[]ModeFunction. getArgumentsValues(SessionLocal session, Expression[] args)Gets values of arguments and checks them for NULL values if function returns NULL on NULL argument.(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 Constructor Description Regclass(Expression arg) -
Uses of Expression in org.h2.mvstore.db
Fields in org.h2.mvstore.db declared as Expression Modifier and Type Field Description (package private) Expression[]MVTempResult. expressionsColumn expressions.Methods in org.h2.mvstore.db with parameters of type Expression Modifier and Type Method Description static 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 Expression Constructor Description MVPlainTempResult(Database database, Expression[] expressions, int visibleColumnCount, int resultColumnCount)Creates a new plain temporary result.MVSortedTempResult(Database database, Expression[] expressions, boolean distinct, int[] distinctIndexes, int visibleColumnCount, int resultColumnCount, SortOrder sort)Creates a new sorted temporary result.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 Expression Modifier and Type Field Description private Expression[]LazyResult. expressionsprivate Expression[]LocalResult. expressionsMethods in org.h2.result with parameters of type Expression Modifier and Type Method Description java.lang.StringBuilderSortOrder. getSQL(java.lang.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 Expression Constructor Description LazyResult(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 Expression Modifier and Type Field Description private ExpressionDomain. defaultExpressionprivate ExpressionDomain. onUpdateExpressionMethods in org.h2.schema that return Expression Modifier and Type Method Description ExpressionDomain. getDefaultExpression()ExpressionDomain. getEffectiveDefaultExpression()ExpressionDomain. getEffectiveOnUpdateExpression()ExpressionDomain. getOnUpdateExpression()Methods in org.h2.schema with parameters of type Expression Modifier and Type Method Description private java.lang.ObjectFunctionAlias.JavaMethod. execute(SessionLocal session, Expression[] args, boolean columnList)FunctionAlias.JavaMethodFunctionAlias. findJavaMethod(Expression[] args)Find the Java method that matches the arguments.ResultInterfaceFunctionAlias.JavaMethod. getTableValue(SessionLocal session, Expression[] args, boolean columnList)Call the table user-defined function and return the value.ValueFunctionAlias.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 Expression Modifier and Type Field Description private Expression[]Plan. allConditionsprivate ExpressionColumn. defaultExpressionprivate 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 ExpressionTableFilter.MapColumnsVisitor. onprivate ExpressionColumn. onUpdateExpressionprivate ExpressionRangeTable. stepFields in org.h2.table with type parameters of type Expression Modifier and Type Field Description private java.util.ArrayList<java.util.ArrayList<Expression>>TableValueConstructorTable. rowsMethods in org.h2.table that return Expression Modifier and Type Method Description ExpressionColumn. getDefaultExpression()ExpressionColumnTemplate. getDefaultExpression()ExpressionColumn. getEffectiveDefaultExpression()ExpressionColumnTemplate. getEffectiveDefaultExpression()ExpressionColumn. getEffectiveOnUpdateExpression()ExpressionColumnTemplate. getEffectiveOnUpdateExpression()ExpressionTableFilter. getFilterCondition()ExpressionTableFilter. getJoinCondition()ExpressionColumn. getOnUpdateExpression()ExpressionColumnTemplate. getOnUpdateExpression()default ExpressionColumnResolver. optimize(ExpressionColumn expressionColumn, Column column)Get the expression that represents this column.Methods in org.h2.table with parameters of type Expression Modifier and Type Method Description voidTableFilter. 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 Expression Constructor Description MapColumnsVisitor(Expression on)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 Expression Constructor Description TableValueConstructorTable(Schema schema, SessionLocal session, Column[] columns, java.util.ArrayList<java.util.ArrayList<Expression>> rows)
-