| 程序包 | 说明 |
|---|---|
| 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.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.table |
Classes related to a table and table meta data.
|
| org.h2.value |
Data type and value implementations.
|
| 限定符和类型 | 类和说明 |
|---|---|
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 |
Expression
An expression is a operation, a value, or a function in a query.
|
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.
|
| 限定符和类型 | 类和说明 |
|---|---|
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.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
DataAnalysisOperation
A base class for data analysis operations such as aggregates and window
functions.
|
class |
WindowFunction
A window function.
|
| 限定符和类型 | 类和说明 |
|---|---|
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 ...)
|
| 限定符和类型 | 类和说明 |
|---|---|
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.
|
| 限定符和类型 | 类和说明 |
|---|---|
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.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
SpatialKey
A unique spatial key.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static DbException |
Store.getInvalidExpressionTypeException(String param,
Typed e)
Gets a SQL exception meaning the type of expression is invalid or unknown.
|
static DbException |
Store.getInvalidExpressionTypeException(String param,
Typed e)
Gets a SQL exception meaning the type of expression is invalid or unknown.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
DefaultRow
The default implementation of a row in a table.
|
class |
Row
Represents a row in a table.
|
class |
SearchRow
The base class for rows stored in a table, and for partial rows stored in the
index.
|
class |
SimpleRowValue
A simple row that contains data for only one column.
|
class |
Sparse
Class Sparse.
|
| 限定符和类型 | 方法和说明 |
|---|---|
RowFactory |
RowFactory.createRowFactory(CastDataProvider provider,
CompareMode compareMode,
DataHandler handler,
Typed[] columns,
IndexColumn[] indexColumns,
boolean storeKeys)
Create a new row factory.
|
RowFactory |
RowFactory.DefaultRowFactory.createRowFactory(CastDataProvider provider,
CompareMode compareMode,
DataHandler handler,
Typed[] columns,
IndexColumn[] indexColumns,
boolean storeKeys) |
RowFactory |
RowFactory.createRowFactory(CastDataProvider provider,
CompareMode compareMode,
DataHandler handler,
Typed[] columns,
IndexColumn[] indexColumns,
boolean storeKeys)
Create a new row factory.
|
RowFactory |
RowFactory.DefaultRowFactory.createRowFactory(CastDataProvider provider,
CompareMode compareMode,
DataHandler handler,
Typed[] columns,
IndexColumn[] indexColumns,
boolean storeKeys) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
Column
This class represents a column in a table.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
TypeInfo
Data type with parameters.
|
class |
Value
This is the base class for all value classes.
|
class |
ValueArray
Implementation of the ARRAY data type.
|
class |
ValueBigint
Implementation of the BIGINT data type.
|
class |
ValueBinary
Implementation of the BINARY data type.
|
class |
ValueBlob
Implementation of the BINARY LARGE OBJECT data type.
|
class |
ValueBoolean
Implementation of the BOOLEAN data type.
|
class |
ValueChar
Implementation of the CHARACTER data type.
|
class |
ValueClob
Implementation of the CHARACTER LARGE OBJECT data type.
|
class |
ValueCollectionBase
Base class for ARRAY and ROW values.
|
class |
ValueDate
Implementation of the DATE data type.
|
class |
ValueDecfloat
Implementation of the DECFLOAT data type.
|
class |
ValueDouble
Implementation of the DOUBLE PRECISION data type.
|
class |
ValueEnum
ENUM value.
|
class |
ValueEnumBase
Base implementation of the ENUM data type.
|
class |
ValueGeometry
Implementation of the GEOMETRY data type.
|
class |
ValueInteger
Implementation of the INTEGER data type.
|
class |
ValueInterval
Implementation of the INTERVAL data type.
|
class |
ValueJavaObject
Implementation of the JAVA_OBJECT data type.
|
class |
ValueJson
Implementation of the JSON data type.
|
class |
ValueLob
A implementation of the BINARY LARGE OBJECT and CHARACTER LARGE OBJECT data
types.
|
class |
ValueNull
Implementation of NULL.
|
class |
ValueNumeric
Implementation of the NUMERIC data type.
|
class |
ValueReal
Implementation of the REAL data type.
|
class |
ValueRow
Row value.
|
class |
ValueSmallint
Implementation of the SMALLINT data type.
|
class |
ValueTime
Implementation of the TIME data type.
|
class |
ValueTimestamp
Implementation of the TIMESTAMP data type.
|
class |
ValueTimestampTimeZone
Implementation of the TIMESTAMP WITH TIME ZONE data type.
|
class |
ValueTimeTimeZone
Implementation of the TIME WITH TIME ZONE data type.
|
class |
ValueTinyint
Implementation of the TINYINT data type.
|
class |
ValueUuid
Implementation of the UUID data type.
|
class |
ValueVarbinary
Implementation of the BINARY VARYING data type.
|
class |
ValueVarchar
Implementation of the CHARACTER VARYING data type.
|
class |
ValueVarcharIgnoreCase
Implementation of the VARCHAR_IGNORECASE data type.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static TypeInfo |
TypeInfo.getHigherType(Typed[] values)
Get the higher data type of all values.
|
static TypeInfo |
TypeInfo.getHigherType(Typed[] values)
Get the higher data type of all values.
|
| 构造器和说明 |
|---|
ExtTypeInfoRow(Typed[] fields)
Creates new instance of extended parameters of ROW data type.
|
ExtTypeInfoRow(Typed[] fields)
Creates new instance of extended parameters of ROW data type.
|
ExtTypeInfoRow(Typed[] fields,
int degree)
Creates new instance of extended parameters of ROW data type.
|
ExtTypeInfoRow(Typed[] fields,
int degree)
Creates new instance of extended parameters of ROW data type.
|
Copyright © 2022. All rights reserved.