| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private int | |
| private static final boolean | |
| private Authenticator | |
| private final boolean | |
| private final int | |
| private final AtomicReference | |
| private final String | |
| private final String | |
| private final boolean | |
| private volatile int | |
| private volatile boolean | |
| private String | |
| private final ConcurrentHashMap | |
| private int | |
| private CompareMode | |
| private SourceCompiler | |
| private final String | |
| private final String | |
| private final String | |
| private final DbSettings | |
| private DefaultNullOrdering | |
| private int | |
| private DelayedDatabaseCloser | |
| private boolean | |
| private static final SessionLocal[] | |
| private DatabaseEventListener | |
| private final AtomicReference | |
| private final FileLockMethod | |
| private final byte[] | |
| private boolean | |
| private boolean | |
| private final Schema | |
| private static int | |
| private JavaObjectSerializer | |
| private volatile boolean | |
| private String | |
| private HashMap | |
| private SmallLRUCache | |
| private SessionLocal | |
| private final LobStorageInterface | |
| private final Object | |
| private FileLock | |
| private int | |
| private final Schema | |
| private int | |
| private int | |
| private int | |
| private final Table | |
| private static final ThreadLocal | |
| private static final ThreadLocal | |
| private static final ThreadLocal | |
| private final Index | |
| private Mode | |
| private final AtomicLong | |
| private final AtomicLong | |
| private int | |
| private final AtomicInteger | |
| private final BitSet | |
| private boolean | |
| private final int | |
| private final boolean | |
| private final Schema | |
| private int | |
| private final Role | |
| private volatile boolean | |
| private QueryStatisticsData | |
| private int | |
| private boolean | |
| private boolean | |
| private final AtomicLong | remoteSettingsId
Used to trigger the client side to reload some of the settings. |
| private final ConcurrentHashMap | |
| private RowFactory | |
| private final ConcurrentHashMap | |
| private Server | |
| private final ConcurrentHashMap | |
| private volatile boolean | |
| private final Store | |
| private static final String | SYSTEM_USER_NAME
The default name of the system user. |
| private SessionLocal | |
| private final User | |
| private final HashMap | |
| private final TempFileDeleter | |
| private final Trace | |
| private final TraceSystem | |
| private final ConcurrentHashMap | |
| private final Set |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public synchronized void | addDatabaseObject(SessionLocal
the session session, DbObject the object to add obj)Add an object to the database. |
| private void | |
| public void | addSchemaObject(SessionLocal
the session session, SchemaObject the object to add obj)Add a schema object to the database. |
| public int | |
| private void | |
| public void | |
| public void | checkPowerOff()
Implements org. Check if the simulated power failure occurred. |
| private void | |
| public void | checkWritingAllowed()
Implements org. Check if writing is allowed. |
| pack-priv void | |
| private void | close(boolean
true if this method is called from the shutdown
hook fromShutdownHook)Close the database. |
| private synchronized void | |
| private synchronized void | |
| private void | |
| private synchronized void | |
| pack-priv synchronized SessionLocal | Returns: the session, or null if the database is currently closingthe user user, NetworkConnectionInfo the network connection information, or networkConnectionInfo)nullCreate a session for the given user. |
| private SessionLocal | |
| private CreateTableData | |
| public ValueTimestampTimeZone | currentTimestamp()
Implements org. Returns the current timestamp with maximum resolution. |
| public TimeZoneProvider | currentTimeZone()
Implements org. Returns the current time zone. |
| private void | |
| public boolean | Returns: true if they matchthe first identifier a, String the second identifier b)Compare two identifiers (table names, column names,...) and verify they are equal. |
| public void | exceptionThrown(SQLException
the exception e, String the SQL statement sql)This method is called after an exception occurred, to inform the database event listener (if one is set). |
| private void | |
| private void | |
| public Comment | Returns: the comment or nullthe database object object)Get the comment for the given database object if one exists, or null if not. |
| public Role | |
| public Schema | Returns: the schema or nullthe name of the schema schemaName)Get the schema if it exists, or null if not. |
| public Setting | Returns: the setting or nullthe name of the setting name)Get the setting if it exists, or null if not. |
| public User | |
| public RightOwner | Returns: the user, the role, ornullthe name of the user or role name)Get the user or role if it exists, or |
| public synchronized void | |
| public ArrayList | |
| public int | |
| public ArrayList | |
| public Collection | |
| public Collection | |
| public Collection | |
| public ArrayList | |
| public ArrayList | |
| public Collection | |
| public Authenticator | |
| public Throwable | |
| public String | |
| public String | |
| public CompareMode | |
| public SourceCompiler | |
| public String | |
| public DefaultNullOrdering | |
| public int | |
| public Table | Returns: the first dependent table, or nullthe object to find obj, Table the table to exclude (or null) except)Get the first table that depends on this object. |
| public SessionLocal | |
| public Table | Returns: the table or null if no table is definedGet the first user defined table, excluding the LOB_BLOCKS table that the Recover tool creates. |
| public boolean | |
| public boolean | |
| public ArrayList | |
| public JavaObjectSerializer | getJavaObjectSerializer()
Implements org. Returns the custom Java object serializer, or |
| public TableLinkConnection | Returns: the connectionthe database driver or null driver, String the database URL url, String the user name user, String the password password)Open a new connection or get an existing connection to another database. |
| public SmallLRUCache | getLobFileListCache()
Implements org. Get the lob file list cache if it is used. |
| public SessionLocal | |
| public LobStorageInterface | getLobStorage()
Implements org. Get the lob storage mechanism to use. |
| public Object | getLobSyncObject()
Implements org. Get the synchronization object for lob operations. |
| public int | |
| public int | |
| public Schema | |
| private ConcurrentHashMap | |
| public int | getMaxLengthInplaceLob()
Implements org. Get the maximum length of a in-place large object |
| public int | |
| public int | |
| public Mode | |
| public long | |
| public long | |
| public String | |
| public long | |
| public long | |
| public long | |
| public boolean | |
| public int | |
| public int | |
| public Role | |
| public boolean | |
| public QueryStatisticsData | |
| public boolean | |
| public long | |
| public int | |
| public RowFactory | |
| public Schema | |
| public int | |
| public SessionLocal[] | Returns: the list of sessionsif the system session should also be
included includingSystemSession)Get all sessions that are currently connected to the database. |
| public DbSettings | |
| public String | |
| public Store | |
| public SessionLocal | |
| public User | |
| public TableEngine | Returns: the classthe table engine name tableEngine)Get the table engine class, loading it if needed. |
| public TempFileDeleter | getTempFileDeleter()
Implements org. Get the temp file deleter mechanism. |
| public String | Returns: a unique namethe prefix of the returned name baseName, SessionLocal the session session)Get a unique temporary table name. |
| public Trace | Returns: the trace objectthe module id moduleId)Get the trace object for the given module id. |
| public TraceSystem | |
| public User | |
| public int | |
| private void | |
| public boolean | |
| public boolean | Returns: true if the database is closingCheck if the database is in the process of closing. |
| public boolean | Returns: true if it is disk-based, false if it is in-memory only.Check if this database is disk-based. |
| public boolean | |
| public boolean | Returns: true if the database is still startingCheck if the database is currently opening. |
| public boolean | Returns: true if it is currently lockedChecks if the system table (containing the catalog) is locked. |
| public boolean | Returns: true if it is currently lockedthe session session)Checks if the system table (containing the catalog) is locked by the given session. |
| private static boolean | |
| pack-priv boolean | |
| public boolean | Returns: whether it was already locked before by this sessionthe session session)Lock the metadata table for updates. |
| private void | |
| public < the value type V> ConcurrentHashMap | |
| public < the value type V> HashMap | |
| public < the value type V> HashMap | |
| pack-priv void | |
| pack-priv void | |
| public FileStore | openFile(String
the file name name, String the mode openMode, boolean whether the file must already exist mustExist)Implements org. Open a file at the given location. |
| private String | |
| pack-priv synchronized void | prepareCommit(SessionLocal
the session session, String the name of the transaction transaction)Prepare a transaction. |
| public int | readLob(long
the lob id lobId, byte[] the message authentication code hmac, long the offset within the lob offset, byte[] the target buffer buff, int the offset within the target buffer off, int the number of bytes to read length)Implements org. Read from a lob. |
| private void | |
| public void | |
| public synchronized void | removeDatabaseObject(SessionLocal
the session session, DbObject the object to remove obj)Remove the object from the database. |
| public void | removeMeta(SessionLocal
the session session, int the id of the object to remove id)Remove the given object from the meta data. |
| public void | removeSchemaObject(SessionLocal
the session session, SchemaObject the object to be removed obj)Remove an object from the system table. |
| public synchronized void | |
| public synchronized void | renameDatabaseObject(SessionLocal
the session session, DbObject the object obj, String the new name newName)Rename a database object. |
| public synchronized void | renameSchemaObject(SessionLocal
the session session, SchemaObject the object obj, String the new name newName)Rename a schema object. |
| public void | |
| public void | |
| public void | setAuthenticator(Authenticator
= authenticator to set, null to revert to the Internal
authenticator authenticator)Set current database authenticator |
| public void | |
| public synchronized void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public synchronized void | |
| public void | |
| public void | |
| public boolean | Returns: true if success or if database is in exclusive mode set by this session already, false otherwisethe session session, boolean whether other sessions are closed closeOthers)Set the session that can exclusively access the database. |
| public void | |
| public void | |
| public static void | |
| public void | |
| public void | |
| public synchronized void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | setProgress(int
the state, String DatabaseEventListener statethe object name name, long the current position x, long the highest value or 0 if unknown max)Set the progress of a long running operation. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| private void | |
| private void | |
| public synchronized void | |
| public String | Returns: identifier in upper or lower caseidentifier in the upper case upperName)Returns identifier in upper or lower case depending on database settings. |
| pack-priv void | throwLastBackgroundException()
If there is a background store thread, and if there wasn an exception in that thread, throw it now. |
| public String | |
| public void | |
| pack-priv static void | unlockMetaDebug(SessionLocal
the session session)This method doesn't actually unlock the metadata table, all it does it reset the debugging flags. |
| public boolean | Returns: true if success or if database is in non-exclusive mode already, false otherwisethe session session)Stop exclusive access the database by provided session. |
| public void | updateMeta(SessionLocal
the session session, DbObject the database object obj)Update an object in the system table. |
| private synchronized void | |
| pack-priv boolean | Returns: true if the cipher algorithm and the password matchthe cipher algorithm testCipher, byte[] the hash code testHash)Check if the file password hash is correct. |
| public void | |
| public boolean | zeroBasedEnums()
Implements org. Returns are ENUM values 0-based. |