Uses of Class
org.h2.engine.Database
-
Packages that use Database Package Description org.h2.command This package contains the parser and the base classes for prepared SQL statements.org.h2.command.ddl Contains DDL (data definition language) and related SQL statements.org.h2.command.dml Contains DML (data manipulation language) and related SQL statements.org.h2.command.query Contains queries.org.h2.engine Contains high level classes of the database and classes that don't fit in another sub-package.org.h2.expression Expressions include mathematical operations, simple values, and others.org.h2.expression.aggregate Aggregate functions.org.h2.expression.condition Condition expressions.org.h2.expression.function Functions.org.h2.jdbc.meta Implementation of the JDBC database metadata API (package java.sql).org.h2.jmx Implementation of the Java Management Extension (JMX) features.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.security.auth Authentication classes.org.h2.table Classes related to a table and table meta data. -
-
Uses of Database in org.h2.command
Fields in org.h2.command declared as Database Modifier and Type Field Description private DatabaseParser. database -
Uses of Database in org.h2.command.ddl
Methods in org.h2.command.ddl with parameters of type Database Modifier and Type Method Description private voidAlterTableAddConstraint. addConstraintToTable(Database db, Table table, Constraint constraint)private TableAlterTableAlterColumn. cloneTableStructure(Table table, Column[] columns, Database db, java.lang.String tempName, java.util.ArrayList<Column> newColumns)private intCreateSynonym. createTableSynonym(Database db) -
Uses of Database in org.h2.command.dml
Methods in org.h2.command.dml with parameters of type Database Modifier and Type Method Description private voidScriptCommand. dumpRights(Database db) -
Uses of Database in org.h2.command.query
Methods in org.h2.command.query with parameters of type Database Modifier and Type Method Description private intSelect. mergeGroupByExpressions(Database db, int index, java.util.ArrayList<java.lang.String> expressionSQL, boolean scanPrevious) -
Uses of Database in org.h2.engine
Fields in org.h2.engine declared as Database Modifier and Type Field Description protected DatabaseDbObject. databaseThe database.(package private) DatabaseEngine.DatabaseHolder. databaseprivate DatabaseSessionLocal. databaseFields in org.h2.engine with type parameters of type Database Modifier and Type Field Description private java.lang.ref.WeakReference<Database>DelayedDatabaseCloser. databaseRefprivate static java.util.WeakHashMap<Database,java.lang.Void>OnExitDatabaseCloser. DATABASESprivate static java.lang.ThreadLocal<Database>Database. META_LOCK_DEBUGGING_DBMethods in org.h2.engine that return Database Modifier and Type Method Description DatabaseDbObject. getDatabase()Get the database.DatabaseSessionLocal. getDatabase()Methods in org.h2.engine with parameters of type Database Modifier and Type Method Description static UserUserBuilder. buildUser(AuthenticationInfo authenticationInfo, Database database, boolean persistent)Build the database user starting from authentication informations.private static voidEngine. checkClustering(ConnectionInfo ci, Database database)(package private) static voidMetaRecord. execute(Database db, Prepared command, DatabaseEventListener listener, java.lang.String sql)Execute the meta data statement.(package private) PreparedMetaRecord. prepare(Database db, SessionLocal systemSession, DatabaseEventListener listener)Prepares the meta data statement.(package private) voidMetaRecord. prepareAndExecute(Database db, SessionLocal systemSession, DatabaseEventListener listener)Execute the meta data statement.(package private) static voidOnExitDatabaseCloser. register(Database db)Register database instance to close one on the JVM process shutdown.private static voidMetaRecord. throwException(Database db, DatabaseEventListener listener, DbException e, java.lang.String sql)(package private) static voidOnExitDatabaseCloser. unregister(Database db)Unregister database instance.Constructors in org.h2.engine with parameters of type Database Constructor Description Comment(Database database, int id, DbObject obj)DbObject(Database db, int objectId, java.lang.String name, int traceModuleId)Initialize some attributes of this object.DelayedDatabaseCloser(Database db, int delayInMillis)Right(Database db, int id, RightOwner grantee, int grantedRight, DbObject grantedObject)Right(Database db, int id, RightOwner grantee, Role grantedRole)RightOwner(Database database, int id, java.lang.String name, int traceModuleId)Role(Database database, int id, java.lang.String roleName, boolean system)SessionLocal(Database database, User user, int id)Setting(Database database, int id, java.lang.String settingName)User(Database database, int id, java.lang.String userName, boolean systemUser) -
Uses of Database in org.h2.expression
Fields in org.h2.expression declared as Database Modifier and Type Field Description private DatabaseExpressionColumn. databaseConstructors in org.h2.expression with parameters of type Database Constructor Description ExpressionColumn(Database database, java.lang.String schemaName, java.lang.String tableAlias)Creates a new instance of column reference for_ROWID_column as normal expression.ExpressionColumn(Database database, java.lang.String schemaName, java.lang.String tableAlias, java.lang.String columnName)Creates a new instance of column reference for regular columns as normal expression.ExpressionColumn(Database database, java.lang.String schemaName, java.lang.String tableAlias, java.lang.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.aggregate
Methods in org.h2.expression.aggregate with parameters of type Database Modifier and Type Method Description (package private) static IndexPercentile. getColumnIndex(Database database, Expression on)Get the index (if any) for the column specified in the inverse distribution function. -
Uses of Database in org.h2.expression.condition
Constructors in org.h2.expression.condition with parameters of type Database Constructor Description CompareLike(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 Database Modifier and Type Method Description static booleanBuiltinFunctions. isBuiltinFunction(Database database, java.lang.String upperName)Returns whether specified function is a non-keyword built-in function. -
Uses of Database in org.h2.jdbc.meta
Methods in org.h2.jdbc.meta with parameters of type Database Modifier and Type Method Description private voidDatabaseMetaLocal. getIndexInfo(Value catalogValue, Value schemaValue, Table table, boolean unique, boolean approximate, SimpleResult result, Database db) -
Uses of Database in org.h2.jmx
Fields in org.h2.jmx declared as Database Modifier and Type Field Description private DatabaseDatabaseInfo. databaseDatabase.Methods in org.h2.jmx with parameters of type Database Modifier and Type Method Description static voidDatabaseInfo. registerMBean(ConnectionInfo connectionInfo, Database database)Registers an MBean for the database.Constructors in org.h2.jmx with parameters of type Database Constructor Description DatabaseInfo(Database database) -
Uses of Database in org.h2.mode
Methods in org.h2.mode with parameters of type Database Modifier and Type Method Description static ModeFunctionModeFunction. getFunction(Database database, java.lang.String name)Get an instance of the given function for this database.Constructors in org.h2.mode with parameters of type Database Constructor Description PgCatalogSchema(Database database, User owner)Creates new instance ofpg_catalogschema. -
Uses of Database in org.h2.mvstore.db
Fields in org.h2.mvstore.db declared as Database Modifier and Type Field Description private DatabaseLobStorageMap. databaseprivate DatabaseMVTempResult. databaseMethods in org.h2.mvstore.db with parameters of type Database Modifier and Type Method Description RowDataTypeRowDataType.Factory. create(java.nio.ByteBuffer buff, MetaType<Database> metaDataType, Database database)DataType<?>ValueDataType.Factory. create(java.nio.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.private static IndexColumn[]MVTable. prepareColumns(Database database, IndexColumn[] cols, IndexType indexType)Prepares columns of an index.Method parameters in org.h2.mvstore.db with type arguments of type Database Modifier and Type Method Description RowDataTypeRowDataType.Factory. create(java.nio.ByteBuffer buff, MetaType<Database> metaDataType, Database database)DataType<?>ValueDataType.Factory. create(java.nio.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 Database Constructor Description LobStorageMap(Database database)MVPlainTempResult(Database database, Expression[] expressions, int visibleColumnCount, int resultColumnCount)Creates a new plain temporary result.MVPrimaryIndex(Database db, MVTable table, int id, IndexColumn[] columns, IndexType indexType)MVSecondaryIndex(Database db, MVTable table, int id, java.lang.String indexName, IndexColumn[] columns, int uniqueColumnCount, IndexType indexType)MVSortedTempResult(Database database, Expression[] expressions, boolean distinct, int[] distinctIndexes, int visibleColumnCount, int resultColumnCount, SortOrder sort)Creates a new sorted temporary result.MVSpatialIndex(Database db, MVTable table, int id, java.lang.String indexName, IndexColumn[] columns, int uniqueColumnCount, IndexType indexType)Constructor.MVTempResult(Database database, Expression[] expressions, int visibleColumnCount, int resultColumnCount)Creates a new temporary result.Store(Database db)Creates the store.ValueDataType(Database database, int[] sortTypes) -
Uses of Database in org.h2.result
Methods in org.h2.result with parameters of type Database Modifier and Type Method Description static 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 Database Constructor Description InformationSchema(Database database, User owner)Creates new instance of information schema.MetaSchema(Database database, int id, java.lang.String schemaName, User owner)Creates a new instance of meta data schema.Schema(Database database, int id, java.lang.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 Database Modifier and Type Method Description UserAuthenticator. authenticate(AuthenticationInfo authenticationInfo, Database database)Perform user authentication.UserDefaultAuthenticator. authenticate(AuthenticationInfo authenticationInfo, Database database)voidAuthenticator. init(Database database)Initialize the authenticator.voidDefaultAuthenticator. init(Database database)Initializes the authenticator.private booleanDefaultAuthenticator. updateRoles(AuthenticationInfo authenticationInfo, User user, Database database) -
Uses of Database in org.h2.table
Methods in org.h2.table with parameters of type Database Modifier and Type Method Description static voidTableView. clearIndexCaches(Database database)Clear the cached indexes for all sessions.static TableTableView. createShadowTableForRecursiveTableExpression(boolean isTemporary, SessionLocal targetSession, java.lang.String cteViewName, Schema schema, java.util.List<Column> columns, Database db)Create a table for a recursive query.static TableViewTableView. createTableViewMaybeRecursive(Schema schema, int id, java.lang.String name, java.lang.String querySQL, java.util.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 Constructor Description DualTable(Database database)Create a new range with the given start and end expressions.
-