|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.cdo.server.db.CDODBUtil
Various static methods that may help in setting up and dealing with DB stores
.
Field Summary | |
---|---|
static int |
DEFAULT_STATEMENT_CACHE_CAPACITY
|
static String |
EXT_POINT_MAPPING_STRATEGIES
|
static String |
PROP_COPY_ON_BRANCH
|
static String |
PROP_WITH_RANGES
|
static String |
PROP_ZEROBASED_INDEX
|
Method Summary | |
---|---|
static IMappingStrategy |
createHorizontalMappingStrategy()
Creates a horizontal mapping strategy that supports all valid combinations of auditing and
branching. |
static IMappingStrategy |
createHorizontalMappingStrategy(boolean auditing)
|
static IMappingStrategy |
createHorizontalMappingStrategy(boolean auditing,
boolean branching)
|
static IMappingStrategy |
createHorizontalMappingStrategy(boolean auditing,
boolean branching,
boolean withRanges)
|
static IMappingStrategy |
createMappingStrategy(String type)
Can only be used when Eclipse is running. |
static IPreparedStatementCache |
createStatementCache()
Creates a prepared statement cache with the default capacity . |
static IPreparedStatementCache |
createStatementCache(int capacity)
Creates a prepared statement cache with the given capacity. |
static IDBStore |
createStore(IMappingStrategy mappingStrategy,
IDBAdapter dbAdapter,
IDBConnectionProvider dbConnectionProvider)
|
static void |
prepareContainer(IManagedContainer container)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int DEFAULT_STATEMENT_CACHE_CAPACITY
public static final String EXT_POINT_MAPPING_STRATEGIES
public static final String PROP_WITH_RANGES
public static final String PROP_COPY_ON_BRANCH
public static final String PROP_ZEROBASED_INDEX
Method Detail |
---|
public static void prepareContainer(IManagedContainer container)
public static IDBStore createStore(IMappingStrategy mappingStrategy, IDBAdapter dbAdapter, IDBConnectionProvider dbConnectionProvider)
public static IMappingStrategy createHorizontalMappingStrategy(boolean auditing)
public static IMappingStrategy createHorizontalMappingStrategy(boolean auditing, boolean branching)
public static IMappingStrategy createHorizontalMappingStrategy(boolean auditing, boolean branching, boolean withRanges)
public static IMappingStrategy createHorizontalMappingStrategy()
mapping strategy
that supports all valid combinations of auditing and
branching.
public static IMappingStrategy createMappingStrategy(String type)
createHorizontalMappingStrategy(boolean)
,
createHorizontalMappingStrategy(boolean, boolean)
public static IPreparedStatementCache createStatementCache()
default capacity
.
createStatementCache(int)
public static IPreparedStatementCache createStatementCache(int capacity)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |