| 程序包 | 说明 |
|---|---|
| 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.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.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Expression |
Parser.parseDomainConstraintExpression(String sql)
Parse a SQL code snippet that represents an expression for a domain constraint.
|
Expression |
Parser.parseDomainConstraintExpression(String sql)
Parse a SQL code snippet that represents an expression for a domain constraint.
|
Expression |
Parser.parseExpression(String sql)
Parse a SQL code snippet that represents an expression.
|
Expression |
Parser.parseExpression(String sql)
Parse a SQL code snippet that represents an expression.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
Prepared.getSimpleSQL(Expression[] list)
Get the SQL snippet of the expression list.
|
static String |
Prepared.getSimpleSQL(Expression[] list)
Get the SQL snippet of the expression list.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
SequenceOptions.setCacheSize(Expression cacheSize)
Sets cache size.
|
void |
SequenceOptions.setCacheSize(Expression cacheSize)
Sets cache size.
|
void |
AlterDomainAddConstraint.setCheckExpression(Expression expression) |
void |
AlterTableAddConstraint.setCheckExpression(Expression expression) |
void |
AlterTableAddConstraint.setCheckExpression(Expression expression) |
void |
AlterDomainAddConstraint.setCheckExpression(Expression expression) |
void |
SetComment.setCommentExpression(Expression expr) |
void |
SetComment.setCommentExpression(Expression expr) |
void |
AlterTableAlterColumn.setDefaultExpression(Expression defaultExpression)
Set default or on update expression.
|
void |
CreateDomain.setDefaultExpression(Expression defaultExpression) |
void |
CreateDomain.setDefaultExpression(Expression defaultExpression) |
void |
AlterTableAlterColumn.setDefaultExpression(Expression defaultExpression)
Set default or on update expression.
|
void |
AlterDomainExpressions.setExpression(Expression expression) |
void |
CreateConstant.setExpression(Expression expr) |
void |
CreateConstant.setExpression(Expression expr) |
void |
AlterDomainExpressions.setExpression(Expression expression) |
void |
AlterUser.setHash(Expression e) |
void |
CreateUser.setHash(Expression e) |
void |
CreateUser.setHash(Expression e) |
void |
AlterUser.setHash(Expression e) |
void |
SequenceOptions.setIncrement(Expression increment)
Sets increment value expression.
|
void |
SequenceOptions.setIncrement(Expression increment)
Sets increment value expression.
|
void |
SequenceOptions.setMaxValue(Expression maxValue)
Sets max value expression.
|
void |
SequenceOptions.setMaxValue(Expression maxValue)
Sets max value expression.
|
void |
SequenceOptions.setMinValue(Expression minValue)
Sets min value expression.
|
void |
SequenceOptions.setMinValue(Expression minValue)
Sets min value expression.
|
void |
CreateDomain.setOnUpdateExpression(Expression onUpdateExpression) |
void |
CreateDomain.setOnUpdateExpression(Expression onUpdateExpression) |
void |
AlterUser.setPassword(Expression password) |
void |
CreateUser.setPassword(Expression password) |
void |
CreateUser.setPassword(Expression password) |
void |
AlterUser.setPassword(Expression password) |
void |
SequenceOptions.setRestartValue(Expression restart)
Sets restart value expression, or
ValueExpression.DEFAULT. |
void |
SequenceOptions.setRestartValue(Expression restart)
Sets restart value expression, or
ValueExpression.DEFAULT. |
void |
AlterUser.setSalt(Expression e) |
void |
CreateUser.setSalt(Expression e) |
void |
CreateUser.setSalt(Expression e) |
void |
AlterUser.setSalt(Expression e) |
void |
AlterTableAlterColumn.setSelectivity(Expression selectivity) |
void |
AlterTableAlterColumn.setSelectivity(Expression selectivity) |
void |
SequenceOptions.setStartValue(Expression start)
Sets start value expression.
|
void |
SequenceOptions.setStartValue(Expression start)
Sets start value expression.
|
void |
AlterTableAlterColumn.setUsingExpression(Expression usingExpression)
Set using expression.
|
void |
AlterTableAlterColumn.setUsingExpression(Expression usingExpression)
Set using expression.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Expression |
MergeUsing.getOnCondition() |
Expression |
MergeUsing.getOnCondition() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Insert.addAssignmentForDuplicate(Column column,
Expression expression)
Keep a collection of the columns to pass to update if a duplicate key
happens, for MySQL-style INSERT ...
|
void |
Insert.addAssignmentForDuplicate(Column column,
Expression expression)
Keep a collection of the columns to pass to update if a duplicate key
happens, for MySQL-style INSERT ...
|
void |
SetClauseList.addMultiple(ArrayList<Column> columns,
Expression expression)
Add multiple columns.
|
void |
SetClauseList.addMultiple(ArrayList<Column> columns,
Expression expression)
Add multiple columns.
|
void |
CommandWithValues.addRow(Expression[] expr)
Add a row to this command.
|
void |
CommandWithValues.addRow(Expression[] expr)
Add a row to this command.
|
void |
SetClauseList.addSingle(Column column,
Expression expression)
Add a single column.
|
void |
SetClauseList.addSingle(Column column,
Expression expression)
Add a single column.
|
void |
MergeUsing.When.setAndCondition(Expression andCondition)
Sets the specified AND condition.
|
void |
MergeUsing.When.setAndCondition(Expression andCondition)
Sets the specified AND condition.
|
void |
Call.setExpression(Expression expression) |
void |
Set.setExpression(Expression expression) |
void |
Set.setExpression(Expression expression) |
void |
Call.setExpression(Expression expression) |
void |
ExecuteProcedure.setExpression(int index,
Expression expr)
Set the expression at the given index.
|
void |
ExecuteProcedure.setExpression(int index,
Expression expr)
Set the expression at the given index.
|
void |
BackupCommand.setFileName(Expression fileName) |
void |
BackupCommand.setFileName(Expression fileName) |
void |
MergeUsing.setOnCondition(Expression condition) |
void |
MergeUsing.setOnCondition(Expression condition) |
| 构造器和说明 |
|---|
ExecuteImmediate(SessionLocal session,
Expression statement) |
ExecuteImmediate(SessionLocal session,
Expression statement) |
WhenNotMatched(Column[] columns,
Boolean overridingSystem,
Expression[] values) |
WhenNotMatched(Column[] columns,
Boolean overridingSystem,
Expression[] values) |
| 限定符和类型 | 字段和说明 |
|---|---|
Expression |
QueryOrderBy.columnIndexExpr
The column index expression.
|
Expression |
QueryOrderBy.columnIndexExpr
The column index expression.
|
Expression |
QueryOrderBy.expression
The order by expression.
|
Expression |
QueryOrderBy.expression
The order by expression.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Expression |
Select.getCondition() |
Expression |
Select.getCondition() |
Expression |
Query.getFetch() |
Expression |
Query.getFetch() |
Expression |
Select.getHaving() |
Expression |
Select.getHaving() |
Expression |
Query.getIfSingleRow()
If this query is determined as a single-row query, returns a replacement
expression.
|
Expression |
Select.getIfSingleRow() |
Expression |
TableValueConstructor.getIfSingleRow() |
Expression |
TableValueConstructor.getIfSingleRow() |
Expression |
Select.getIfSingleRow() |
Expression |
Query.getIfSingleRow()
If this query is determined as a single-row query, returns a replacement
expression.
|
Expression |
Query.getOffset() |
Expression |
Query.getOffset() |
Expression |
Select.getQualify() |
Expression |
Select.getQualify() |
Expression |
SelectListColumnResolver.optimize(ExpressionColumn expressionColumn,
Column column) |
Expression |
SelectListColumnResolver.optimize(ExpressionColumn expressionColumn,
Column column) |
| 限定符和类型 | 方法和说明 |
|---|---|
ArrayList<Expression> |
Query.getExpressions()
The the list of select expressions.
|
ArrayList<Expression> |
Query.getExpressions()
The the list of select expressions.
|
ArrayList<Expression> |
Select.getGroupBy() |
ArrayList<Expression> |
Select.getGroupBy() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Select.addCondition(Expression cond)
Add a condition to the list of conditions.
|
void |
Select.addCondition(Expression cond)
Add a condition to the list of conditions.
|
Object |
SelectGroups.getCurrentGroupExprData(Expression expr)
Get the group-by data for the current group and the passed in expression.
|
Object |
SelectGroups.getCurrentGroupExprData(Expression expr)
Get the group-by data for the current group and the passed in expression.
|
void |
SelectGroups.setCurrentGroupExprData(Expression expr,
Object obj)
Set the group-by data for the current group and the passed in expression.
|
void |
SelectGroups.setCurrentGroupExprData(Expression expr,
Object obj)
Set the group-by data for the current group and the passed in expression.
|
void |
Select.setDistinct(Expression[] distinctExpressions)
Set the DISTINCT ON expressions.
|
void |
Select.setDistinct(Expression[] distinctExpressions)
Set the DISTINCT ON expressions.
|
void |
Query.setFetch(Expression fetch) |
void |
Query.setFetch(Expression fetch) |
void |
Select.setHaving(Expression having) |
void |
Select.setHaving(Expression having) |
void |
Query.setOffset(Expression offset) |
void |
Query.setOffset(Expression offset) |
void |
Select.setQualify(Expression qualify) |
void |
Select.setQualify(Expression qualify) |
| 限定符和类型 | 方法和说明 |
|---|---|
static SelectGroups |
SelectGroups.getInstance(SessionLocal session,
ArrayList<Expression> expressions,
boolean isGroupQuery,
int[] groupIndex)
Creates new instance of grouped data.
|
static SelectGroups |
SelectGroups.getInstance(SessionLocal session,
ArrayList<Expression> expressions,
boolean isGroupQuery,
int[] groupIndex)
Creates new instance of grouped data.
|
static void |
TableValueConstructor.getValuesSQL(StringBuilder builder,
int sqlFlags,
ArrayList<ArrayList<Expression>> rows)
Appends the SQL of the values to the specified string builder..
|
static void |
TableValueConstructor.getValuesSQL(StringBuilder builder,
int sqlFlags,
ArrayList<ArrayList<Expression>> rows)
Appends the SQL of the values to the specified string builder..
|
static void |
TableValueConstructor.getVisibleResult(SessionLocal session,
ResultTarget result,
Column[] columns,
ArrayList<ArrayList<Expression>> rows)
Appends visible columns of all rows to the specified result.
|
static void |
TableValueConstructor.getVisibleResult(SessionLocal session,
ResultTarget result,
Column[] columns,
ArrayList<ArrayList<Expression>> rows)
Appends visible columns of all rows to the specified result.
|
void |
Select.setExpressions(ArrayList<Expression> expressions) |
void |
Select.setExpressions(ArrayList<Expression> expressions) |
void |
Select.setGroupBy(ArrayList<Expression> group) |
void |
Select.setGroupBy(ArrayList<Expression> group) |
| 构造器和说明 |
|---|
TableValueConstructor(SessionLocal session,
ArrayList<ArrayList<Expression>> rows)
Creates new instance of table value constructor.
|
TableValueConstructor(SessionLocal session,
ArrayList<ArrayList<Expression>> rows)
Creates new instance of table value constructor.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Expression |
ConstraintDomain.getCheckConstraint(SessionLocal session,
String columnName)
Get the check constraint expression for this column.
|
Expression |
ConstraintDomain.getCheckConstraint(SessionLocal session,
String columnName)
Get the check constraint expression for this column.
|
Expression |
Constraint.getExpression()
Returns the CHECK expression or null.
|
Expression |
ConstraintCheck.getExpression() |
Expression |
ConstraintDomain.getExpression() |
Expression |
ConstraintDomain.getExpression() |
Expression |
ConstraintCheck.getExpression() |
Expression |
Constraint.getExpression()
Returns the CHECK expression or null.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
ConstraintCheck.setExpression(Expression expr) |
void |
ConstraintCheck.setExpression(Expression expr) |
void |
ConstraintDomain.setExpression(SessionLocal session,
Expression expr)
Set the expression.
|
void |
ConstraintDomain.setExpression(SessionLocal session,
Expression expr)
Set the expression.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
Alias
A column alias as in SELECT 'Hello' AS NAME ...
|
class |
ArrayConstructorByQuery
Array value constructor by query.
|
class |
ArrayElementReference
Array element reference.
|
class |
BinaryOperation
A mathematical expression, or string concatenation.
|
class |
CompatibilityDatePlusTimeOperation
A compatibility mathematical operation with datetime values.
|
class |
ConcatenationOperation
Character string concatenation as in
'Hello' || 'World', binary
string concatenation as in X'01' || X'AB' or an array concatenation
as in ARRAY[1, 2] || 3. |
class |
DomainValueExpression
An expression representing a value for domain constraint.
|
class |
ExpressionColumn
A column reference expression that represents a column of a table or view.
|
class |
ExpressionList
A list of expressions, as in (ID, NAME).
|
class |
FieldReference
Field reference.
|
class |
Format
A format clause such as FORMAT JSON.
|
class |
IntervalOperation
A mathematical operation with intervals.
|
class |
Operation0
Operation without subexpressions.
|
class |
Operation1
Operation with one argument.
|
class |
Operation1_2
Operation with one or two arguments.
|
class |
Operation2
Operation with two arguments.
|
class |
OperationN
Operation with many arguments.
|
class |
Parameter
A parameter of a prepared statement.
|
class |
Rownum
Represents the ROWNUM function.
|
class |
SearchedCase
A searched case.
|
class |
SequenceValue
Wraps a sequence when used in a statement.
|
class |
SimpleCase
A simple case.
|
class |
Subquery
A query returning a single value.
|
class |
TimeZoneOperation
A time zone specification (AT { TIME ZONE | LOCAL }).
|
class |
TypedValueExpression
An expression representing a constant value with a type cast.
|
class |
UnaryOperation
Unary operation.
|
class |
ValueExpression
An expression representing a constant value.
|
class |
Variable
A user-defined variable, for example: @ID.
|
class |
Wildcard
A wildcard expression as in SELECT * FROM TEST.
|
| 限定符和类型 | 字段和说明 |
|---|---|
protected Expression |
Operation1.arg
The argument of the operation.
|
protected Expression |
Operation1.arg
The argument of the operation.
|
protected Expression[] |
OperationN.args
The array of arguments.
|
protected Expression[] |
OperationN.args
The array of arguments.
|
protected Expression |
Operation1_2.left
The left part of the operation (the first argument).
|
protected Expression |
Operation2.left
The left part of the operation (the first argument).
|
protected Expression |
Operation2.left
The left part of the operation (the first argument).
|
protected Expression |
Operation1_2.left
The left part of the operation (the first argument).
|
protected Expression |
Operation1_2.right
The right part of the operation (the second argument).
|
protected Expression |
Operation2.right
The right part of the operation (the second argument).
|
protected Expression |
Operation2.right
The right part of the operation (the second argument).
|
protected Expression |
Operation1_2.right
The right part of the operation (the second argument).
|
| 限定符和类型 | 方法和说明 |
|---|---|
Expression |
Alias.getNonAliasExpression() |
Expression |
Expression.getNonAliasExpression()
Returns the main expression, skipping aliases.
|
Expression |
Expression.getNonAliasExpression()
Returns the main expression, skipping aliases.
|
Expression |
Alias.getNonAliasExpression() |
Expression |
Expression.getNotIfPossible(SessionLocal session)
If it is possible, return the negated expression.
|
Expression |
ExpressionColumn.getNotIfPossible(SessionLocal session) |
Expression |
Parameter.getNotIfPossible(SessionLocal session) |
Expression |
ValueExpression.getNotIfPossible(SessionLocal session) |
Expression |
ValueExpression.getNotIfPossible(SessionLocal session) |
Expression |
Parameter.getNotIfPossible(SessionLocal session) |
Expression |
ExpressionColumn.getNotIfPossible(SessionLocal session) |
Expression |
Expression.getNotIfPossible(SessionLocal session)
If it is possible, return the negated expression.
|
Expression |
Expression.getSubexpression(int index)
Returns subexpression with specified index.
|
Expression |
ExpressionList.getSubexpression(int index) |
Expression |
Operation1.getSubexpression(int index) |
Expression |
Operation1_2.getSubexpression(int index) |
Expression |
Operation2.getSubexpression(int index) |
Expression |
OperationN.getSubexpression(int index) |
Expression |
SimpleCase.getSubexpression(int index) |
Expression |
SimpleCase.getSubexpression(int index) |
Expression |
OperationN.getSubexpression(int index) |
Expression |
Operation2.getSubexpression(int index) |
Expression |
Operation1_2.getSubexpression(int index) |
Expression |
Operation1.getSubexpression(int index) |
Expression |
ExpressionList.getSubexpression(int index) |
Expression |
Expression.getSubexpression(int index)
Returns subexpression with specified index.
|
Expression |
Alias.optimize(SessionLocal session) |
Expression |
ArrayConstructorByQuery.optimize(SessionLocal session) |
Expression |
ArrayElementReference.optimize(SessionLocal session) |
Expression |
BinaryOperation.optimize(SessionLocal session) |
Expression |
CompatibilityDatePlusTimeOperation.optimize(SessionLocal session) |
Expression |
ConcatenationOperation.optimize(SessionLocal session) |
Expression |
DomainValueExpression.optimize(SessionLocal session) |
abstract Expression |
Expression.optimize(SessionLocal session)
Try to optimize the expression.
|
Expression |
ExpressionColumn.optimize(SessionLocal session) |
Expression |
ExpressionList.optimize(SessionLocal session) |
Expression |
FieldReference.optimize(SessionLocal session) |
Expression |
Format.optimize(SessionLocal session) |
Expression |
IntervalOperation.optimize(SessionLocal session) |
Expression |
Operation0.optimize(SessionLocal session) |
Expression |
Parameter.optimize(SessionLocal session) |
Expression |
Rownum.optimize(SessionLocal session) |
Expression |
SearchedCase.optimize(SessionLocal session) |
Expression |
SimpleCase.optimize(SessionLocal session) |
Expression |
Subquery.optimize(SessionLocal session) |
Expression |
TimeZoneOperation.optimize(SessionLocal session) |
Expression |
UnaryOperation.optimize(SessionLocal session) |
Expression |
Wildcard.optimize(SessionLocal session) |
Expression |
Wildcard.optimize(SessionLocal session) |
Expression |
UnaryOperation.optimize(SessionLocal session) |
Expression |
TimeZoneOperation.optimize(SessionLocal session) |
Expression |
Subquery.optimize(SessionLocal session) |
Expression |
SimpleCase.optimize(SessionLocal session) |
Expression |
SearchedCase.optimize(SessionLocal session) |
Expression |
Rownum.optimize(SessionLocal session) |
Expression |
Parameter.optimize(SessionLocal session) |
Expression |
Operation0.optimize(SessionLocal session) |
Expression |
IntervalOperation.optimize(SessionLocal session) |
Expression |
Format.optimize(SessionLocal session) |
Expression |
FieldReference.optimize(SessionLocal session) |
Expression |
ExpressionList.optimize(SessionLocal session) |
Expression |
ExpressionColumn.optimize(SessionLocal session) |
abstract Expression |
Expression.optimize(SessionLocal session)
Try to optimize the expression.
|
Expression |
DomainValueExpression.optimize(SessionLocal session) |
Expression |
ConcatenationOperation.optimize(SessionLocal session) |
Expression |
CompatibilityDatePlusTimeOperation.optimize(SessionLocal session) |
Expression |
BinaryOperation.optimize(SessionLocal session) |
Expression |
ArrayElementReference.optimize(SessionLocal session) |
Expression |
ArrayConstructorByQuery.optimize(SessionLocal session) |
Expression |
Alias.optimize(SessionLocal session) |
Expression |
Expression.optimizeCondition(SessionLocal session)
Try to optimize or remove the condition.
|
Expression |
Expression.optimizeCondition(SessionLocal session)
Try to optimize or remove the condition.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
ExpressionWithVariableParameters.addParameter(Expression param)
Adds the parameter expression.
|
void |
OperationN.addParameter(Expression param) |
void |
OperationN.addParameter(Expression param) |
void |
ExpressionWithVariableParameters.addParameter(Expression param)
Adds the parameter expression.
|
static StringBuilder |
Expression.writeExpressions(StringBuilder builder,
Expression[] expressions,
int sqlFlags)
Get the SQL snippet for an array of expressions.
|
static StringBuilder |
Expression.writeExpressions(StringBuilder builder,
Expression[] expressions,
int sqlFlags)
Get the SQL snippet for an array of expressions.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static StringBuilder |
Expression.writeExpressions(StringBuilder builder,
List<? extends Expression> expressions,
int sqlFlags)
Get the SQL snippet for a list of expressions.
|
static StringBuilder |
Expression.writeExpressions(StringBuilder builder,
List<? extends Expression> expressions,
int sqlFlags)
Get the SQL snippet for a list of expressions.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
AbstractAggregate
A base class for aggregate functions.
|
class |
Aggregate
Implements the integrated aggregate functions, such as COUNT, MAX, SUM.
|
class |
JavaAggregate
This class wraps a user-defined aggregate.
|
| 限定符和类型 | 字段和说明 |
|---|---|
protected Expression[] |
AbstractAggregate.args
The arguments.
|
protected Expression[] |
AbstractAggregate.args
The arguments.
|
protected Expression |
AbstractAggregate.filterCondition
FILTER condition for aggregate
|
protected Expression |
AbstractAggregate.filterCondition
FILTER condition for aggregate
|
| 限定符和类型 | 方法和说明 |
|---|---|
Expression |
AbstractAggregate.getFilterCondition()
Returns the FILTER condition.
|
Expression |
AbstractAggregate.getFilterCondition()
Returns the FILTER condition.
|
Expression |
AbstractAggregate.getSubexpression(int index) |
Expression |
AbstractAggregate.getSubexpression(int index) |
Expression |
AbstractAggregate.optimize(SessionLocal session) |
Expression |
Aggregate.optimize(SessionLocal session) |
Expression |
JavaAggregate.optimize(SessionLocal session) |
Expression |
JavaAggregate.optimize(SessionLocal session) |
Expression |
Aggregate.optimize(SessionLocal session) |
Expression |
AbstractAggregate.optimize(SessionLocal session) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
AbstractAggregate.setFilterCondition(Expression filterCondition)
Sets the FILTER condition.
|
void |
AbstractAggregate.setFilterCondition(Expression filterCondition)
Sets the FILTER condition.
|
| 构造器和说明 |
|---|
Aggregate(AggregateType aggregateType,
Expression[] args,
Select select,
boolean distinct)
Create a new aggregate object.
|
Aggregate(AggregateType aggregateType,
Expression[] args,
Select select,
boolean distinct)
Create a new aggregate object.
|
JavaAggregate(UserAggregate userAggregate,
Expression[] args,
Select select,
boolean distinct) |
JavaAggregate(UserAggregate userAggregate,
Expression[] args,
Select select,
boolean distinct) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
DataAnalysisOperation
A base class for data analysis operations such as aggregates and window
functions.
|
class |
WindowFunction
A window function.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Expression |
WindowFrameBound.getValue()
Returns the value.
|
Expression |
WindowFrameBound.getValue()
Returns the value.
|
Expression |
DataAnalysisOperation.optimize(SessionLocal session) |
Expression |
WindowFunction.optimize(SessionLocal session) |
Expression |
WindowFunction.optimize(SessionLocal session) |
Expression |
DataAnalysisOperation.optimize(SessionLocal session) |
| 构造器和说明 |
|---|
WindowFrameBound(WindowFrameBoundType type,
Expression value)
Creates new instance of window frame bound.
|
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.
|
WindowFunction(WindowFunctionType type,
Select select,
Expression[] args)
Creates new instance of a window function.
|
| 构造器和说明 |
|---|
Window(String parent,
ArrayList<Expression> partitionBy,
ArrayList<QueryOrderBy> orderBy,
WindowFrame frame)
Creates a new instance of window clause.
|
Window(String parent,
ArrayList<Expression> partitionBy,
ArrayList<QueryOrderBy> orderBy,
WindowFrame frame)
Creates a new instance of window clause.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
BetweenPredicate
BETWEEN predicate.
|
class |
BooleanTest
Boolean test (IS [NOT] { TRUE | FALSE | UNKNOWN }).
|
class |
CompareLike
Pattern matching comparison expression: WHERE NAME LIKE ?
|
class |
Comparison
Example comparison expressions are ID=1, NAME=NAME, NAME IS NULL.
|
class |
ConditionAndOr
An 'and' or 'or' condition as in WHERE ID=1 AND NAME=?
|
class |
ConditionAndOrN
An 'and' or 'or' condition as in WHERE ID=1 AND NAME=?
|
class |
ConditionIn
An 'in' condition with a list of values, as in WHERE NAME IN(...)
|
class |
ConditionInConstantSet
Used for optimised IN(...) queries where the contents of the IN list are all
constant and of the same type.
|
class |
ConditionInParameter
A condition with parameter as
= ANY(?). |
class |
ConditionInQuery
An IN() condition with a subquery, as in WHERE ID IN(SELECT ...)
|
class |
ConditionLocalAndGlobal
A global condition or combination of local and global conditions.
|
class |
ConditionNot
A NOT condition.
|
class |
ExistsPredicate
Exists predicate as in EXISTS(SELECT ...)
|
class |
IsJsonPredicate
IS JSON predicate.
|
class |
NullPredicate
Null predicate (IS [NOT] NULL).
|
class |
SimplePredicate
Base class for simple predicates.
|
class |
TypePredicate
Type predicate (IS [NOT] OF).
|
class |
UniquePredicate
Unique predicate as in UNIQUE(SELECT ...)
|
| 构造器和说明 |
|---|
BetweenPredicate(Expression left,
boolean not,
boolean whenOperand,
boolean symmetric,
Expression a,
Expression b) |
BetweenPredicate(Expression left,
boolean not,
boolean whenOperand,
boolean symmetric,
Expression a,
Expression b) |
BooleanTest(Expression left,
boolean not,
boolean whenOperand,
Boolean right) |
BooleanTest(Expression left,
boolean not,
boolean whenOperand,
Boolean right) |
CompareLike(CompareMode compareMode,
String defaultEscape,
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) |
CompareLike(Database db,
Expression left,
boolean not,
boolean whenOperand,
Expression right,
Expression escape,
CompareLike.LikeType likeType) |
CompareLike(Database db,
Expression left,
boolean not,
boolean whenOperand,
Expression right,
Expression escape,
CompareLike.LikeType likeType) |
Comparison(int compareType,
Expression left,
Expression right,
boolean whenOperand) |
Comparison(int compareType,
Expression left,
Expression right,
boolean whenOperand) |
ConditionAndOr(int andOrType,
Expression left,
Expression right) |
ConditionAndOr(int andOrType,
Expression left,
Expression right) |
ConditionAndOrN(int andOrType,
Expression expr1,
Expression expr2,
Expression expr3) |
ConditionAndOrN(int andOrType,
Expression expr1,
Expression expr2,
Expression expr3) |
ConditionIn(Expression left,
boolean not,
boolean whenOperand,
ArrayList<Expression> values)
Create a new IN(..) condition.
|
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(?) |
ConditionInParameter(Expression left,
boolean not,
boolean whenOperand,
Parameter parameter)
Create a new
= ANY(?) |
ConditionInQuery(Expression left,
boolean not,
boolean whenOperand,
Query query,
boolean all,
int compareType) |
ConditionInQuery(Expression left,
boolean not,
boolean whenOperand,
Query query,
boolean all,
int compareType) |
ConditionLocalAndGlobal(Expression local,
Expression global) |
ConditionLocalAndGlobal(Expression local,
Expression global) |
ConditionNot(Expression condition) |
ConditionNot(Expression condition) |
IsJsonPredicate(Expression left,
boolean not,
boolean whenOperand,
boolean withUniqueKeys,
JSONItemType itemType) |
IsJsonPredicate(Expression left,
boolean not,
boolean whenOperand,
boolean withUniqueKeys,
JSONItemType itemType) |
NullPredicate(Expression left,
boolean not,
boolean whenOperand) |
NullPredicate(Expression left,
boolean not,
boolean whenOperand) |
TypePredicate(Expression left,
boolean not,
boolean whenOperand,
TypeInfo[] typeList) |
TypePredicate(Expression left,
boolean not,
boolean whenOperand,
TypeInfo[] typeList) |
| 构造器和说明 |
|---|
ConditionAndOrN(int andOrType,
List<Expression> expressions) |
ConditionAndOrN(int andOrType,
List<Expression> expressions) |
ConditionIn(Expression left,
boolean not,
boolean whenOperand,
ArrayList<Expression> values)
Create a new IN(..) condition.
|
ConditionIn(Expression left,
boolean not,
boolean whenOperand,
ArrayList<Expression> values)
Create a new IN(..) condition.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
ArrayFunction
An array function.
|
class |
BitFunction
A bitwise function.
|
class |
CardinalityExpression
Cardinality expression.
|
class |
CastSpecification
A cast specification.
|
class |
CoalesceFunction
A COALESCE, GREATEST, or LEAST function.
|
class |
CompatibilitySequenceValueFunction
NEXTVAL() and CURRVAL() compatibility functions.
|
class |
CompressFunction
A COMPRESS or EXPAND function.
|
class |
ConcatFunction
A CONCAT or CONCAT_WS function.
|
class |
CryptFunction
An ENCRYPT or DECRYPT function.
|
class |
CSVWriteFunction
A CSVWRITE function.
|
class |
CurrentDateTimeValueFunction
Current datetime value function.
|
class |
CurrentGeneralValueSpecification
Simple general value specifications.
|
class |
DataTypeSQLFunction
DATA_TYPE_SQL() function.
|
class |
DateTimeFormatFunction
A date-time format function.
|
class |
DateTimeFunction
A date-time function.
|
class |
DayMonthNameFunction
A DAYNAME() or MONTHNAME() function.
|
class |
DBObjectFunction
DB_OBJECT_ID() and DB_OBJECT_SQL() functions.
|
class |
FileFunction
A FILE_READ or FILE_WRITE function.
|
class |
Function0_1
Function with one optional argument.
|
class |
Function1
Function with one argument.
|
class |
Function1_2
Function with two arguments.
|
class |
Function2
Function with two arguments.
|
class |
FunctionN
Function with many arguments.
|
class |
HashFunction
A HASH or ORA_HASH function.
|
class |
JavaFunction
This class wraps a user-defined function.
|
class |
JsonConstructorFunction
JSON constructor function.
|
class |
LengthFunction
CHAR_LENGTH(), or OCTET_LENGTH() function.
|
class |
MathFunction
A math function.
|
class |
MathFunction1
A math function with one argument and DOUBLE PRECISION result.
|
class |
MathFunction2
A math function with two arguments and DOUBLE PRECISION result.
|
class |
NullIfFunction
A NULLIF function.
|
class |
RandFunction
A RAND, SECURE_RAND, or RANDOM_UUID function.
|
class |
RegexpFunction
A regular expression function.
|
class |
SessionControlFunction
An ABORT_SESSION() or CANCEL_SESSION() function.
|
class |
SetFunction
A SET function.
|
class |
SignalFunction
A SIGNAL function.
|
class |
SoundexFunction
A SOUNDEX or DIFFERENCE function.
|
class |
StringFunction
An string function with multiple arguments.
|
class |
StringFunction1
A string function with one argument.
|
class |
StringFunction2
A string function with two arguments.
|
class |
SubstringFunction
A SUBSTRING function.
|
class |
SysInfoFunction
Database or session information function.
|
class |
TableInfoFunction
A table information function.
|
class |
ToCharFunction
Emulates Oracle's TO_CHAR function.
|
class |
TrimFunction
A TRIM function.
|
class |
TruncateValueFunction
A TRUNCATE_VALUE function.
|
class |
XMLFunction
An XML function.
|
| 限定符和类型 | 字段和说明 |
|---|---|
protected Expression |
Function0_1.arg
The argument of the operation.
|
protected Expression |
Function0_1.arg
The argument of the operation.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static TypeInfo |
BitFunction.checkArgType(Expression arg)
Checks the type of an argument of bitwise function (one of
BitFunction.BITAND, BitFunction.BITOR, BitFunction.BITXOR, BitFunction.BITNOT,
BitFunction.BITNAND, BitFunction.BITNOR, BitFunction.BITXNOR). |
static TypeInfo |
BitFunction.checkArgType(Expression arg)
Checks the type of an argument of bitwise function (one of
BitFunction.BITAND, BitFunction.BITOR, BitFunction.BITXOR, BitFunction.BITNOT,
BitFunction.BITNAND, BitFunction.BITNOR, BitFunction.BITXNOR). |
| 限定符和类型 | 字段和说明 |
|---|---|
protected Expression[] |
TableFunction.args |
protected Expression[] |
TableFunction.args |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
TableFunction.addParameter(Expression param) |
void |
TableFunction.addParameter(Expression param) |
| 构造器和说明 |
|---|
JavaTableFunction(FunctionAlias functionAlias,
Expression[] args) |
JavaTableFunction(FunctionAlias functionAlias,
Expression[] args) |
TableFunction(Expression[] args) |
TableFunction(Expression[] args) |
| 限定符和类型 | 方法和说明 |
|---|---|
Expression |
IndexCondition.getExpression()
Get expression.
|
Expression |
IndexCondition.getExpression()
Get expression.
|
| 限定符和类型 | 方法和说明 |
|---|---|
List<Expression> |
IndexCondition.getExpressionList()
Get expression list.
|
List<Expression> |
IndexCondition.getExpressionList()
Get expression list.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static IndexCondition |
IndexCondition.get(int compareType,
ExpressionColumn column,
Expression expression)
Create an index condition with the given parameters.
|
static IndexCondition |
IndexCondition.get(int compareType,
ExpressionColumn column,
Expression expression)
Create an index condition with the given parameters.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static IndexCondition |
IndexCondition.getInList(ExpressionColumn column,
List<Expression> list)
Create an index condition with the compare type IN_LIST and with the
given parameters.
|
static IndexCondition |
IndexCondition.getInList(ExpressionColumn column,
List<Expression> list)
Create an index condition with the compare type IN_LIST and with the
given parameters.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
FunctionsDB2Derby
Functions for
Mode.ModeEnum.DB2 and
Mode.ModeEnum.Derby compatibility modes. |
class |
FunctionsLegacy
This class implements some legacy functions not available in Regular mode.
|
class |
FunctionsMSSQLServer
Functions for
Mode.ModeEnum.MSSQLServer compatibility
mode. |
class |
FunctionsMySQL
This class implements some MySQL-specific functions.
|
class |
FunctionsOracle
Functions for
Mode.ModeEnum.Oracle compatibility mode. |
class |
FunctionsPostgreSQL
Functions for
Mode.ModeEnum.PostgreSQL compatibility
mode. |
class |
ModeFunction
Base class for mode-specific functions.
|
class |
OnDuplicateKeyValues
VALUES(column) function for ON DUPLICATE KEY UPDATE clause.
|
class |
Regclass
A ::regclass expression.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static Expression |
ModeFunction.getCompatibilityDateTimeValueFunction(Database database,
String name,
int scale)
Get an instance of the given function without parentheses for this
database.
|
static Expression |
ModeFunction.getCompatibilityDateTimeValueFunction(Database database,
String name,
int scale)
Get an instance of the given function without parentheses for this
database.
|
Expression |
FunctionsDB2Derby.optimize(SessionLocal session) |
Expression |
FunctionsLegacy.optimize(SessionLocal session) |
Expression |
FunctionsMSSQLServer.optimize(SessionLocal session) |
Expression |
FunctionsMySQL.optimize(SessionLocal session) |
Expression |
FunctionsOracle.optimize(SessionLocal session) |
Expression |
FunctionsPostgreSQL.optimize(SessionLocal session) |
Expression |
Regclass.optimize(SessionLocal session) |
Expression |
Regclass.optimize(SessionLocal session) |
Expression |
FunctionsPostgreSQL.optimize(SessionLocal session) |
Expression |
FunctionsOracle.optimize(SessionLocal session) |
Expression |
FunctionsMySQL.optimize(SessionLocal session) |
Expression |
FunctionsMSSQLServer.optimize(SessionLocal session) |
Expression |
FunctionsLegacy.optimize(SessionLocal session) |
Expression |
FunctionsDB2Derby.optimize(SessionLocal session) |
| 构造器和说明 |
|---|
Regclass(Expression arg) |
Regclass(Expression arg) |
| 限定符和类型 | 方法和说明 |
|---|---|
static ResultExternal |
MVTempResult.of(Database database,
Expression[] expressions,
boolean distinct,
int[] distinctIndexes,
int visibleColumnCount,
int resultColumnCount,
SortOrder sort)
Creates MVStore-based temporary result.
|
static ResultExternal |
MVTempResult.of(Database database,
Expression[] expressions,
boolean distinct,
int[] distinctIndexes,
int visibleColumnCount,
int resultColumnCount,
SortOrder sort)
Creates MVStore-based temporary result.
|
| 限定符和类型 | 方法和说明 |
|---|---|
StringBuilder |
SortOrder.getSQL(StringBuilder builder,
Expression[] list,
int visible,
int sqlFlags)
Create the SQL snippet that describes this sort order.
|
StringBuilder |
SortOrder.getSQL(StringBuilder builder,
Expression[] list,
int visible,
int sqlFlags)
Create the SQL snippet that describes this sort order.
|
| 构造器和说明 |
|---|
LazyResult(SessionLocal session,
Expression[] expressions) |
LazyResult(SessionLocal session,
Expression[] expressions) |
LocalResult(SessionLocal session,
Expression[] expressions,
int visibleColumnCount,
int resultColumnCount)
Construct a local result object.
|
LocalResult(SessionLocal session,
Expression[] expressions,
int visibleColumnCount,
int resultColumnCount)
Construct a local result object.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Expression |
Domain.getDefaultExpression() |
Expression |
Domain.getDefaultExpression() |
Expression |
Domain.getEffectiveDefaultExpression() |
Expression |
Domain.getEffectiveDefaultExpression() |
Expression |
Domain.getEffectiveOnUpdateExpression() |
Expression |
Domain.getEffectiveOnUpdateExpression() |
Expression |
Domain.getOnUpdateExpression() |
Expression |
Domain.getOnUpdateExpression() |
| 限定符和类型 | 方法和说明 |
|---|---|
FunctionAlias.JavaMethod |
FunctionAlias.findJavaMethod(Expression[] args)
Find the Java method that matches the arguments.
|
FunctionAlias.JavaMethod |
FunctionAlias.findJavaMethod(Expression[] args)
Find the Java method that matches the arguments.
|
ResultInterface |
FunctionAlias.JavaMethod.getTableValue(SessionLocal session,
Expression[] args,
boolean columnList)
Call the table user-defined function and return the value.
|
ResultInterface |
FunctionAlias.JavaMethod.getTableValue(SessionLocal session,
Expression[] args,
boolean columnList)
Call the table user-defined function and return the value.
|
Value |
FunctionAlias.JavaMethod.getValue(SessionLocal session,
Expression[] args,
boolean columnList)
Call the user-defined function and return the value.
|
Value |
FunctionAlias.JavaMethod.getValue(SessionLocal session,
Expression[] args,
boolean columnList)
Call the user-defined function and return the value.
|
void |
Domain.setDefaultExpression(SessionLocal session,
Expression defaultExpression) |
void |
Domain.setDefaultExpression(SessionLocal session,
Expression defaultExpression) |
void |
Domain.setOnUpdateExpression(SessionLocal session,
Expression onUpdateExpression) |
void |
Domain.setOnUpdateExpression(SessionLocal session,
Expression onUpdateExpression) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
TableFilter.addFilterCondition(Expression condition,
boolean isJoin)
Add a filter condition.
|
void |
TableFilter.addFilterCondition(Expression condition,
boolean isJoin)
Add a filter condition.
|
void |
TableFilter.addJoin(TableFilter filter,
boolean outer,
Expression on)
Add a joined table.
|
void |
TableFilter.addJoin(TableFilter filter,
boolean outer,
Expression on)
Add a joined table.
|
void |
TableFilter.mapAndAddFilter(Expression on)
Map the columns and add the join condition.
|
void |
TableFilter.mapAndAddFilter(Expression on)
Map the columns and add the join condition.
|
void |
Column.setDefaultExpression(SessionLocal session,
Expression defaultExpression) |
void |
ColumnTemplate.setDefaultExpression(SessionLocal session,
Expression defaultExpression)
Set the default expression.
|
void |
ColumnTemplate.setDefaultExpression(SessionLocal session,
Expression defaultExpression)
Set the default expression.
|
void |
Column.setDefaultExpression(SessionLocal session,
Expression defaultExpression) |
void |
TableFilter.setFullCondition(Expression condition) |
void |
TableFilter.setFullCondition(Expression condition) |
void |
Column.setGeneratedExpression(Expression expression)
Set the default value in the form of a generated expression of other
columns.
|
void |
Column.setGeneratedExpression(Expression expression)
Set the default value in the form of a generated expression of other
columns.
|
void |
Column.setOnUpdateExpression(SessionLocal session,
Expression onUpdateExpression) |
void |
ColumnTemplate.setOnUpdateExpression(SessionLocal session,
Expression onUpdateExpression)
Set the on update expression.
|
void |
ColumnTemplate.setOnUpdateExpression(SessionLocal session,
Expression onUpdateExpression)
Set the on update expression.
|
void |
Column.setOnUpdateExpression(SessionLocal session,
Expression onUpdateExpression) |
| 构造器和说明 |
|---|
Plan(TableFilter[] filters,
int count,
Expression condition)
Create a query plan with the given order.
|
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)
Create a new range with the given start and end expressions.
|
RangeTable(Schema schema,
Expression min,
Expression max,
Expression step) |
RangeTable(Schema schema,
Expression min,
Expression max,
Expression step) |
| 构造器和说明 |
|---|
TableValueConstructorTable(Schema schema,
SessionLocal session,
Column[] columns,
ArrayList<ArrayList<Expression>> rows) |
TableValueConstructorTable(Schema schema,
SessionLocal session,
Column[] columns,
ArrayList<ArrayList<Expression>> rows) |
Copyright © 2022. All rights reserved.