Package org.eclipse.emf.cdo.server.db

# Schnittstelle IIDHandler

Alle Superschnittstellen:
  `Comparator<CDOID>`

public interface IIDHandler extends Comparator<CDOID>
Abstracts the handling of `IDs` of different `ID types`.

Seit:
  4.0
Autor:
  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.

## Methodenübersicht

Modifizierer und Typ
Methode
Beschreibung
`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)`
`org.eclipse.net4j.db.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)`
Veraltet.
Not used anymore.
`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, org.eclipse.net4j.util.om.monitor.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)`

### Von Schnittstelle geerbte Methoden java.util.Comparator

`compare, equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong`

## Methodendetails

### getStore

IDBStore getStore()

### getDBType

org.eclipse.net4j.db.DBType getDBType()

### getObjectIDTypes

Set<CDOID.ObjectType> getObjectIDTypes()

### getObjectTypeMapping

ITypeMapping getObjectTypeMapping()

### createCDOID

CDOID createCDOID(String val)

### isLocalCDOID

@Deprecated boolean isLocalCDOID(CDOID id)
Veraltet.
Not used anymore.

### getLastObjectID

CDOID getLastObjectID()

### setLastObjectID

void setLastObjectID(CDOID lastObjectID)

### adjustLastObjectID

void adjustLastObjectID(CDOID maxID)

Seit:
  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

Löst aus:
  `SQLException`
Seit:
  4.1

### setCDOID

void setCDOID(PreparedStatement stmt, int column, CDOID id) throws SQLException

Löst aus:
  `SQLException`

### setCDOID

void setCDOID(PreparedStatement stmt, int column, CDOID id, long commitTime) throws SQLException

Löst aus:
  `SQLException`

### getCDOID

CDOID getCDOID(ResultSet resultSet, int column) throws SQLException

Löst aus:
  `SQLException`

### getCDOID

CDOID getCDOID(ResultSet resultSet, String name) throws SQLException

Löst aus:
  `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

Löst aus:
  `IOException`

### rawImport

void rawImport(Connection connection, CDODataInput in, long fromCommitTime, long toCommitTime, org.eclipse.net4j.util.om.monitor.OMMonitor fork) throws IOException

Löst aus:
  `IOException`