| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultPkFactory.InitializationPKCounterGenerator
In-Memory PK counter generator for
DMLRecordFactory. |
| Constructor and Description |
|---|
DefaultPkFactory(java.lang.Iterable<NumberSeries> currentNumberSeries,
int clusterId) |
| Modifier and Type | Method and Description |
|---|---|
PK |
createNewPK(int tc) |
PK |
createNewPK(YComposedType type) |
java.util.Map<java.lang.String,java.lang.Long> |
getCurrentNumberSeries() |
protected java.lang.String |
getKey(YEnumValue yEnumValue) |
PK |
getOrCreatePK(YAtomicType yAtomicType) |
PK |
getOrCreatePK(YCollectionType yCollectionType) |
PK |
getOrCreatePK(YComposedType yComposedType) |
PK |
getOrCreatePK(YComposedType yComposedType,
YAttributeDescriptor yAttributeDescriptor) |
PK |
getOrCreatePK(YEnumValue yEnumValue) |
PK |
getOrCreatePK(YMapType yMapType) |
public DefaultPkFactory(java.lang.Iterable<NumberSeries> currentNumberSeries, int clusterId)
public java.util.Map<java.lang.String,java.lang.Long> getCurrentNumberSeries()
getCurrentNumberSeries in interface PkFactorypublic PK createNewPK(int tc)
createNewPK in interface PkFactorypublic PK createNewPK(YComposedType type)
createNewPK in interface PkFactorypublic PK getOrCreatePK(YComposedType yComposedType, YAttributeDescriptor yAttributeDescriptor)
getOrCreatePK in interface PkFactorypublic PK getOrCreatePK(YComposedType yComposedType)
getOrCreatePK in interface PkFactorypublic PK getOrCreatePK(YEnumValue yEnumValue)
getOrCreatePK in interface PkFactoryprotected java.lang.String getKey(YEnumValue yEnumValue)
public PK getOrCreatePK(YAtomicType yAtomicType)
getOrCreatePK in interface PkFactorypublic PK getOrCreatePK(YMapType yMapType)
getOrCreatePK in interface PkFactorypublic PK getOrCreatePK(YCollectionType yCollectionType)
getOrCreatePK in interface PkFactoryCopyright © 2018 SAP SE. All Rights Reserved.