Package org.eclipse.emf.cdo.server.db
Interface IIDHandler
- All Superinterfaces:
Comparator<CDOID>,org.eclipse.net4j.db.dml.SQLValueSetter<CDOID>
public interface IIDHandler
extends Comparator<CDOID>, org.eclipse.net4j.db.dml.SQLValueSetter<CDOID>
- Since:
- 4.0
- Author:
- Eike Stepper
- No Implement
- This interface is not intended to be implemented by clients.
- No Extend
- This interface is not intended to be extended by clients.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidadjustLastObjectID(CDOID maxID) voidappendCDOID(StringBuilder builder, CDOID id) createCDOID(String val) booleandeleteURIMapping(Statement statement, String uri) org.eclipse.net4j.db.DBTypegetNextCDOID(CDORevision revision) getStore()getStringValue(ResultSet resultSet, int column) booleanisLocalCDOID(CDOID id) Deprecated.Not used anymore.mapURI(IDBStoreAccessor accessor, String uri, long commitTime) voidrawExport(Connection connection, CDODataOutput out, long fromCommitTime, long toCommitTime) voidrawImport(Connection connection, CDODataInput in, long fromCommitTime, long toCommitTime, org.eclipse.net4j.util.om.monitor.OMMonitor fork) voidsetCDOID(PreparedStatement stmt, int column, CDOID id) voidsetCDOID(PreparedStatement stmt, int column, CDOID id, long commitTime) voidsetCDOIDRaw(PreparedStatement stmt, int column, Object id) voidsetLastObjectID(CDOID lastObjectID) voidsetNextLocalObjectID(CDOID nextLocalObjectID) default voidsetValue(PreparedStatement stmt, int index, CDOID id) Binds a CDOID through the established ID conversion logic.unmapURI(IDBStoreAccessor accessor, CDOID id) Methods inherited from interface java.util.Comparator
compare, equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Field Details
-
NULL_STRING
- Since:
- 4.14
- See Also:
-
-
Method Details
-
getStore
IDBStore getStore() -
getDBType
org.eclipse.net4j.db.DBType getDBType() -
getObjectIDTypes
Set<CDOID.ObjectType> getObjectIDTypes() -
getObjectTypeMapping
ITypeMapping getObjectTypeMapping() -
createCDOID
-
isLocalCDOID
Deprecated.Not used anymore. -
getLastObjectID
CDOID getLastObjectID() -
setLastObjectID
-
adjustLastObjectID
- Since:
- 4.1
-
getNextLocalObjectID
CDOID getNextLocalObjectID() -
setNextLocalObjectID
-
getNextCDOID
-
appendCDOID
-
setCDOIDRaw
- Throws:
SQLException- Since:
- 4.1
-
setCDOID
- Throws:
SQLException
-
setCDOID
- Throws:
SQLException
-
getCDOID
- Throws:
SQLException
-
getCDOID
- Throws:
SQLException
-
getStringValue
- Throws:
SQLException- Since:
- 4.14
-
getMinCDOID
CDOID getMinCDOID() -
getMaxCDOID
CDOID getMaxCDOID() -
setValue
Binds a CDOID through the established ID conversion logic.- Specified by:
setValuein interfaceorg.eclipse.net4j.db.dml.SQLValueSetter<CDOID>- Parameters:
stmt- the prepared statement receiving the IDindex- the one-based JDBC parameter positionid- the CDOID to bind- Throws:
SQLException- if the JDBC driver reports a binding failure- Since:
- 4.16
-
mapURI
-
unmapURI
-
deleteURIMapping
- Since:
- 4.14
-
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, org.eclipse.net4j.util.om.monitor.OMMonitor fork) throws IOException - Throws:
IOException
-