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.
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 TypeMethodDescriptionParser.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.Methods in org.h2.command with parameters of type ExpressionModifier and TypeMethodDescriptionstatic StringPrepared.getSimpleSQL(Expression[] list) Get the SQL snippet of the expression list. -
Uses of Expression in org.h2.command.ddl
Methods in org.h2.command.ddl with parameters of type ExpressionModifier and TypeMethodDescriptionvoidSequenceOptions.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) voidCreateUser.setPassword(Expression password) voidSequenceOptions.setRestartValue(Expression restart) Sets restart value expression, orValueExpression.DEFAULT.voidAlterUser.setSalt(Expression e) voidCreateUser.setSalt(Expression e) 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
Methods in org.h2.command.dml that return ExpressionMethods 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.voidMergeUsing.When.setAndCondition(Expression andCondition) Sets the specified AND condition.voidCall.setExpression(Expression expression) voidExecuteProcedure.setExpression(int index, Expression expr) Set the expression at the given index.voidSet.setExpression(Expression expression) voidBackupCommand.setFileName(Expression fileName) voidMergeUsing.setOnCondition(Expression condition) Constructors in org.h2.command.dml with parameters of type ExpressionModifierConstructorDescriptionExecuteImmediate(SessionLocal session, Expression statement) 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.QueryOrderBy.expressionThe order by expression.Methods in org.h2.command.query that return ExpressionModifier and TypeMethodDescriptionSelect.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) 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.final ObjectSelectGroups.getCurrentGroupExprData(Expression expr) Get the group-by data for the current group and the passed in expression.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) Constructor parameters in org.h2.command.query with type arguments of type ExpressionModifierConstructorDescriptionTableValueConstructor(SessionLocal session, ArrayList<ArrayList<Expression>> rows) Creates new instance of table value constructor. -
Uses of Expression in org.h2.constraint
Methods 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.protected ExpressionOperation1_2.leftThe left part of the operation (the first argument).protected ExpressionOperation2.leftThe left part of the operation (the first argument).protected 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.Methods in org.h2.expression with parameters of type ExpressionModifier and TypeMethodDescriptionvoidExpressionWithVariableParameters.addParameter(Expression param) Adds the parameter expression.voidOperationN.addParameter(Expression param) 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 TypeMethodDescriptionvoidAbstractAggregate.setFilterCondition(Expression filterCondition) Sets the FILTER condition.Constructors in org.h2.expression.aggregate with parameters of type ExpressionModifierConstructorDescriptionAggregate(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.Methods 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.classAn 'and' or 'or' condition as in WHERE ID=1 AND NAME=?classAn 'and' or 'or' condition as in WHERE ID=1 AND NAME=?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).classBase class for simple predicates.final classType predicate (IS [NOT] OF).classUnique predicate as in UNIQUE(SELECT ...)Methods in org.h2.expression.condition that return ExpressionModifier and TypeMethodDescriptionBetweenPredicate.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) SimplePredicate.optimize(SessionLocal session) TypePredicate.optimize(SessionLocal session) UniquePredicate.optimize(SessionLocal session) 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.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) 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. -
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.Methods 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) 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).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 ExpressionConstructors in org.h2.expression.function.table with parameters of type ExpressionModifierConstructorDescriptionJavaTableFunction(FunctionAlias functionAlias, Expression[] args) protectedTableFunction(Expression[] args) -
Uses of Expression in org.h2.index
Methods 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. -
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) Constructors in org.h2.mode with parameters of type Expression -
Uses of Expression in org.h2.mvstore.db
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. -
Uses of Expression in org.h2.result
Methods 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
Methods 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 TypeMethodDescriptionFunctionAlias.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
Methods 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.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 ExpressionModifierConstructorDescriptionPlan(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)