org.eclipse.emf.cdo.server.db
Interface IIDHandler
- All Superinterfaces:
- Comparator<CDOID>
- public interface IIDHandler
- extends Comparator<CDOID>
Abstracts the handling of IDs
of different ID types
.
- Since:
- 4.0
- No Implement
- This interface is not intended to be implemented by clients.
- No Extend
- This interface is not intended to be extended by clients.
Method Summary |
void |
adjustLastObjectID(CDOID maxID)
|
void |
appendCDOID(StringBuilder builder,
CDOID id)
|
CDOID |
createCDOID(String val)
|
CDOID |
getCDOID(ResultSet resultSet,
int column)
|
CDOID |
getCDOID(ResultSet resultSet,
String name)
|
DBType |
getDBType()
|
CDOID |
getLastObjectID()
|
CDOID |
getMaxCDOID()
|
CDOID |
getMinCDOID()
|
CDOID |
getNextCDOID(CDORevision revision)
|
CDOID |
getNextLocalObjectID()
|
Set<CDOID.ObjectType> |
getObjectIDTypes()
|
ITypeMapping |
getObjectTypeMapping()
|
IDBStore |
getStore()
|
boolean |
isLocalCDOID(CDOID id)
|
CDOID |
mapURI(IDBStoreAccessor accessor,
String uri,
long commitTime)
|
void |
rawExport(Connection connection,
CDODataOutput out,
long fromCommitTime,
long toCommitTime)
|
void |
rawImport(Connection connection,
CDODataInput in,
long fromCommitTime,
long toCommitTime,
OMMonitor fork)
|
void |
setCDOID(PreparedStatement stmt,
int column,
CDOID id)
|
void |
setCDOID(PreparedStatement stmt,
int column,
CDOID id,
long commitTime)
|
void |
setCDOIDRaw(PreparedStatement stmt,
int column,
Object id)
|
void |
setLastObjectID(CDOID lastObjectID)
|
void |
setNextLocalObjectID(CDOID nextLocalObjectID)
|
String |
unmapURI(IDBStoreAccessor accessor,
CDOID id)
|
getStore
IDBStore getStore()
getDBType
DBType getDBType()
getObjectIDTypes
Set<CDOID.ObjectType> getObjectIDTypes()
getObjectTypeMapping
ITypeMapping getObjectTypeMapping()
createCDOID
CDOID createCDOID(String val)
isLocalCDOID
boolean isLocalCDOID(CDOID id)
getLastObjectID
CDOID getLastObjectID()
setLastObjectID
void setLastObjectID(CDOID lastObjectID)
adjustLastObjectID
void adjustLastObjectID(CDOID maxID)
- Since:
- 4.1
getNextLocalObjectID
CDOID getNextLocalObjectID()
setNextLocalObjectID
void setNextLocalObjectID(CDOID nextLocalObjectID)
getNextCDOID
CDOID getNextCDOID(CDORevision revision)
appendCDOID
void appendCDOID(StringBuilder builder,
CDOID id)
setCDOIDRaw
void setCDOIDRaw(PreparedStatement stmt,
int column,
Object id)
throws SQLException
- Throws:
SQLException
- Since:
- 4.1
setCDOID
void setCDOID(PreparedStatement stmt,
int column,
CDOID id)
throws SQLException
- Throws:
SQLException
setCDOID
void setCDOID(PreparedStatement stmt,
int column,
CDOID id,
long commitTime)
throws SQLException
- Throws:
SQLException
getCDOID
CDOID getCDOID(ResultSet resultSet,
int column)
throws SQLException
- Throws:
SQLException
getCDOID
CDOID getCDOID(ResultSet resultSet,
String name)
throws SQLException
- Throws:
SQLException
getMinCDOID
CDOID getMinCDOID()
getMaxCDOID
CDOID getMaxCDOID()
mapURI
CDOID mapURI(IDBStoreAccessor accessor,
String uri,
long commitTime)
unmapURI
String unmapURI(IDBStoreAccessor accessor,
CDOID id)
rawExport
void rawExport(Connection connection,
CDODataOutput out,
long fromCommitTime,
long toCommitTime)
throws IOException
- Throws:
IOException
rawImport
void rawImport(Connection connection,
CDODataInput in,
long fromCommitTime,
long toCommitTime,
OMMonitor fork)
throws IOException
- Throws:
IOException
Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.