Class ShadowPartitionManager
java.lang.Object
com.evolveum.midpoint.repo.sqale.qmodel.shadow.ShadowPartitionManager
- All Implemented Interfaces:
PartitionManager<MShadow>
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateMissingPartitions(OperationResult parentResult) Analyze existing records,creates partitions for them and migrates them from default partitions to specific partition.voidensurePartitionExists(MShadow row, JdbcSession jdbcSession) Ensures that partition for particular row exists (creates partition if it missing)getResourceTable(UUID newResourceOid) booleanvoidsetPartitionCreationOnAdd(boolean value) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.repo.sqale.mapping.PartitionManager
ensurePartitionExistsBeforeAdd
-
Field Details
-
DEFAULT_PARTITION
- See Also:
-
-
Constructor Details
-
ShadowPartitionManager
-
-
Method Details
-
setPartitionCreationOnAdd
public void setPartitionCreationOnAdd(boolean value) - Specified by:
setPartitionCreationOnAddin interfacePartitionManager<MShadow>
-
isPartitionCreationOnAdd
public boolean isPartitionCreationOnAdd()- Specified by:
isPartitionCreationOnAddin interfacePartitionManager<MShadow>
-
ensurePartitionExists
Description copied from interface:PartitionManagerEnsures that partition for particular row exists (creates partition if it missing)- Specified by:
ensurePartitionExistsin interfacePartitionManager<MShadow>- Parameters:
row- row object, which must at least contain all partitioning keys
-
getResourceTable
@VisibleForTesting public ShadowPartitionManager.ResourceTable getResourceTable(UUID newResourceOid) -
createMissingPartitions
Description copied from interface:PartitionManagerAnalyze existing records,creates partitions for them and migrates them from default partitions to specific partition.- Specified by:
createMissingPartitionsin interfacePartitionManager<MShadow>
-