Class ShadowPartitionManager
java.lang.Object
com.evolveum.midpoint.repo.sqale.qmodel.shadow.ShadowPartitionManager
- All Implemented Interfaces:
PartitionManager<MShadow>
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
createMissingPartitions
(OperationResult parentResult) Analyze existing records,creates partitions for them and migrates them from default partitions to specific partition.void
ensurePartitionExists
(MShadow row, JdbcSession jdbcSession) Ensures that partition for particular row exists (creates partition if it missing)getResourceTable
(UUID newResourceOid) boolean
void
setPartitionCreationOnAdd
(boolean value) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
setPartitionCreationOnAdd
in interfacePartitionManager<MShadow>
-
isPartitionCreationOnAdd
public boolean isPartitionCreationOnAdd()- Specified by:
isPartitionCreationOnAdd
in interfacePartitionManager<MShadow>
-
ensurePartitionExists
Description copied from interface:PartitionManager
Ensures that partition for particular row exists (creates partition if it missing)- Specified by:
ensurePartitionExists
in 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:PartitionManager
Analyze existing records,creates partitions for them and migrates them from default partitions to specific partition.- Specified by:
createMissingPartitions
in interfacePartitionManager<MShadow>
-