public interface IDBStore extends IStore, IDBConnectionProvider, IStore.CanHandleClientAssignedIDs
| Modifier and Type | Interface and Description |
|---|---|
static interface |
IDBStore.Props
Contains symbolic constants that specifiy valid keys of
DB store properties. |
static interface |
IDBStore.TableVisitor
Called back from
visitAllTables(Connection, TableVisitor) for all tables in the database. |
IStore.CanHandleClientAssignedIDs, IStore.ChangeFormat, IStore.RevisionParallelism, IStore.RevisionTemporality| Modifier and Type | Method and Description |
|---|---|
IDBDatabase |
getDatabase() |
IDBAdapter |
getDBAdapter() |
IDBSchema |
getDBSchema() |
int |
getIDColumnLength() |
IIDHandler |
getIDHandler() |
int |
getJDBCFetchSize() |
IMappingStrategy |
getMappingStrategy() |
IMetaDataManager |
getMetaDataManager()
Get the meta data manager associated with this DBStore.
|
java.util.Map<java.lang.String,java.lang.String> |
getProperties() |
IDBStoreAccessor |
getReader(ISession session)
Returns a reader that can be used to read from this store in the context of the given session.
|
IDBStoreAccessor |
getWriter(ITransaction transaction)
Returns a writer that can be used to write to this store in the context of the given view.
|
void |
visitAllTables(java.sql.Connection connection,
IDBStore.TableVisitor visitor) |
createObjectID, getCreationTime, getIndicatingCommitDistributor, getLastBranchID, getLastCommitTime, getLastLocalBranchID, getLastNonLocalCommitTime, getObjectIDTypes, getPersistentProperties, getRepository, getRevisionParallelism, getRevisionTemporality, getSupportedChangeFormats, getSupportedRevisionParallelisms, getSupportedRevisionTemporalities, getType, isFirstStart, removePersistentProperties, setPersistentPropertiesgetConnectionIMappingStrategy getMappingStrategy()
IIDHandler getIDHandler()
IDBDatabase getDatabase()
IDBAdapter getDBAdapter()
IDBSchema getDBSchema()
int getIDColumnLength()
int getJDBCFetchSize()
java.util.Map<java.lang.String,java.lang.String> getProperties()
void visitAllTables(java.sql.Connection connection,
IDBStore.TableVisitor visitor)
IMetaDataManager getMetaDataManager()
IDBStoreAccessor getReader(ISession session)
IStoregetReader in interface IStoresession - The session that should be used as a context for read access or null. The store implementor
is free to interpret and use the session in a manner suitable for him or ignore it at all. It is meant
only as a hint. Implementor can use it as a key into a cache and/or register a
LifecycleEventAdapter with it to intercept
cleanup on session close. Note however that the session can be null, for example during
startup of the server while the repositories are initialized but before any user session has been opened.null.IDBStoreAccessor getWriter(ITransaction transaction)
IStoregetWriter in interface IStoretransaction - The view that must be used as a context for write access. The store implementor is free to interpret and
use the view in a manner suitable for him or ignore it at all. It is meant only as a hint. Implementor can
use it as a key into a cache and/or register a
LifecycleEventAdapter with it to intercept
cleanup on view close.null.Copyright (c) 2004-2019 Eike Stepper (Loehne, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html