Uses of Class
org.h2.engine.Database
Packages that use Database
Package
Description
Contains high level classes of the database and classes that don't fit in another sub-package.
Expressions include mathematical operations, simple values, and others.
Condition expressions.
Functions.
Implementation of the Java Management Extension (JMX) features.
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).
Authentication classes.
Classes related to a table and table meta data.
-
Uses of Database in org.h2.engine
Fields in org.h2.engine declared as DatabaseMethods in org.h2.engine that return DatabaseModifier and TypeMethodDescriptionfinal DatabaseDbObject.getDatabase()Get the database.SessionLocal.getDatabase()Methods in org.h2.engine with parameters of type DatabaseModifier and TypeMethodDescriptionstatic UserUserBuilder.buildUser(AuthenticationInfo authenticationInfo, Database database, boolean persistent) Build the database user starting from authentication informations.Constructors in org.h2.engine with parameters of type DatabaseModifierConstructorDescriptionprotectedInitialize some attributes of this object.Right(Database db, int id, RightOwner grantee, int grantedRight, DbObject grantedObject) Right(Database db, int id, RightOwner grantee, Role grantedRole) protectedRightOwner(Database database, int id, String name, int traceModuleId) SessionLocal(Database database, User user, int id) -
Uses of Database in org.h2.expression
Constructors in org.h2.expression with parameters of type DatabaseModifierConstructorDescriptionExpressionColumn(Database database, String schemaName, String tableAlias) Creates a new instance of column reference for_ROWID_column as normal expression.ExpressionColumn(Database database, String schemaName, String tableAlias, String columnName) Creates a new instance of column reference for regular columns as normal expression.ExpressionColumn(Database database, String schemaName, String tableAlias, String columnName, boolean quotedName) Creates a new instance of column reference for regular columns as normal expression.ExpressionColumn(Database database, Column column) Creates a new column reference for metadata of queries; should not be used as normal expression. -
Uses of Database in org.h2.expression.condition
Constructors in org.h2.expression.condition with parameters of type DatabaseModifierConstructorDescriptionCompareLike(Database db, Expression left, boolean not, boolean whenOperand, Expression right, Expression escape, CompareLike.LikeType likeType) -
Uses of Database in org.h2.expression.function
Methods in org.h2.expression.function with parameters of type DatabaseModifier and TypeMethodDescriptionstatic booleanBuiltinFunctions.isBuiltinFunction(Database database, String upperName) Returns whether specified function is a non-keyword built-in function. -
Uses of Database in org.h2.jmx
Methods in org.h2.jmx with parameters of type DatabaseModifier and TypeMethodDescriptionstatic voidDatabaseInfo.registerMBean(ConnectionInfo connectionInfo, Database database) Registers an MBean for the database. -
Uses of Database in org.h2.mode
Methods in org.h2.mode with parameters of type DatabaseModifier and TypeMethodDescriptionstatic ModeFunctionModeFunction.getFunction(Database database, String name) Get an instance of the given function for this database.Constructors in org.h2.mode with parameters of type DatabaseModifierConstructorDescriptionPgCatalogSchema(Database database, User owner) Creates new instance ofpg_catalogschema. -
Uses of Database in org.h2.mvstore.db
Classes in org.h2.mvstore.db that implement interfaces with type arguments of type DatabaseModifier and TypeClassDescriptionfinal classThe data type for rows.static final classfinal classA row type.static final classMethods in org.h2.mvstore.db with parameters of type DatabaseModifier and TypeMethodDescriptionRowDataType.Factory.create(ByteBuffer buff, MetaType<Database> metaDataType, Database database) DataType<?> ValueDataType.Factory.create(ByteBuffer buff, MetaType<Database> metaType, Database database) static ResultExternalMVTempResult.of(Database database, Expression[] expressions, boolean distinct, int[] distinctIndexes, int visibleColumnCount, int resultColumnCount, SortOrder sort) Creates MVStore-based temporary result.Method parameters in org.h2.mvstore.db with type arguments of type DatabaseModifier and TypeMethodDescriptionRowDataType.Factory.create(ByteBuffer buff, MetaType<Database> metaDataType, Database database) DataType<?> ValueDataType.Factory.create(ByteBuffer buff, MetaType<Database> metaType, Database database) voidRowDataType.save(WriteBuffer buff, MetaType<Database> metaType) voidValueDataType.save(WriteBuffer buff, MetaType<Database> metaType) Constructors in org.h2.mvstore.db with parameters of type DatabaseModifierConstructorDescriptionLobStorageMap(Database database) MVPrimaryIndex(Database db, MVTable table, int id, IndexColumn[] columns, IndexType indexType) MVSecondaryIndex(Database db, MVTable table, int id, String indexName, IndexColumn[] columns, int uniqueColumnCount, IndexType indexType) MVSpatialIndex(Database db, MVTable table, int id, String indexName, IndexColumn[] columns, int uniqueColumnCount, IndexType indexType) Constructor.Creates the store.ValueDataType(Database database, int[] sortTypes) -
Uses of Database in org.h2.result
Methods in org.h2.result with parameters of type DatabaseModifier and TypeMethodDescriptionstatic int[]SortOrder.addNullOrdering(Database database, int[] sortTypes) Add explicitSortOrder.NULLS_FIRSTorSortOrder.NULLS_LASTwhere they aren't already specified. -
Uses of Database in org.h2.schema
Constructors in org.h2.schema with parameters of type DatabaseModifierConstructorDescriptionInformationSchema(Database database, User owner) Creates new instance of information schema.MetaSchema(Database database, int id, String schemaName, User owner) Creates a new instance of meta data schema.Schema(Database database, int id, String schemaName, RightOwner owner, boolean system) Create a new schema object. -
Uses of Database in org.h2.security.auth
Methods in org.h2.security.auth with parameters of type DatabaseModifier and TypeMethodDescriptionAuthenticator.authenticate(AuthenticationInfo authenticationInfo, Database database) Perform user authentication.final UserDefaultAuthenticator.authenticate(AuthenticationInfo authenticationInfo, Database database) voidInitialize the authenticator.voidInitializes the authenticator. -
Uses of Database in org.h2.table
Methods in org.h2.table with parameters of type DatabaseModifier and TypeMethodDescriptionstatic voidTableView.clearIndexCaches(Database database) Clear the cached indexes for all sessions.static TableTableView.createShadowTableForRecursiveTableExpression(boolean isTemporary, SessionLocal targetSession, String cteViewName, Schema schema, List<Column> columns, Database db) Create a table for a recursive query.static TableViewTableView.createTableViewMaybeRecursive(Schema schema, int id, String name, String querySQL, ArrayList<Parameter> parameters, Column[] columnTemplates, SessionLocal session, boolean literalsChecked, boolean isTableExpression, boolean isTemporary, Database db) Create a view.Constructors in org.h2.table with parameters of type Database